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.492/2.492, allocations: 393.5 MB / 408.4 MB, free: 11.09 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.001186/0.001185, allocations: 187.2 kB / 0.4901 GB, free: 2.258 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.589/1.589, allocations: 223.1 MB / 0.7992 GB, free: 14.75 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.001057/0.001057, allocations: 102.3 kB / 0.9396 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003698/0.0003698, allocations: 11.25 kB / 1.09 GB, free: 216.6 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2764/0.2768, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1878/0.4646, allocations: 152.1 MB / 1.378 GB, free: 1.262 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002583/0.4649, allocations: 83.94 kB / 1.378 GB, free: 1.18 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01442/0.4794, allocations: 5.666 MB / 1.384 GB, free: 11.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.154e-06/0.4794, allocations: 0 / 1.384 GB, free: 11.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.945e-05/0.4794, allocations: 16 kB / 1.384 GB, free: 11.49 MB / 0.8855 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.001307/0.4808, allocations: 0.6704 MB / 1.384 GB, free: 10.77 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/0.4808, allocations: 12.56 kB / 1.384 GB, free: 10.76 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001375/0.481, allocations: 82.52 kB / 1.384 GB, free: 10.67 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001316/0.4811, allocations: 47.44 kB / 1.384 GB, free: 10.62 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005179/0.4816, allocations: 315.1 kB / 1.385 GB, free: 10.27 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.276e-05/0.4817, allocations: 40.98 kB / 1.385 GB, free: 10.23 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.706e-05/0.4818, allocations: 40 kB / 1.385 GB, free: 10.19 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008273/0.4826, allocations: 394.5 kB / 1.385 GB, free: 9.793 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.4826, allocations: 0 / 1.385 GB, free: 9.793 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.581e-05/0.4827, allocations: 16 kB / 1.385 GB, free: 9.777 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.4827, allocations: 8 kB / 1.385 GB, free: 9.77 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008823/0.4836, allocations: 355.8 kB / 1.385 GB, free: 9.422 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002056/0.4856, allocations: 1.24 MB / 1.387 GB, free: 8.117 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008561/0.4865, allocations: 339.6 kB / 1.387 GB, free: 7.758 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.594e-05/0.4865, allocations: 0 / 1.387 GB, free: 7.758 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/0.4866, allocations: 38.56 kB / 1.387 GB, free: 7.711 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=17): time 1.533e-06/0.4866, allocations: 3.938 kB / 1.387 GB, free: 7.707 MB / 0.8855 GB Notification: Performance of matching and sorting (n=17): time 0.001065/0.4876, allocations: 369.2 kB / 1.387 GB, free: 7.34 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.4877, allocations: 55.41 kB / 1.387 GB, free: 7.273 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004739/0.4882, allocations: 377.1 kB / 1.388 GB, free: 6.902 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.668e-05/0.4882, allocations: 33.7 kB / 1.388 GB, free: 6.863 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002085/0.4884, allocations: 228.3 kB / 1.388 GB, free: 6.637 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.836e-05/0.4885, allocations: 55.19 kB / 1.388 GB, free: 6.582 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.263e-05/0.4885, allocations: 8 kB / 1.388 GB, free: 6.574 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002478/0.4888, allocations: 350.8 kB / 1.388 GB, free: 6.223 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003465/0.4891, allocations: 107.9 kB / 1.389 GB, free: 6.117 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003877/0.4895, allocations: 161.9 kB / 1.389 GB, free: 5.945 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003296/0.4899, allocations: 108.4 kB / 1.389 GB, free: 5.84 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.4899, allocations: 0 / 1.389 GB, free: 5.84 MB / 0.8855 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0008334/0.4907, allocations: 323.6 kB / 1.389 GB, free: 5.52 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.4908, allocations: 5.406 kB / 1.389 GB, free: 5.516 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.4908, allocations: 0 / 1.389 GB, free: 5.516 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.632e-05/0.4908, allocations: 11.92 kB / 1.389 GB, free: 5.504 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002432/0.4911, allocations: 51.97 kB / 1.389 GB, free: 5.453 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.299e-05/0.4911, allocations: 7.938 kB / 1.389 GB, free: 5.445 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002888/0.4914, allocations: 67.7 kB / 1.389 GB, free: 5.379 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.981e-05/0.4914, allocations: 4 kB / 1.389 GB, free: 5.375 MB / 0.8855 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 () * Number of clocked 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.0002503/0.4917, allocations: 157.5 kB / 1.389 GB, free: 5.211 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.969e-05/0.4917, allocations: 35.53 kB / 1.389 GB, free: 5.176 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.128e-05/0.4918, allocations: 35.69 kB / 1.389 GB, free: 5.137 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.4918, allocations: 7.984 kB / 1.389 GB, free: 5.129 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.4919, allocations: 0 / 1.389 GB, free: 5.129 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.4919, allocations: 4.031 kB / 1.39 GB, free: 5.125 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001269/0.4931, allocations: 0.7478 MB / 1.39 GB, free: 4.32 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.4932, allocations: 4 kB / 1.39 GB, free: 4.316 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002112/0.4934, allocations: 51.95 kB / 1.39 GB, free: 4.266 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.4934, allocations: 0 / 1.39 GB, free: 4.266 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.045e-05/0.4934, allocations: 4 kB / 1.39 GB, free: 4.262 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.4934, allocations: 3.938 kB / 1.39 GB, free: 4.258 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4934, allocations: 0 / 1.39 GB, free: 4.258 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007366/0.4942, allocations: 376.1 kB / 1.391 GB, free: 3.875 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.4943, allocations: 116.6 kB / 1.391 GB, free: 3.742 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.589e-05/0.4943, allocations: 4 kB / 1.391 GB, free: 3.738 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002515/0.4946, allocations: 43.95 kB / 1.391 GB, free: 3.695 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.261e-05/0.4947, allocations: 27.95 kB / 1.391 GB, free: 3.668 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.899e-06/0.4947, allocations: 0 / 1.391 GB, free: 3.668 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003569/0.4951, allocations: 295.2 kB / 1.391 GB, free: 3.383 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.01e-07/0.4951, allocations: 0 / 1.391 GB, free: 3.383 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003163/0.4954, allocations: 63.78 kB / 1.391 GB, free: 3.32 MB / 0.8855 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) * Number of clocked states: 0 () * 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.001057/0.4965, allocations: 0.9256 MB / 1.392 GB, free: 2.371 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.000713/0.4972, allocations: 251.7 kB / 1.392 GB, free: 2.125 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4972, allocations: 0 / 1.392 GB, free: 2.125 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003302/0.4976, allocations: 116 kB / 1.392 GB, free: 2.012 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002926/0.4979, allocations: 33.55 kB / 1.392 GB, free: 1.977 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004254/0.5021, allocations: 2.457 MB / 1.395 GB, free: 15.46 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004471/0.5026, allocations: 0.807 MB / 1.396 GB, free: 14.62 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001435/0.5027, allocations: 34.95 kB / 1.396 GB, free: 14.59 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002083/0.5029, allocations: 131.4 kB / 1.396 GB, free: 14.46 MB / 0.9011 GB Notification: Performance of SimCode: time 7.41e-07/0.503, allocations: 0 / 1.396 GB, free: 14.46 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02021/0.5232, allocations: 6.23 MB / 1.402 GB, free: 8.492 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001854/0.5234, allocations: 258.3 kB / 1.402 GB, free: 8.238 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.258/2.781, allocations: 0 / 1.402 GB, free: 8.238 MB / 0.9011 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