Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.248/2.248, allocations: 390.3 MB / 405.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 177 kB / 498.1 MB, free: 5.746 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 223.2 MB / 0.7948 GB, free: 17.95 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008953/0.0008955, allocations: 97.48 kB / 0.9346 GB, free: 6.262 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004512/0.0004513, allocations: 11.28 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2653, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1767/0.4421, allocations: 150.1 MB / 1.37 GB, free: 11.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000261/0.4424, allocations: 87.88 kB / 1.37 GB, free: 11.82 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.007619/0.45, allocations: 2.553 MB / 1.372 GB, free: 9.262 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4501, allocations: 0 / 1.372 GB, free: 9.262 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.364e-05/0.4501, allocations: 4 kB / 1.372 GB, free: 9.258 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005766/0.4507, allocations: 444.4 kB / 1.373 GB, free: 8.77 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.4507, allocations: 12.03 kB / 1.373 GB, free: 8.758 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.926e-05/0.4508, allocations: 34.56 kB / 1.373 GB, free: 8.715 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.235e-05/0.4508, allocations: 15.86 kB / 1.373 GB, free: 8.699 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/0.451, allocations: 174.9 kB / 1.373 GB, free: 8.488 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.473e-05/0.451, allocations: 15.94 kB / 1.373 GB, free: 8.473 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.705e-05/0.4511, allocations: 12 kB / 1.373 GB, free: 8.461 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002477/0.4513, allocations: 101.6 kB / 1.373 GB, free: 8.355 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.517e-06/0.4513, allocations: 0 / 1.373 GB, free: 8.355 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.4513, allocations: 4 kB / 1.373 GB, free: 8.352 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.4514, allocations: 4 kB / 1.373 GB, free: 8.348 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002378/0.4516, allocations: 81.27 kB / 1.373 GB, free: 8.27 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007165/0.4523, allocations: 436.4 kB / 1.373 GB, free: 7.793 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001851/0.4525, allocations: 74.55 kB / 1.373 GB, free: 7.711 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.987e-06/0.4525, allocations: 0 / 1.373 GB, free: 7.711 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002411/0.4528, allocations: 91.62 kB / 1.374 GB, free: 7.609 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=8): time 3.246e-06/0.4528, allocations: 3.984 kB / 1.374 GB, free: 7.605 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8): time 0.0004658/0.4533, allocations: 169.7 kB / 1.374 GB, free: 7.434 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.752e-05/0.4533, allocations: 55.39 kB / 1.374 GB, free: 7.367 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.4534, allocations: 125.2 kB / 1.374 GB, free: 7.234 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.4535, allocations: 29.7 kB / 1.374 GB, free: 7.199 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.91e-05/0.4536, allocations: 104 kB / 1.374 GB, free: 7.094 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.756e-05/0.4536, allocations: 23.7 kB / 1.374 GB, free: 7.07 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.183e-05/0.4536, allocations: 0 / 1.374 GB, free: 7.07 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.4537, allocations: 318.8 kB / 1.374 GB, free: 6.75 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001636/0.4539, allocations: 63.95 kB / 1.374 GB, free: 6.688 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001806/0.4541, allocations: 78.53 kB / 1.375 GB, free: 6.602 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001779/0.4543, allocations: 85.72 kB / 1.375 GB, free: 6.512 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.4543, allocations: 3.938 kB / 1.375 GB, free: 6.508 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004393/0.4547, allocations: 203.2 kB / 1.375 GB, free: 6.297 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.746e-05/0.4548, allocations: 45.72 kB / 1.375 GB, free: 6.246 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.4548, allocations: 0 / 1.375 GB, free: 6.246 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.4548, allocations: 7.984 kB / 1.375 GB, free: 6.238 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.4549, allocations: 12 kB / 1.375 GB, free: 6.227 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.4549, allocations: 3.938 kB / 1.375 GB, free: 6.223 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002192/0.4552, allocations: 51.89 kB / 1.375 GB, free: 6.172 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.398e-05/0.4552, allocations: 12 kB / 1.375 GB, free: 6.16 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,$PRE.fanStatus.y,fanStatus.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001072/0.4553, allocations: 117.8 kB / 1.375 GB, free: 6.035 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.561e-05/0.4553, allocations: 11.84 kB / 1.375 GB, free: 6.023 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.849e-05/0.4554, allocations: 16.67 kB / 1.375 GB, free: 6.004 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.4554, allocations: 0 / 1.375 GB, free: 6.004 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.4554, allocations: 0 / 1.375 GB, free: 6.004 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.4554, allocations: 4 kB / 1.375 GB, free: 6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001718/0.4556, allocations: 213.5 kB / 1.375 GB, free: 5.742 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.4556, allocations: 0 / 1.375 GB, free: 5.742 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.894e-05/0.4557, allocations: 15.98 kB / 1.375 GB, free: 5.727 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.4557, allocations: 0 / 1.375 GB, free: 5.727 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.4557, allocations: 0 / 1.375 GB, free: 5.727 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.4557, allocations: 3.953 kB / 1.375 GB, free: 5.723 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.4557, allocations: 0 / 1.375 GB, free: 5.723 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000316/0.456, allocations: 152.9 kB / 1.375 GB, free: 5.555 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.412e-05/0.4561, allocations: 81.11 kB / 1.376 GB, free: 5.457 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.4561, allocations: 0 / 1.376 GB, free: 5.457 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.619e-05/0.4562, allocations: 11.98 kB / 1.376 GB, free: 5.445 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.25e-05/0.4563, allocations: 11.95 kB / 1.376 GB, free: 5.434 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-06/0.4563, allocations: 7.984 kB / 1.376 GB, free: 5.426 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 6.967e-05/0.4563, allocations: 101.5 kB / 1.376 GB, free: 5.328 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.91e-07/0.4563, allocations: 0 / 1.376 GB, free: 5.328 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002349/0.4566, allocations: 35.84 kB / 1.376 GB, free: 5.293 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,fanStatus.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0006394/0.4572, allocations: 0.7058 MB / 1.376 GB, free: 4.559 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003771/0.4576, allocations: 179.3 kB / 1.377 GB, free: 4.371 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4576, allocations: 3.938 kB / 1.377 GB, free: 4.367 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.4578, allocations: 51.91 kB / 1.377 GB, free: 4.316 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001914/0.458, allocations: 24.73 kB / 1.377 GB, free: 4.293 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007617/0.4587, allocations: 0.7409 MB / 1.377 GB, free: 3.492 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000243/0.459, allocations: 0.7004 MB / 1.378 GB, free: 2.766 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 5.049e-05/0.4591, allocations: 11.98 kB / 1.378 GB, free: 2.754 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.05e-05/0.4591, allocations: 23.44 kB / 1.378 GB, free: 2.73 MB / 0.8698 GB Notification: Performance of SimCode: time 2.1e-07/0.4591, allocations: 0 / 1.378 GB, free: 2.73 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01429/0.4734, allocations: 2.516 MB / 1.38 GB, free: 452 kB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002365/0.4737, allocations: 222.1 kB / 1.381 GB, free: 200 kB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.515/1.989, allocations: 0 / 1.381 GB, free: 200 kB / 0.8698 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.mat does not exist to compare? outputFormat=mat