Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.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.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_u",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.322/2.322, allocations: 393.5 MB / 408.4 MB, free: 11.14 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.001192/0.001192, allocations: 191.9 kB / 0.4902 GB, free: 2.332 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.48/1.48, allocations: 223.1 MB / 0.7992 GB, free: 14.78 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.00086/0.0008597, allocations: 102.8 kB / 0.9396 GB, free: 1.953 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003359/0.0003359, allocations: 10.5 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.2752, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1842/0.4595, allocations: 152.7 MB / 1.378 GB, free: 0.7539 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002614/0.4598, allocations: 79.94 kB / 1.379 GB, free: 0.6758 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0552/0.515, allocations: 22.02 MB / 1.4 GB, free: 10.62 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.923e-06/0.5151, allocations: 0 / 1.4 GB, free: 10.62 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001132/0.5152, allocations: 51.98 kB / 1.4 GB, free: 10.57 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 452 * Number of variables: 452 Notification: Performance of Generate backend data structure: time 0.003488/0.5187, allocations: 1.901 MB / 1.402 GB, free: 8.613 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.5187, allocations: 12.03 kB / 1.402 GB, free: 8.602 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003082/0.5191, allocations: 257.4 kB / 1.402 GB, free: 8.34 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003158/0.5194, allocations: 217.3 kB / 1.402 GB, free: 8.125 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001967/0.5214, allocations: 1.086 MB / 1.403 GB, free: 6.992 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001109/0.5215, allocations: 143.5 kB / 1.404 GB, free: 6.852 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002195/0.5217, allocations: 180 kB / 1.404 GB, free: 6.676 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003103/0.5248, allocations: 1.604 MB / 1.405 GB, free: 5.059 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.349e-05/0.5249, allocations: 0 / 1.405 GB, free: 5.059 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001571/0.525, allocations: 79.98 kB / 1.405 GB, free: 4.98 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.826e-05/0.5251, allocations: 47.94 kB / 1.405 GB, free: 4.934 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002954/0.528, allocations: 1.509 MB / 1.407 GB, free: 3.422 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008666/0.5367, allocations: 4.703 MB / 1.412 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002864/0.5396, allocations: 1.238 MB / 1.413 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 9.228e-05/0.5398, allocations: 28.97 kB / 1.413 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.111e-05/0.5398, allocations: 55.78 kB / 1.413 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=119): time 3.406e-06/0.5398, allocations: 0 / 1.413 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of matching and sorting (n=119): time 0.003639/0.5435, allocations: 1.693 MB / 1.415 GB, free: 11.63 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.446e-05/0.5435, allocations: 64.41 kB / 1.415 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001583/0.5451, allocations: 1.156 MB / 1.416 GB, free: 10.39 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001193/0.5453, allocations: 61.7 kB / 1.416 GB, free: 10.33 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005982/0.5459, allocations: 0.7209 MB / 1.416 GB, free: 9.598 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003278/0.5462, allocations: 398.3 kB / 1.417 GB, free: 9.203 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.452e-05/0.5463, allocations: 24 kB / 1.417 GB, free: 9.18 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.5464, allocations: 353.9 kB / 1.417 GB, free: 8.828 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001114/0.5476, allocations: 0.514 MB / 1.418 GB, free: 8.312 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001294/0.5489, allocations: 0.6834 MB / 1.418 GB, free: 7.582 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001121/0.55, allocations: 0.553 MB / 1.419 GB, free: 7.031 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.55, allocations: 8 kB / 1.419 GB, free: 7.023 MB / 0.9167 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.002773/0.5528, allocations: 1.448 MB / 1.42 GB, free: 5.566 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.000277/0.5531, allocations: 0.6452 MB / 1.421 GB, free: 4.863 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.457e-06/0.5531, allocations: 0 / 1.421 GB, free: 4.863 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.409e-05/0.5531, allocations: 8 kB / 1.421 GB, free: 4.855 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/0.5543, allocations: 291.6 kB / 1.421 GB, free: 4.57 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.471e-05/0.5543, allocations: 8 kB / 1.421 GB, free: 4.562 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00102/0.5554, allocations: 226.1 kB / 1.421 GB, free: 4.34 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.727e-05/0.5555, allocations: 51.92 kB / 1.422 GB, free: 4.289 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 9.999e-06/0.5555, allocations: 4 kB / 1.422 GB, free: 4.285 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002149/0.5576, allocations: 1.198 MB / 1.423 GB, free: 3.086 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.5576, allocations: 3.953 kB / 1.423 GB, free: 3.082 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.5577, allocations: 8 kB / 1.423 GB, free: 3.074 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/0.5587, allocations: 263.6 kB / 1.423 GB, free: 2.816 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.5587, allocations: 11.94 kB / 1.423 GB, free: 2.805 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009231/0.5596, allocations: 202.1 kB / 1.423 GB, free: 2.605 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.803e-05/0.5597, allocations: 47.98 kB / 1.423 GB, free: 2.559 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setPoiVAV.heaSta.greHys.y,setPoiVAV.heaSta.greHys.y,$PRE.setPoiVAV.gre.greHys.y,setPoiVAV.gre.greHys.y,$PRE.setPoiVAV1.heaSta.greHys.y,setPoiVAV1.heaSta.greHys.y,$PRE.setPoiVAV1.gre.greHys.y,setPoiVAV1.gre.greHys.y,$PRE.setPoiVAV2.heaSta.greHys.y,setPoiVAV2.heaSta.greHys.y,$PRE.setPoiVAV2.gre.greHys.y,setPoiVAV2.gre.greHys.y,setPoiVAV2.y1SupFan,setPoiVAV1.y1SupFan,setPoiVAV.y1SupFan) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (155): * Single equations (assignments): 155 * 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.0007664/0.5605, allocations: 399.4 kB / 1.424 GB, free: 2.16 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002224/0.5607, allocations: 154 kB / 1.424 GB, free: 2.008 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003008/0.5637, allocations: 1.838 MB / 1.426 GB, free: 128 kB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/0.5638, allocations: 12 kB / 1.426 GB, free: 116 kB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.5638, allocations: 0 / 1.426 GB, free: 116 kB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.356e-05/0.5638, allocations: 11.97 kB / 1.426 GB, free: 104 kB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5641/1.128, allocations: 3.972 MB / 1.429 GB, free: 176.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.158e-05/1.128, allocations: 10.84 kB / 1.429 GB, free: 176.4 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001063/1.129, allocations: 270.9 kB / 1.43 GB, free: 176.4 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.89e-05/1.129, allocations: 18.44 kB / 1.43 GB, free: 176.4 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.973e-05/1.129, allocations: 44.09 kB / 1.43 GB, free: 176.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.55e-05/1.129, allocations: 29.83 kB / 1.43 GB, free: 176.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.388e-05/1.129, allocations: 13.59 kB / 1.43 GB, free: 176.4 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00433/1.134, allocations: 3.021 MB / 1.433 GB, free: 174.9 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004562/1.134, allocations: 285.2 kB / 1.433 GB, free: 174.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001866/1.134, allocations: 45.22 kB / 1.433 GB, free: 174.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001051/1.135, allocations: 153 kB / 1.433 GB, free: 174.8 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003108/1.136, allocations: 170.6 kB / 1.433 GB, free: 174.8 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001074/1.136, allocations: 57.36 kB / 1.433 GB, free: 174.8 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001552/1.137, allocations: 0.9109 MB / 1.434 GB, free: 174.6 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.61e-07/1.137, allocations: 3.719 kB / 1.434 GB, free: 174.6 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001846/1.139, allocations: 0.53 MB / 1.435 GB, free: 174.6 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 46 * Number of states: 3 (setPoiVAV.ramLim.y,setPoiVAV1.ramLim.y,setPoiVAV2.ramLim.y) * Number of discrete variables: 6 (setPoiVAV.heaSta.greHys.y,setPoiVAV.gre.greHys.y,setPoiVAV1.heaSta.greHys.y,setPoiVAV1.gre.greHys.y,setPoiVAV2.heaSta.greHys.y,setPoiVAV2.gre.greHys.y) * Number of discrete states: 6 (setPoiVAV2.heaSta.greHys.y,setPoiVAV1.heaSta.greHys.y,setPoiVAV.heaSta.greHys.y,setPoiVAV2.gre.greHys.y,setPoiVAV1.gre.greHys.y,setPoiVAV.gre.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 126 * 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.004941/1.144, allocations: 6.614 MB / 1.441 GB, free: 169.7 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.004064/1.148, allocations: 1.908 MB / 1.443 GB, free: 169.7 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.821e-05/1.148, allocations: 9.281 kB / 1.443 GB, free: 169.7 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001551/1.15, allocations: 0.7008 MB / 1.444 GB, free: 169.6 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001475/1.151, allocations: 279.9 kB / 1.444 GB, free: 169.6 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01711/1.168, allocations: 10.67 MB / 1.455 GB, free: 164.8 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001148/1.17, allocations: 1.283 MB / 1.456 GB, free: 164 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001252/1.171, allocations: 237.4 kB / 1.456 GB, free: 164 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000891/1.172, allocations: 0.6926 MB / 1.457 GB, free: 164 MB / 0.9167 GB Notification: Performance of SimCode: time 7.985e-06/1.172, allocations: 1.125 kB / 1.457 GB, free: 164 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04909/1.221, allocations: 28.85 MB / 1.485 GB, free: 154.4 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001394/1.221, allocations: 224.7 kB / 1.485 GB, free: 154.1 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.138/4.359, allocations: 64 / 1.485 GB, free: 154.1 MB / 0.9167 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_u_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_u.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u_res.mat does not exist to compare? outputFormat=mat