Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.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.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.168/2.168, allocations: 390.3 MB / 405.3 MB, free: 13.53 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.001056/0.001056, allocations: 171.4 kB / 498.1 MB, free: 5.758 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.431/1.431, allocations: 223.1 MB / 0.7948 GB, free: 17.95 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.0009374/0.0009373, allocations: 98.77 kB / 0.9346 GB, free: 6.23 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004113/0.0004113, allocations: 15.05 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3307, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2077/0.5384, allocations: 151.9 MB / 1.371 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003067/0.5388, allocations: 75.95 kB / 1.371 GB, free: 9.965 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.06284/0.6017, allocations: 22.02 MB / 1.393 GB, free: 3.906 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.625e-06/0.6018, allocations: 0 / 1.393 GB, free: 3.906 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001733/0.602, allocations: 51.98 kB / 1.393 GB, free: 3.855 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: 452 * Number of variables: 452 Notification: Performance of Generate backend data structure: time 0.005118/0.6071, allocations: 1.905 MB / 1.395 GB, free: 1.891 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.72e-05/0.6072, allocations: 8.031 kB / 1.395 GB, free: 1.883 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006497/0.6078, allocations: 253.4 kB / 1.395 GB, free: 1.625 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000584/0.6084, allocations: 217.4 kB / 1.395 GB, free: 1.41 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002446/0.6109, allocations: 1.098 MB / 1.396 GB, free: 272 kB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001419/0.611, allocations: 139.5 kB / 1.397 GB, free: 132 kB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003597/0.6114, allocations: 180 kB / 1.397 GB, free: 15.95 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003769/0.6152, allocations: 1.6 MB / 1.398 GB, free: 14.34 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.493e-05/0.6152, allocations: 4 kB / 1.398 GB, free: 14.34 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001782/0.6154, allocations: 76 kB / 1.398 GB, free: 14.26 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.613e-05/0.6155, allocations: 40 kB / 1.398 GB, free: 14.22 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003341/0.6188, allocations: 1.521 MB / 1.4 GB, free: 12.7 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01016/0.629, allocations: 4.699 MB / 1.404 GB, free: 7.938 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003256/0.6323, allocations: 1.241 MB / 1.406 GB, free: 6.691 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001057/0.6324, allocations: 24.97 kB / 1.406 GB, free: 6.668 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.277e-05/0.6325, allocations: 55.75 kB / 1.406 GB, free: 6.605 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=119): time 3.196e-06/0.6325, allocations: 0 / 1.406 GB, free: 6.605 MB / 0.9011 GB Notification: Performance of matching and sorting (n=119): time 0.004074/0.6366, allocations: 1.697 MB / 1.407 GB, free: 4.906 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.222e-05/0.6367, allocations: 64.41 kB / 1.407 GB, free: 4.832 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002182/0.6389, allocations: 1.151 MB / 1.409 GB, free: 3.676 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.000175/0.6391, allocations: 57.7 kB / 1.409 GB, free: 3.613 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007509/0.6398, allocations: 0.7248 MB / 1.409 GB, free: 2.879 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004376/0.6403, allocations: 402.1 kB / 1.41 GB, free: 2.48 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.508e-05/0.6404, allocations: 24 kB / 1.41 GB, free: 2.457 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001897/0.6406, allocations: 357.9 kB / 1.41 GB, free: 2.102 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001242/0.6418, allocations: 0.5179 MB / 1.411 GB, free: 1.582 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001474/0.6433, allocations: 0.6835 MB / 1.411 GB, free: 0.8516 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001246/0.6446, allocations: 0.5491 MB / 1.412 GB, free: 312 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.6446, allocations: 0 / 1.412 GB, free: 312 kB / 0.9011 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003264/0.6479, allocations: 1.456 MB / 1.413 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003191/0.6482, allocations: 0.6335 MB / 1.414 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.6482, allocations: 0 / 1.414 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.882e-05/0.6483, allocations: 8 kB / 1.414 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001281/0.6496, allocations: 287.6 kB / 1.414 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.241e-05/0.6496, allocations: 8 kB / 1.414 GB, free: 13.85 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001322/0.6509, allocations: 233.9 kB / 1.414 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/0.6511, allocations: 47.98 kB / 1.414 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.6511, allocations: 4 kB / 1.414 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002501/0.6536, allocations: 1.191 MB / 1.416 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.6536, allocations: 7.953 kB / 1.416 GB, free: 12.37 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.6536, allocations: 8 kB / 1.416 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001198/0.6548, allocations: 267.6 kB / 1.416 GB, free: 12.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.451e-05/0.6549, allocations: 11.98 kB / 1.416 GB, free: 12.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001219/0.6561, allocations: 194.2 kB / 1.416 GB, free: 11.89 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/0.6562, allocations: 47.98 kB / 1.416 GB, free: 11.85 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.0009023/0.6571, allocations: 402.6 kB / 1.416 GB, free: 11.45 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003931/0.6575, allocations: 158 kB / 1.417 GB, free: 11.29 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003645/0.6612, allocations: 1.83 MB / 1.418 GB, free: 9.41 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.469e-05/0.6612, allocations: 12 kB / 1.418 GB, free: 9.398 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.195e-05/0.6612, allocations: 4 kB / 1.418 GB, free: 9.395 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.507e-05/0.6613, allocations: 3.984 kB / 1.418 GB, free: 9.391 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007828/0.6691, allocations: 3.989 MB / 1.422 GB, free: 5.207 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.882e-05/0.6692, allocations: 12 kB / 1.422 GB, free: 5.195 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001203/0.6704, allocations: 268.2 kB / 1.423 GB, free: 4.934 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.641e-05/0.6705, allocations: 19.95 kB / 1.423 GB, free: 4.914 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001277/0.6706, allocations: 43.92 kB / 1.423 GB, free: 4.871 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.573e-05/0.6706, allocations: 27.91 kB / 1.423 GB, free: 4.844 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-05/0.6707, allocations: 19.88 kB / 1.423 GB, free: 4.824 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005036/0.6757, allocations: 3.026 MB / 1.426 GB, free: 1.324 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005637/0.6763, allocations: 282.7 kB / 1.426 GB, free: 1.027 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002959/0.6766, allocations: 48 kB / 1.426 GB, free: 0.9805 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001232/0.6778, allocations: 151.9 kB / 1.426 GB, free: 0.832 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002804/0.6781, allocations: 176.1 kB / 1.426 GB, free: 0.6602 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000121/0.6783, allocations: 51.98 kB / 1.426 GB, free: 0.6094 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.577/1.255, allocations: 0.9093 MB / 1.427 GB, free: 183.4 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7.81e-07/1.255, allocations: 1.75 kB / 1.427 GB, free: 183.4 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.002589/1.258, allocations: 0.5295 MB / 1.428 GB, free: 183.4 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.005652/1.264, allocations: 6.611 MB / 1.434 GB, free: 178.6 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0042/1.268, allocations: 1.911 MB / 1.436 GB, free: 178.6 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.344e-05/1.268, allocations: 5.625 kB / 1.436 GB, free: 178.6 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001672/1.27, allocations: 0.6991 MB / 1.437 GB, free: 178.6 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001657/1.271, allocations: 274 kB / 1.437 GB, free: 178.5 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01733/1.289, allocations: 10.67 MB / 1.447 GB, free: 173.9 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001245/1.29, allocations: 1.28 MB / 1.449 GB, free: 173.1 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001432/1.291, allocations: 241.8 kB / 1.449 GB, free: 173.1 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001065/1.292, allocations: 0.6924 MB / 1.45 GB, free: 173.1 MB / 0.9167 GB Notification: Performance of SimCode: time 1.363e-06/1.292, allocations: 3.438 kB / 1.45 GB, free: 173.1 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05709/1.35, allocations: 28.84 MB / 1.478 GB, free: 166.4 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001359/1.35, allocations: 232.6 kB / 1.478 GB, free: 166.1 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.08/4.43, allocations: 0 / 1.478 GB, free: 166.1 MB / 0.9167 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_u_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_u.fmu > Buildings_9_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_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u_res.mat does not exist to compare? outputFormat=mat