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.585/2.585, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001211/0.001211, allocations: 188.5 kB / 487.4 MB, free: 5.035 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.481/1.481, allocations: 221.5 MB / 0.7824 GB, free: 0.9805 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 79.94 kB / 0.9219 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.848e-05/1.849e-05, allocations: 4 kB / 1.067 GB, free: 185.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.281, allocations: 142.4 MB / 1.206 GB, free: 43.75 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.009/1.29, allocations: 149.7 MB / 1.352 GB, free: 18.12 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002502/1.29, allocations: 77.39 kB / 1.352 GB, free: 18.12 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0138/1.304, allocations: 5.505 MB / 1.358 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.685e-06/1.304, allocations: 0 / 1.358 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.289e-05/1.304, allocations: 15.59 kB / 1.358 GB, free: 33.47 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.0008837/1.305, allocations: 0.6229 MB / 1.358 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/1.305, allocations: 11.69 kB / 1.358 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.457e-05/1.305, allocations: 50.56 kB / 1.358 GB, free: 33 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003723/1.306, allocations: 318.2 kB / 1.359 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.392e-05/1.306, allocations: 11.66 kB / 1.359 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.625e-05/1.306, allocations: 26.94 kB / 1.359 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003974/1.306, allocations: 220.6 kB / 1.359 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004545/1.307, allocations: 276.5 kB / 1.359 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/1.307, allocations: 0 / 1.359 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.839e-05/1.307, allocations: 0 / 1.359 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/1.307, allocations: 15.62 kB / 1.359 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001612/1.308, allocations: 1.109 MB / 1.36 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005381/1.309, allocations: 284.8 kB / 1.361 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.225e-05/1.309, allocations: 56.2 kB / 1.361 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.796e-05/1.309, allocations: 3.812 kB / 1.361 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/1.309, allocations: 36.81 kB / 1.361 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=17): time 1.332e-06/1.309, allocations: 48 / 1.361 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of matching and sorting (n=17): time 0.0002944/1.309, allocations: 147.5 kB / 1.361 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.791e-05/1.309, allocations: 55.28 kB / 1.361 GB, free: 32 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002415/1.31, allocations: 246.1 kB / 1.361 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/1.31, allocations: 29.08 kB / 1.361 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001691/1.31, allocations: 236.9 kB / 1.361 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.066e-05/1.31, allocations: 56.73 kB / 1.361 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.079e-05/1.31, allocations: 0 / 1.361 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001451/1.31, allocations: 335 kB / 1.362 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.382e-05/1.31, allocations: 58.72 kB / 1.362 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/1.31, allocations: 93.56 kB / 1.362 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.603e-05/1.31, allocations: 53.47 kB / 1.362 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/1.31, allocations: 0 / 1.362 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002448/1.311, allocations: 195.7 kB / 1.362 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/1.311, allocations: 3.688 kB / 1.362 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/1.311, allocations: 0 / 1.362 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/1.311, allocations: 3.875 kB / 1.362 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002262/1.311, allocations: 55.67 kB / 1.362 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/1.311, allocations: 3.875 kB / 1.362 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002117/1.311, allocations: 41.45 kB / 1.362 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/1.311, allocations: 11.53 kB / 1.362 GB, free: 31.25 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 0.0001003/1.311, allocations: 117.2 kB / 1.362 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001982/1.312, allocations: 147.4 kB / 1.363 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.702e-05/1.312, allocations: 23.44 kB / 1.363 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.362e-05/1.312, allocations: 27.73 kB / 1.363 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/1.312, allocations: 0 / 1.363 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/1.312, allocations: 7.781 kB / 1.363 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/1.312, allocations: 1.734 kB / 1.363 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006226/1.312, allocations: 0.5593 MB / 1.363 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.696e-06/1.312, allocations: 4 kB / 1.363 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001911/1.313, allocations: 51.12 kB / 1.363 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/1.313, allocations: 2.203 kB / 1.363 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/1.313, allocations: 0 / 1.363 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/1.313, allocations: 0 / 1.363 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/1.313, allocations: 3.875 kB / 1.363 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000233/1.313, allocations: 251.9 kB / 1.363 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.01e-05/1.313, allocations: 102.9 kB / 1.364 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.557e-05/1.313, allocations: 3.875 kB / 1.364 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/1.313, allocations: 37.16 kB / 1.364 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.997e-05/1.313, allocations: 30.58 kB / 1.364 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/1.313, allocations: 6.406 kB / 1.364 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001565/1.313, allocations: 177.7 kB / 1.364 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.313, allocations: 0 / 1.364 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002794/1.314, allocations: 65.56 kB / 1.364 GB, free: 30.41 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.0005483/1.314, allocations: 0.7889 MB / 1.365 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002333/1.314, allocations: 137.4 kB / 1.365 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/1.314, allocations: 0 / 1.365 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.372e-05/1.315, allocations: 62.16 kB / 1.365 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002588/1.315, allocations: 18 kB / 1.365 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009045/1.316, allocations: 463.7 kB / 1.365 GB, free: 29.49 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003355/1.316, allocations: 0.8073 MB / 1.366 GB, free: 28.78 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001031/1.316, allocations: 24.7 kB / 1.366 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001598/1.316, allocations: 122.6 kB / 1.366 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.316, allocations: 0 / 1.366 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02704/1.343, allocations: 4.445 MB / 1.371 GB, free: 28.46 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001894/1.344, allocations: 193.9 kB / 1.371 GB, free: 28.27 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.071/3.415, allocations: 0 / 1.371 GB, free: 28.27 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