Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_latest_Buildings_Utilities_Comfort_Examples_Fanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_latest_Buildings_Utilities_Comfort_Examples_Fanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001855/0.001855, allocations: 99.7 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002116/0.002116, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.447/2.447, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.299/4.299, allocations: 409.2 MB / 0.6838 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006112/0.0006112, allocations: 11.98 kB / 0.8375 GB, free: 6.535 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.272/1.272, allocations: 146.8 MB / 0.9808 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.00362/1.276, allocations: 1.873 MB / 0.9827 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.2325/1.509, allocations: 128.3 MB / 1.108 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002822/1.509, allocations: 3.938 kB / 1.108 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001961/1.509, allocations: 27.78 kB / 1.108 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000456/1.51, allocations: 111.6 kB / 1.108 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009233/1.511, allocations: 255.3 kB / 1.108 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004757/1.511, allocations: 268.6 kB / 1.109 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002342/1.511, allocations: 82.02 kB / 1.109 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004322/1.512, allocations: 175.6 kB / 1.109 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003084/1.512, allocations: 155.3 kB / 1.109 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.57e-05/1.512, allocations: 12 kB / 1.109 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006663/1.513, allocations: 271.6 kB / 1.109 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.249e-05/1.513, allocations: 55.8 kB / 1.109 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.593e-05/1.513, allocations: 77.52 kB / 1.109 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005425/1.514, allocations: 337.4 kB / 1.11 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/1.514, allocations: 0 / 1.11 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.144e-06/1.514, allocations: 0 / 1.11 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.053e-06/1.514, allocations: 0 / 1.11 GB, free: 1.906 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001687/1.515, allocations: 0.6549 MB / 1.11 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.462e-05/1.515, allocations: 12.03 kB / 1.11 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001636/1.515, allocations: 58.55 kB / 1.11 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003519/1.519, allocations: 255.3 kB / 1.111 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005628/1.52, allocations: 299.3 kB / 1.111 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.478e-05/1.52, allocations: 20.56 kB / 1.111 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.401e-05/1.52, allocations: 24 kB / 1.111 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001811/1.522, allocations: 432.5 kB / 1.111 GB, free: 72 kB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/1.522, allocations: 0 / 1.111 GB, free: 72 kB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.04e-05/1.522, allocations: 8 kB / 1.111 GB, free: 64 kB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/1.522, allocations: 8 kB / 1.111 GB, free: 56 kB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00292/1.525, allocations: 0.5329 MB / 1.112 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003994/1.529, allocations: 1.147 MB / 1.113 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00293/1.532, allocations: 462.4 kB / 1.114 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 5.319e-05/1.532, allocations: 8.375 kB / 1.114 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.803e-05/1.532, allocations: 42.48 kB / 1.114 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=25): time 2.916e-06/1.532, allocations: 4 kB / 1.114 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of matching and sorting (n=25): time 0.01968/1.551, allocations: 1.71 MB / 1.115 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.366e-05/1.552, allocations: 59.28 kB / 1.115 GB, free: 11.97 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005063/1.552, allocations: 304.5 kB / 1.116 GB, free: 11.67 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001057/1.552, allocations: 29.7 kB / 1.116 GB, free: 11.63 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001948/1.552, allocations: 168.2 kB / 1.116 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001532/1.553, allocations: 86.75 kB / 1.116 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.163e-05/1.553, allocations: 4 kB / 1.116 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002326/1.553, allocations: 350.8 kB / 1.116 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001336/1.554, allocations: 196.4 kB / 1.116 GB, free: 10.83 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001416/1.556, allocations: 259 kB / 1.117 GB, free: 10.56 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001364/1.557, allocations: 219.9 kB / 1.117 GB, free: 10.34 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/1.557, allocations: 3.938 kB / 1.117 GB, free: 10.34 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.008644/1.566, allocations: 0.9048 MB / 1.118 GB, free: 9.422 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.501e-05/1.566, allocations: 4 kB / 1.118 GB, free: 9.418 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/1.566, allocations: 4 kB / 1.118 GB, free: 9.414 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002385/1.568, allocations: 277.4 kB / 1.118 GB, free: 9.137 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007272/1.569, allocations: 67.88 kB / 1.118 GB, free: 9.07 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01803/1.587, allocations: 3.869 MB / 1.122 GB, free: 4.934 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001154/1.588, allocations: 83.5 kB / 1.122 GB, free: 4.852 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.918e-05/1.588, allocations: 19.97 kB / 1.122 GB, free: 4.832 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002818/1.589, allocations: 137.8 kB / 1.122 GB, free: 4.688 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/1.589, allocations: 31.62 kB / 1.122 GB, free: 4.656 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009163/1.598, allocations: 0.9495 MB / 1.123 GB, free: 3.699 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-05/1.598, allocations: 4 kB / 1.123 GB, free: 3.695 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/1.598, allocations: 0 / 1.123 GB, free: 3.695 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/1.598, allocations: 0 / 1.123 GB, free: 3.695 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008719/1.599, allocations: 428.9 kB / 1.123 GB, free: 3.227 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/1.599, allocations: 0 / 1.123 GB, free: 3.227 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000537/1.599, allocations: 59.94 kB / 1.124 GB, free: 3.168 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002289/1.602, allocations: 273.4 kB / 1.124 GB, free: 2.895 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.127e-05/1.602, allocations: 27.91 kB / 1.124 GB, free: 2.867 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01898/1.621, allocations: 3.852 MB / 1.128 GB, free: 14.74 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/1.621, allocations: 0 / 1.128 GB, free: 14.74 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01052/1.631, allocations: 0.9494 MB / 1.128 GB, free: 13.77 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003282/1.632, allocations: 116.6 kB / 1.129 GB, free: 13.63 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001886/1.632, allocations: 4 kB / 1.129 GB, free: 13.63 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001121/1.633, allocations: 47.95 kB / 1.129 GB, free: 13.58 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/1.633, allocations: 19.97 kB / 1.129 GB, free: 13.56 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.961e-05/1.633, allocations: 19.97 kB / 1.129 GB, free: 13.54 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004205/1.634, allocations: 227 kB / 1.129 GB, free: 13.32 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.91e-07/1.634, allocations: 0 / 1.129 GB, free: 13.32 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001145/1.635, allocations: 112 kB / 1.129 GB, free: 13.21 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01113/1.646, allocations: 1.517 MB / 1.131 GB, free: 11.67 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.004209/1.65, allocations: 0.7273 MB / 1.131 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/1.65, allocations: 0 / 1.131 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.002319/1.653, allocations: 0.5089 MB / 1.132 GB, free: 10.38 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009989/1.654, allocations: 102.3 kB / 1.132 GB, free: 10.28 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01784/1.672, allocations: 2.915 MB / 1.135 GB, free: 7.309 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005669/1.672, allocations: 0.7764 MB / 1.135 GB, free: 6.508 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0009229/1.673, allocations: 74.88 kB / 1.135 GB, free: 6.43 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003193/1.673, allocations: 103.4 kB / 1.136 GB, free: 6.328 MB / 0.8887 GB Notification: Performance of SimCode: time 1.102e-06/1.673, allocations: 4 kB / 1.136 GB, free: 6.324 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.287/2.96, allocations: 15.65 MB / 1.151 GB, free: 6.879 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003303/2.96, allocations: 209.8 kB / 1.151 GB, free: 6.637 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.768/6.729, allocations: 0 / 1.151 GB, free: 6.637 MB / 0.9044 GB (rm -f Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Comfort_Examples_Fanger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Comfort_Examples_Fanger.fmu > Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger_res.mat does not exist to compare? outputFormat=mat