Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking.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.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanAirflowTracking",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanAirflowTracking",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.346/2.346, allocations: 390.5 MB / 398 MB, free: 10.89 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.001671/0.001671, allocations: 176.8 kB / 491.2 MB, free: 1.547 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.475/1.475, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.001215/0.001215, allocations: 95.88 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.929e-05/1.923e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2949/0.295, allocations: 143 MB / 1.212 GB, free: 39.36 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8503/1.145, allocations: 151.8 MB / 1.361 GB, free: 17.37 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001978/1.146, allocations: 75.91 kB / 1.361 GB, free: 17.37 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02127/1.167, allocations: 9.107 MB / 1.37 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.203e-06/1.167, allocations: 0 / 1.37 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.835e-05/1.167, allocations: 11.47 kB / 1.37 GB, free: 32.53 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: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001026/1.168, allocations: 0.7688 MB / 1.37 GB, free: 32 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/1.168, allocations: 11.72 kB / 1.37 GB, free: 32 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001109/1.168, allocations: 62.16 kB / 1.37 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004987/1.169, allocations: 409.9 kB / 1.371 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.968e-05/1.169, allocations: 15.38 kB / 1.371 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.618e-05/1.169, allocations: 34.31 kB / 1.371 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004835/1.169, allocations: 282.7 kB / 1.371 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000581/1.17, allocations: 405 kB / 1.372 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/1.17, allocations: 0 / 1.372 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.222e-05/1.17, allocations: 7.781 kB / 1.372 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/1.17, allocations: 14.31 kB / 1.372 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001773/1.172, allocations: 1.515 MB / 1.373 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000624/1.172, allocations: 0.5178 MB / 1.374 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003401/1.173, allocations: 216.5 kB / 1.374 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.665e-05/1.173, allocations: 4.156 kB / 1.374 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002795/1.173, allocations: 193.2 kB / 1.374 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=37): time 1.723e-06/1.173, allocations: 0 / 1.374 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of matching and sorting (n=37): time 0.0004434/1.174, allocations: 292.7 kB / 1.374 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/1.174, allocations: 106.6 kB / 1.374 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002611/1.174, allocations: 298.2 kB / 1.375 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.39e-05/1.174, allocations: 25.7 kB / 1.375 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/1.174, allocations: 261.1 kB / 1.375 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.502e-05/1.174, allocations: 112.6 kB / 1.375 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.247e-05/1.174, allocations: 0 / 1.375 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.654e-05/1.174, allocations: 350.1 kB / 1.375 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001663/1.174, allocations: 112.9 kB / 1.375 GB, free: 29.94 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001862/1.175, allocations: 180.1 kB / 1.376 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003028/1.175, allocations: 141.2 kB / 1.376 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/1.175, allocations: 0 / 1.376 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005769/1.175, allocations: 366.1 kB / 1.376 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001849/1.176, allocations: 480.7 kB / 1.377 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/1.176, allocations: 0 / 1.377 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/1.176, allocations: 7.781 kB / 1.377 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003494/1.176, allocations: 91.8 kB / 1.377 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/1.176, allocations: 3.938 kB / 1.377 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004206/1.177, allocations: 102.6 kB / 1.377 GB, free: 29.27 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.388e-05/1.177, allocations: 10.62 kB / 1.377 GB, free: 29.27 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.384e-06/1.177, allocations: 3.906 kB / 1.377 GB, free: 29.27 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004926/1.177, allocations: 291.5 kB / 1.377 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.915e-06/1.177, allocations: 3.875 kB / 1.377 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.527e-06/1.177, allocations: 0 / 1.377 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002697/1.177, allocations: 75.12 kB / 1.377 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/1.177, allocations: 3.875 kB / 1.377 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000345/1.178, allocations: 74.17 kB / 1.377 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.677e-05/1.178, allocations: 17.2 kB / 1.377 GB, free: 29.23 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,$PRE.yFan.y,yFan.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 1 * 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.0001191/1.178, allocations: 117.5 kB / 1.377 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000371/1.178, allocations: 289.8 kB / 1.378 GB, free: 29.06 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.937e-05/1.178, allocations: 34.88 kB / 1.378 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.161e-05/1.178, allocations: 43.09 kB / 1.378 GB, free: 29.03 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/1.178, allocations: 3.812 kB / 1.378 GB, free: 29.03 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/1.178, allocations: 0 / 1.378 GB, free: 29.03 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/1.178, allocations: 3.953 kB / 1.378 GB, free: 29.03 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009111/1.179, allocations: 0.8861 MB / 1.379 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/1.179, allocations: 4 kB / 1.379 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003345/1.18, allocations: 81.34 kB / 1.379 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/1.18, allocations: 3.812 kB / 1.379 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.305e-05/1.18, allocations: 2.766 kB / 1.379 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/1.18, allocations: 7.797 kB / 1.379 GB, free: 28.72 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/1.18, allocations: 0 / 1.379 GB, free: 28.72 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005919/1.18, allocations: 0.5244 MB / 1.379 GB, free: 28.56 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.434e-05/1.18, allocations: 125.6 kB / 1.379 GB, free: 28.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.395e-05/1.18, allocations: 0 / 1.379 GB, free: 28.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002544/1.181, allocations: 45.7 kB / 1.379 GB, free: 28.43 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.408e-05/1.181, allocations: 28.86 kB / 1.379 GB, free: 28.43 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.828e-05/1.181, allocations: 11 kB / 1.379 GB, free: 28.43 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001884/1.181, allocations: 225.1 kB / 1.38 GB, free: 28.35 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.81e-07/1.181, allocations: 0 / 1.38 GB, free: 28.35 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005221/1.182, allocations: 184.6 kB / 1.38 GB, free: 28.3 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (retFanAirTra.conP.I.y,retFanAirTra1.conP.I.y) * Number of discrete variables: 5 ($whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,yFan.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0008497/1.182, allocations: 1.1 MB / 1.381 GB, free: 27.59 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0006456/1.183, allocations: 0.567 MB / 1.381 GB, free: 27.45 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/1.183, allocations: 0 / 1.381 GB, free: 27.45 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001606/1.183, allocations: 139.8 kB / 1.382 GB, free: 27.44 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005162/1.184, allocations: 92.44 kB / 1.382 GB, free: 27.43 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/1.185, allocations: 0.6774 MB / 1.382 GB, free: 27.15 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004084/1.186, allocations: 0.8484 MB / 1.383 GB, free: 26.45 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002761/1.186, allocations: 68.73 kB / 1.383 GB, free: 26.43 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000185/1.186, allocations: 172.6 kB / 1.383 GB, free: 26.42 MB / 0.8386 GB Notification: Performance of SimCode: time 4.41e-07/1.186, allocations: 0 / 1.383 GB, free: 26.42 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.029/1.215, allocations: 8.919 MB / 1.392 GB, free: 23.09 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003051/1.215, allocations: 203.6 kB / 1.392 GB, free: 22.83 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.061/3.276, allocations: 0 / 1.392 GB, free: 22.83 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanAirflowTracking_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanAirflowTracking.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking_res.mat does not exist to compare? outputFormat=mat