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.144/2.144, allocations: 390.3 MB / 402.8 MB, free: 6.691 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.001095/0.001095, allocations: 168.9 kB / 496.1 MB, free: 12.88 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.437/1.437, allocations: 221.3 MB / 0.7915 GB, free: 5.383 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.0009122/0.0009122, allocations: 99.62 kB / 0.9318 GB, free: 5.691 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.502e-05/2.512e-05, allocations: 0 / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.2174, allocations: 143 MB / 1.219 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7753/0.9928, allocations: 152.4 MB / 1.368 GB, free: 1.699 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000237/0.9931, allocations: 81.25 kB / 1.368 GB, free: 1.652 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0243/1.017, allocations: 9.172 MB / 1.377 GB, free: 9.895 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.813e-06/1.017, allocations: 0 / 1.377 GB, free: 9.895 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.87e-05/1.017, allocations: 12 kB / 1.377 GB, free: 9.883 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.001298/1.019, allocations: 0.7592 MB / 1.378 GB, free: 9.109 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/1.019, allocations: 12.03 kB / 1.378 GB, free: 9.098 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001292/1.019, allocations: 83.14 kB / 1.378 GB, free: 9.035 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000168/1.019, allocations: 71.19 kB / 1.378 GB, free: 8.965 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005855/1.02, allocations: 407.2 kB / 1.378 GB, free: 8.598 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.286e-05/1.02, allocations: 37.81 kB / 1.378 GB, free: 8.578 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.592e-05/1.02, allocations: 61.39 kB / 1.378 GB, free: 8.535 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007679/1.021, allocations: 464.8 kB / 1.379 GB, free: 8.219 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/1.021, allocations: 0 / 1.379 GB, free: 8.219 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.927e-05/1.021, allocations: 18.88 kB / 1.379 GB, free: 8.215 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/1.021, allocations: 12 kB / 1.379 GB, free: 8.203 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005318/1.021, allocations: 307.3 kB / 1.379 GB, free: 8.02 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002332/1.024, allocations: 1.636 MB / 1.381 GB, free: 6.719 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007478/1.024, allocations: 0.5289 MB / 1.381 GB, free: 6.277 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004033/1.025, allocations: 230.2 kB / 1.381 GB, free: 6.121 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.961e-05/1.025, allocations: 11.52 kB / 1.381 GB, free: 6.113 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003197/1.025, allocations: 206.1 kB / 1.382 GB, free: 5.953 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=37): time 2.274e-06/1.025, allocations: 0 / 1.382 GB, free: 5.953 MB / 0.8386 GB Notification: Performance of matching and sorting (n=37): time 0.0005409/1.026, allocations: 311.9 kB / 1.382 GB, free: 5.723 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.683e-05/1.026, allocations: 114.6 kB / 1.382 GB, free: 5.586 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003929/1.026, allocations: 378.4 kB / 1.382 GB, free: 5.305 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.027e-05/1.026, allocations: 33.27 kB / 1.382 GB, free: 5.27 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001655/1.026, allocations: 253.1 kB / 1.383 GB, free: 5.098 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/1.027, allocations: 120.8 kB / 1.383 GB, free: 4.992 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.738e-05/1.027, allocations: 10.62 kB / 1.383 GB, free: 4.988 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001169/1.027, allocations: 360.9 kB / 1.383 GB, free: 4.645 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001927/1.027, allocations: 118.1 kB / 1.383 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002446/1.027, allocations: 200.1 kB / 1.383 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002222/1.027, allocations: 155.3 kB / 1.383 GB, free: 4.297 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/1.027, allocations: 0 / 1.383 GB, free: 4.297 MB / 0.8386 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006199/1.028, allocations: 422 kB / 1.384 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.000191/1.028, allocations: 482.7 kB / 1.384 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/1.028, allocations: 3.938 kB / 1.384 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/1.028, allocations: 4 kB / 1.384 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003532/1.029, allocations: 91.69 kB / 1.384 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/1.029, allocations: 4 kB / 1.384 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004328/1.029, allocations: 106.4 kB / 1.385 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.485e-05/1.029, allocations: 12 kB / 1.385 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.236e-06/1.029, allocations: 4 kB / 1.385 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005074/1.03, allocations: 353.1 kB / 1.385 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/1.03, allocations: 0 / 1.385 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.791e-06/1.03, allocations: 4 kB / 1.385 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002814/1.03, allocations: 70.97 kB / 1.385 GB, free: 2.945 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/1.03, allocations: 11.91 kB / 1.385 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000386/1.03, allocations: 91.53 kB / 1.385 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.079e-05/1.03, allocations: 19.61 kB / 1.385 GB, free: 2.832 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.0001082/1.031, allocations: 131.7 kB / 1.385 GB, free: 2.711 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.795e-05/1.031, allocations: 43.44 kB / 1.385 GB, free: 2.668 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001012/1.031, allocations: 52.77 kB / 1.385 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/1.031, allocations: 4 kB / 1.385 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/1.031, allocations: 0 / 1.385 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/1.031, allocations: 3.953 kB / 1.385 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001202/1.032, allocations: 0.9822 MB / 1.386 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/1.032, allocations: 7.984 kB / 1.386 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003623/1.032, allocations: 87.19 kB / 1.386 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.94e-06/1.032, allocations: 0 / 1.386 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.406e-05/1.032, allocations: 7 kB / 1.386 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.92e-06/1.032, allocations: 7.953 kB / 1.386 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/1.032, allocations: 0 / 1.386 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006881/1.033, allocations: 0.5643 MB / 1.387 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/1.033, allocations: 130.7 kB / 1.387 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.878e-05/1.033, allocations: 7.859 kB / 1.387 GB, free: 1.211 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002777/1.034, allocations: 45.72 kB / 1.387 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.164e-05/1.034, allocations: 27.05 kB / 1.387 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.248e-05/1.034, allocations: 15.3 kB / 1.387 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002973/1.034, allocations: 296.7 kB / 1.387 GB, free: 0.918 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.034, allocations: 3.938 kB / 1.387 GB, free: 0.9141 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005284/1.034, allocations: 191.5 kB / 1.388 GB, free: 0.7422 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.001085/1.036, allocations: 1.139 MB / 1.389 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0008591/1.036, allocations: 0.6002 MB / 1.389 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/1.036, allocations: 0 / 1.389 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002099/1.037, allocations: 144.6 kB / 1.389 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005276/1.037, allocations: 94.23 kB / 1.39 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001441/1.039, allocations: 0.727 MB / 1.39 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003839/1.039, allocations: 0.8564 MB / 1.391 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0003339/1.039, allocations: 67.3 kB / 1.391 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001984/1.04, allocations: 172.9 kB / 1.391 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of SimCode: time 2.9e-07/1.04, allocations: 0 / 1.391 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02668/1.066, allocations: 10.41 MB / 1.401 GB, free: 3.352 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00018/1.067, allocations: 231.2 kB / 1.402 GB, free: 3.105 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.329/3.395, allocations: 0 / 1.402 GB, free: 3.105 MB / 0.8542 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