Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.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_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_OutsideAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_OutsideAirFlow",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.521/2.521, allocations: 387.1 MB / 399.7 MB, free: 9.492 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.0009553/0.0009553, allocations: 172.9 kB / 492.3 MB, free: 0.625 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.47/1.47, allocations: 221.3 MB / 0.7871 GB, free: 12.96 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.0009241/0.000924, allocations: 108.5 kB / 0.9267 GB, free: 14.03 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.019e-05/4.03e-05, allocations: 4 kB / 1.074 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3164, allocations: 142.4 MB / 1.213 GB, free: 38.35 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.117/1.433, allocations: 150.4 MB / 1.359 GB, free: 19.1 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002786/1.433, allocations: 81.05 kB / 1.36 GB, free: 19.1 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01334/1.447, allocations: 5.536 MB / 1.365 GB, free: 34.45 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.936e-06/1.447, allocations: 0 / 1.365 GB, free: 34.45 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.038e-05/1.447, allocations: 11.66 kB / 1.365 GB, free: 34.44 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.0008224/1.448, allocations: 0.6295 MB / 1.366 GB, free: 34 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/1.448, allocations: 14.64 kB / 1.366 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.909e-05/1.448, allocations: 75.67 kB / 1.366 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.959e-05/1.448, allocations: 58.28 kB / 1.366 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000355/1.448, allocations: 311.3 kB / 1.366 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.538e-05/1.448, allocations: 33.98 kB / 1.366 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.898e-05/1.448, allocations: 43.81 kB / 1.366 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000511/1.449, allocations: 335.3 kB / 1.366 GB, free: 33.63 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/1.449, allocations: 4 kB / 1.366 GB, free: 33.63 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.351e-05/1.449, allocations: 17.56 kB / 1.366 GB, free: 33.63 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/1.449, allocations: 11.53 kB / 1.366 GB, free: 33.63 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003725/1.449, allocations: 241.4 kB / 1.367 GB, free: 33.63 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001685/1.451, allocations: 1.238 MB / 1.368 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005665/1.452, allocations: 290.4 kB / 1.368 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/1.452, allocations: 71.86 kB / 1.368 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/1.452, allocations: 3.969 kB / 1.368 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.607e-05/1.452, allocations: 34.47 kB / 1.368 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=17): time 1.382e-06/1.452, allocations: 0 / 1.368 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of matching and sorting (n=17): time 0.0003086/1.452, allocations: 164.2 kB / 1.368 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/1.452, allocations: 54.73 kB / 1.368 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003635/1.453, allocations: 377.4 kB / 1.369 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/1.453, allocations: 36.89 kB / 1.369 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/1.453, allocations: 234.5 kB / 1.369 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.656e-05/1.453, allocations: 55.31 kB / 1.369 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.175e-05/1.453, allocations: 7.375 kB / 1.369 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001289/1.453, allocations: 352.5 kB / 1.369 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/1.453, allocations: 62.94 kB / 1.37 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/1.453, allocations: 94.55 kB / 1.37 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.702e-05/1.453, allocations: 62.78 kB / 1.37 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/1.453, allocations: 0 / 1.37 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003006/1.454, allocations: 208.8 kB / 1.37 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/1.454, allocations: 10.97 kB / 1.37 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/1.454, allocations: 0 / 1.37 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/1.454, allocations: 3.875 kB / 1.37 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002285/1.454, allocations: 59.72 kB / 1.37 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/1.454, allocations: 0 / 1.37 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002312/1.454, allocations: 63.22 kB / 1.37 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/1.454, allocations: 3.844 kB / 1.37 GB, free: 32.12 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 10 (outAirSet_SinZon_noOccSen.occSen.y,outAirSet_SinZon.occSen.y,$PRE.outAirSet_SinZon.hys.y,outAirSet_SinZon.hys.y,$PRE.outAirSet_SinZon_noOccSen.hys.y,outAirSet_SinZon_noOccSen.hys.y,outAirSet_SinZon.not1.y,outAirSet_SinZon_noOccSen.not1.y,outAirSet_SinZon_noOccSen.and1.u2,outAirSet_SinZon.and1.u2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 9.557e-05/1.454, allocations: 131 kB / 1.37 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.276e-05/1.454, allocations: 35.09 kB / 1.37 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.058e-05/1.454, allocations: 42.94 kB / 1.37 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/1.454, allocations: 7.938 kB / 1.37 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/1.454, allocations: 0 / 1.37 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/1.454, allocations: 3.281 kB / 1.37 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006969/1.455, allocations: 0.6354 MB / 1.371 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/1.455, allocations: 0 / 1.371 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001972/1.455, allocations: 52.64 kB / 1.371 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/1.455, allocations: 3.844 kB / 1.371 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/1.455, allocations: 4 kB / 1.371 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/1.455, allocations: 0 / 1.371 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/1.455, allocations: 2.531 kB / 1.371 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002663/1.456, allocations: 268.6 kB / 1.371 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.08e-05/1.456, allocations: 123.7 kB / 1.371 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.735e-05/1.456, allocations: 3.5 kB / 1.371 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002234/1.456, allocations: 41.34 kB / 1.371 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.161e-05/1.456, allocations: 28.5 kB / 1.371 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/1.456, allocations: 7.344 kB / 1.371 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002814/1.456, allocations: 290 kB / 1.372 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.91e-07/1.456, allocations: 0 / 1.372 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002699/1.457, allocations: 61.16 kB / 1.372 GB, free: 31.28 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (outAirSet_SinZon.hys.y,outAirSet_SinZon_noOccSen.hys.y) * Number of discrete states: 2 (outAirSet_SinZon_noOccSen.hys.y,outAirSet_SinZon.hys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0005543/1.457, allocations: 0.8235 MB / 1.372 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002806/1.458, allocations: 147.8 kB / 1.373 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.458, allocations: 0 / 1.373 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001064/1.458, allocations: 68.03 kB / 1.373 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002911/1.458, allocations: 37.34 kB / 1.373 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009411/1.459, allocations: 475.4 kB / 1.373 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003584/1.459, allocations: 0.81 MB / 1.374 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001261/1.459, allocations: 41.72 kB / 1.374 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001802/1.46, allocations: 129.8 kB / 1.374 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of SimCode: time 6.61e-07/1.46, allocations: 0 / 1.374 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01906/1.479, allocations: 6.111 MB / 1.38 GB, free: 29.15 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002021/1.479, allocations: 206 kB / 1.38 GB, free: 28.93 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.244/3.723, allocations: 0 / 1.38 GB, free: 28.93 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_OutsideAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_OutsideAirFlow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow_res.mat does not exist to compare? outputFormat=mat