Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",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.001325/0.001325, allocations: 98.53 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.001651/0.001651, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 223.2 MB / 239.9 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.584/2.584, allocations: 390.3 MB / 0.6653 GB, free: 2.98 MB / 0.5138 GB Notification: Performance of FrontEnd - loaded program: time 0.0003346/0.0003346, allocations: 8 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8418/0.8421, allocations: 142.3 MB / 0.9536 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.001981/0.8441, allocations: 1.221 MB / 0.9548 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001761/0.8443, allocations: 32.98 kB / 0.9548 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.795e-05/0.8444, allocations: 1.344 kB / 0.9548 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001387/0.8446, allocations: 13.14 kB / 0.9548 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.084e-05/0.8446, allocations: 5.484 kB / 0.9548 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001163/0.8448, allocations: 14.23 kB / 0.9549 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.408e-05/0.8449, allocations: 35.39 kB / 0.9549 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.845, allocations: 34.3 kB / 0.9549 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.277e-05/0.8451, allocations: 15.33 kB / 0.9549 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.064e-05/0.8451, allocations: 19.3 kB / 0.955 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.8452, allocations: 1.125 kB / 0.955 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.224e-05/0.8452, allocations: 1.062 kB / 0.955 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.753e-05/0.8452, allocations: 21.56 kB / 0.955 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.073e-05/0.8453, allocations: 29.86 kB / 0.955 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.441e-05/0.8454, allocations: 38.22 kB / 0.955 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.8454, allocations: 0 / 0.955 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.954e-06/0.8454, allocations: 0 / 0.955 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.8454, allocations: 0 / 0.955 GB, free: 6.969 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003324/0.8457, allocations: 362.6 kB / 0.9554 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.8458, allocations: 9.281 kB / 0.9554 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.529e-05/0.8458, allocations: 33.22 kB / 0.9554 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.061e-05/0.8459, allocations: 12.19 kB / 0.9554 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.846, allocations: 178.6 kB / 0.9556 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.8461, allocations: 11.47 kB / 0.9556 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.8461, allocations: 4.469 kB / 0.9556 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.8462, allocations: 97.44 kB / 0.9557 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.8463, allocations: 0 / 0.9557 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.8463, allocations: 5.141 kB / 0.9557 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.8463, allocations: 1.969 kB / 0.9557 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.021e-05/0.8464, allocations: 45.55 kB / 0.9558 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005344/0.8469, allocations: 0.6455 MB / 0.9564 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.779e-05/0.847, allocations: 170.3 kB / 0.9566 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.601e-05/0.847, allocations: 87.31 kB / 0.9566 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.847, allocations: 115 kB / 0.9568 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.8471, allocations: 0 / 0.9568 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 8.053e-05/0.8471, allocations: 38.45 kB / 0.9568 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.907e-05/0.8472, allocations: 126.7 kB / 0.9569 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.8474, allocations: 168.4 kB / 0.9571 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.074e-06/0.8474, allocations: 25.7 kB / 0.9571 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.344e-05/0.8474, allocations: 112.4 kB / 0.9572 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.557e-06/0.8474, allocations: 0 / 0.9572 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.886e-06/0.8475, allocations: 0 / 0.9572 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.251e-05/0.8475, allocations: 317.7 kB / 0.9575 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.591e-05/0.8475, allocations: 6.953 kB / 0.9575 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.769e-05/0.8476, allocations: 21.45 kB / 0.9575 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.96e-05/0.8476, allocations: 8.438 kB / 0.9575 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.8476, allocations: 0 / 0.9575 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001304/0.8477, allocations: 61.41 kB / 0.9576 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.8478, allocations: 10 kB / 0.9576 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.8478, allocations: 0 / 0.9576 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.8478, allocations: 1.281 kB / 0.9576 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.72e-05/0.8479, allocations: 9.25 kB / 0.9576 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.8479, allocations: 1.062 kB / 0.9576 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.061e-05/0.8479, allocations: 10.31 kB / 0.9576 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.8479, allocations: 9.406 kB / 0.9576 GB, free: 4.277 MB / 0.7169 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 (3): * Single equations (assignments): 3 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.879e-05/0.848, allocations: 194.2 kB / 0.9578 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.042e-05/0.8481, allocations: 108.4 kB / 0.9579 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.647e-05/0.8481, allocations: 116.9 kB / 0.958 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.579e-05/0.8481, allocations: 181.4 kB / 0.9582 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.048e-05/0.8482, allocations: 190.7 kB / 0.9584 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-05/0.8482, allocations: 177.3 kB / 0.9586 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.8484, allocations: 426.8 kB / 0.959 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.786e-05/0.8484, allocations: 106.4 kB / 0.9591 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.474e-05/0.8484, allocations: 101 kB / 0.9592 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-05/0.8485, allocations: 181.5 kB / 0.9593 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.882e-05/0.8485, allocations: 181.4 kB / 0.9595 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.028e-05/0.8485, allocations: 181.6 kB / 0.9597 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-05/0.8486, allocations: 184.2 kB / 0.9599 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.03e-05/0.8486, allocations: 314.7 kB / 0.9602 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.489e-05/0.8487, allocations: 196.6 kB / 0.9604 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.665e-05/0.8487, allocations: 177.9 kB / 0.9605 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.343e-05/0.8488, allocations: 109 kB / 0.9606 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.149e-05/0.8488, allocations: 178.4 kB / 0.9608 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.8489, allocations: 108.9 kB / 0.9609 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.431e-05/0.849, allocations: 130.9 kB / 0.961 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.849, allocations: 4 kB / 0.961 GB, free: 0.6523 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002193/0.8492, allocations: 6.969 kB / 0.961 GB, free: 0.6523 MB / 0.7169 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 (0): * Single equations (assignments): 0 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003045/0.8495, allocations: 0.8043 MB / 0.9618 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 7.36e-05/0.8496, allocations: 14.91 kB / 0.9618 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.8496, allocations: 4.062 kB / 0.9618 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.826e-06/0.8496, allocations: 1.406 kB / 0.9618 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.8499, allocations: 0.5238 MB / 0.9624 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.851, allocations: 0.9332 MB / 0.9633 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003145/0.8514, allocations: 0.7004 MB / 0.9639 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.118e-05/0.8514, allocations: 2.719 kB / 0.964 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.699e-05/0.8514, allocations: 22.86 kB / 0.964 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of SimCode: time 1.833e-06/0.8514, allocations: 0 / 0.964 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01289/0.8643, allocations: 1.45 MB / 0.9654 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002011/0.8646, allocations: 194.8 kB / 0.9656 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.788/2.653, allocations: 1.375 kB / 0.9656 GB, free: 12.83 MB / 0.7325 GB (rm -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat --tempDir=temp_Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.fmu > Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat does not exist to compare? outputFormat=mat