Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_OutsideAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow,fileNamePrefix="Buildings_latest_Buildings_Obsolete_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 10.0.0-master/package.mo): time 2.156/2.156, allocations: 390.3 MB / 402.8 MB, free: 6.73 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.001263/0.001263, allocations: 184.8 kB / 496.1 MB, free: 12.9 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 221.3 MB / 0.7915 GB, free: 5.402 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.001033/0.001033, allocations: 99.89 kB / 0.9318 GB, free: 5.711 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.529e-05/3.532e-05, allocations: 7.984 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.332, allocations: 143 MB / 1.219 GB, free: 13.35 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9641/1.296, allocations: 152.1 MB / 1.367 GB, free: 1.965 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003086/1.297, allocations: 94.05 kB / 1.368 GB, free: 1.906 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01404/1.311, allocations: 5.663 MB / 1.373 GB, free: 13.04 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.567e-06/1.311, allocations: 4 kB / 1.373 GB, free: 13.03 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.399e-05/1.311, allocations: 8 kB / 1.373 GB, free: 13.02 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.001088/1.312, allocations: 0.6315 MB / 1.374 GB, free: 12.38 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.569e-05/1.312, allocations: 12.03 kB / 1.374 GB, free: 12.36 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001232/1.312, allocations: 81.16 kB / 1.374 GB, free: 12.3 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001272/1.312, allocations: 51.34 kB / 1.374 GB, free: 12.25 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004649/1.313, allocations: 305.6 kB / 1.374 GB, free: 11.95 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.936e-05/1.313, allocations: 38.25 kB / 1.374 GB, free: 11.92 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.853e-05/1.313, allocations: 41.62 kB / 1.374 GB, free: 11.89 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005863/1.313, allocations: 338.2 kB / 1.375 GB, free: 11.67 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/1.313, allocations: 3.938 kB / 1.375 GB, free: 11.66 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.578e-05/1.313, allocations: 21.42 kB / 1.375 GB, free: 11.66 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.422e-05/1.313, allocations: 8 kB / 1.375 GB, free: 11.65 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004471/1.314, allocations: 244.2 kB / 1.375 GB, free: 11.5 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002022/1.316, allocations: 1.234 MB / 1.376 GB, free: 10.47 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006229/1.317, allocations: 290.5 kB / 1.376 GB, free: 10.21 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001241/1.317, allocations: 73.02 kB / 1.376 GB, free: 10.16 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/1.317, allocations: 0 / 1.376 GB, free: 10.16 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/1.317, allocations: 38 kB / 1.376 GB, free: 10.12 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=17): time 1.934e-06/1.317, allocations: 0 / 1.376 GB, free: 10.12 MB / 0.8386 GB Notification: Performance of matching and sorting (n=17): time 0.000357/1.317, allocations: 163.4 kB / 1.377 GB, free: 9.984 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/1.317, allocations: 59.41 kB / 1.377 GB, free: 9.914 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004094/1.318, allocations: 378.4 kB / 1.377 GB, free: 9.621 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.083e-05/1.318, allocations: 29.33 kB / 1.377 GB, free: 9.59 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001773/1.318, allocations: 235.9 kB / 1.377 GB, free: 9.426 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.055e-05/1.318, allocations: 57.75 kB / 1.377 GB, free: 9.375 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.186e-05/1.318, allocations: 3.125 kB / 1.377 GB, free: 9.375 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001372/1.318, allocations: 352.9 kB / 1.378 GB, free: 9.039 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/1.318, allocations: 62.81 kB / 1.378 GB, free: 9 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/1.318, allocations: 107.7 kB / 1.378 GB, free: 8.914 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001091/1.318, allocations: 53.33 kB / 1.378 GB, free: 8.879 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/1.318, allocations: 0 / 1.378 GB, free: 8.879 MB / 0.8386 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003431/1.319, allocations: 215.7 kB / 1.378 GB, free: 8.711 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/1.319, allocations: 4 kB / 1.378 GB, free: 8.707 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/1.319, allocations: 12.08 kB / 1.378 GB, free: 8.695 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/1.319, allocations: 0 / 1.378 GB, free: 8.695 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002314/1.319, allocations: 55.41 kB / 1.378 GB, free: 8.645 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/1.319, allocations: 0 / 1.378 GB, free: 8.645 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002724/1.319, allocations: 71.14 kB / 1.378 GB, free: 8.578 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.08e-05/1.319, allocations: 4 kB / 1.378 GB, free: 8.574 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.0001039/1.32, allocations: 123.6 kB / 1.378 GB, free: 8.453 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.104e-05/1.32, allocations: 39.53 kB / 1.378 GB, free: 8.414 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.241e-05/1.32, allocations: 36.72 kB / 1.378 GB, free: 8.398 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/1.32, allocations: 11.98 kB / 1.378 GB, free: 8.387 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/1.32, allocations: 0 / 1.378 GB, free: 8.387 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/1.32, allocations: 0 / 1.378 GB, free: 8.387 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000813/1.321, allocations: 0.6323 MB / 1.379 GB, free: 7.832 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/1.321, allocations: 48 / 1.379 GB, free: 7.832 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002064/1.321, allocations: 59.5 kB / 1.379 GB, free: 7.777 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/1.321, allocations: 4 kB / 1.379 GB, free: 7.773 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/1.321, allocations: 0 / 1.379 GB, free: 7.773 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/1.321, allocations: 0 / 1.379 GB, free: 7.773 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/1.321, allocations: 3.938 kB / 1.379 GB, free: 7.77 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003005/1.321, allocations: 275.2 kB / 1.379 GB, free: 7.523 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.857e-05/1.321, allocations: 122.2 kB / 1.379 GB, free: 7.395 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.409e-05/1.321, allocations: 3.984 kB / 1.379 GB, free: 7.391 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002236/1.321, allocations: 43.28 kB / 1.379 GB, free: 7.352 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.537e-05/1.322, allocations: 26.02 kB / 1.38 GB, free: 7.332 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/1.322, allocations: 4 kB / 1.38 GB, free: 7.328 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003096/1.322, allocations: 292.1 kB / 1.38 GB, free: 7.109 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.322, allocations: 4 kB / 1.38 GB, free: 7.105 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002855/1.322, allocations: 62.47 kB / 1.38 GB, free: 7.051 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.0006515/1.323, allocations: 0.8165 MB / 1.381 GB, free: 6.25 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003069/1.323, allocations: 141.5 kB / 1.381 GB, free: 6.16 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/1.323, allocations: 4.125 kB / 1.381 GB, free: 6.156 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001192/1.323, allocations: 63.62 kB / 1.381 GB, free: 6.113 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002966/1.324, allocations: 34.89 kB / 1.381 GB, free: 6.098 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/1.325, allocations: 486.4 kB / 1.381 GB, free: 5.633 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003696/1.325, allocations: 0.807 MB / 1.382 GB, free: 4.801 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001291/1.325, allocations: 30.97 kB / 1.382 GB, free: 4.773 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00018/1.325, allocations: 129.9 kB / 1.382 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of SimCode: time 4.2e-07/1.325, allocations: 0 / 1.382 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02108/1.347, allocations: 6.117 MB / 1.388 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002184/1.347, allocations: 217.6 kB / 1.388 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.834/3.181, allocations: 0.6875 kB / 1.388 GB, free: 14.64 MB / 0.8542 GB (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_OutsideAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_OutsideAirFlow.fmu > Buildings_latest_Buildings.Obsolete.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_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow_res.mat does not exist to compare? outputFormat=mat