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.351/2.351, allocations: 393.5 MB / 408.4 MB, free: 11.08 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.001576/0.001576, allocations: 182.9 kB / 0.4901 GB, free: 2.246 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.531/1.531, allocations: 223.1 MB / 0.7992 GB, free: 14.73 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.001153/0.001152, allocations: 91 kB / 0.9396 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003564/0.0003565, allocations: 12.33 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2548/0.2551, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1728/0.428, allocations: 152.5 MB / 1.378 GB, free: 0.8984 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000278/0.4283, allocations: 79.94 kB / 1.378 GB, free: 0.8203 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02455/0.4529, allocations: 9.205 MB / 1.387 GB, free: 7.594 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.695e-06/0.4529, allocations: 0 / 1.387 GB, free: 7.594 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.156e-05/0.453, allocations: 12 kB / 1.387 GB, free: 7.582 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: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001612/0.4546, allocations: 0.8341 MB / 1.388 GB, free: 6.691 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 7.868e-05/0.4547, allocations: 12.56 kB / 1.388 GB, free: 6.68 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000182/0.4549, allocations: 90.52 kB / 1.388 GB, free: 6.582 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001673/0.4551, allocations: 71.19 kB / 1.388 GB, free: 6.512 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006595/0.4557, allocations: 416.8 kB / 1.389 GB, free: 6.062 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.082e-05/0.4558, allocations: 37 kB / 1.389 GB, free: 6.027 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.686e-05/0.4559, allocations: 48 kB / 1.389 GB, free: 5.98 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00102/0.4569, allocations: 0.5146 MB / 1.389 GB, free: 5.445 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.4569, allocations: 0 / 1.389 GB, free: 5.445 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.348e-05/0.457, allocations: 24 kB / 1.389 GB, free: 5.422 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.457, allocations: 11.94 kB / 1.389 GB, free: 5.41 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009921/0.458, allocations: 439.7 kB / 1.39 GB, free: 4.984 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002551/0.4606, allocations: 1.637 MB / 1.391 GB, free: 3.281 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001163/0.4618, allocations: 0.6406 MB / 1.392 GB, free: 2.598 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.464e-05/0.4618, allocations: 8.219 kB / 1.392 GB, free: 2.59 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005841/0.4624, allocations: 270.9 kB / 1.392 GB, free: 2.312 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=37): time 2.375e-06/0.4624, allocations: 0 / 1.392 GB, free: 2.312 MB / 0.8855 GB Notification: Performance of matching and sorting (n=37): time 0.001384/0.4638, allocations: 0.5785 MB / 1.393 GB, free: 1.727 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.825e-05/0.4639, allocations: 110.8 kB / 1.393 GB, free: 1.594 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004813/0.4644, allocations: 389.1 kB / 1.393 GB, free: 1.215 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.973e-05/0.4644, allocations: 33.7 kB / 1.393 GB, free: 1.176 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002087/0.4647, allocations: 260.5 kB / 1.394 GB, free: 0.9141 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001047/0.4648, allocations: 118.3 kB / 1.394 GB, free: 0.7969 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.849e-05/0.4648, allocations: 8 kB / 1.394 GB, free: 0.7891 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.4649, allocations: 354.8 kB / 1.394 GB, free: 444 kB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000463/0.4654, allocations: 184.2 kB / 1.394 GB, free: 256 kB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005118/0.4659, allocations: 253 kB / 1.394 GB, free: 15.98 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004694/0.4664, allocations: 222.6 kB / 1.395 GB, free: 15.75 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.4664, allocations: 7.953 kB / 1.395 GB, free: 15.75 MB / 0.9011 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001131/0.4676, allocations: 0.5296 MB / 1.395 GB, free: 15.2 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002274/0.4678, allocations: 480.5 kB / 1.396 GB, free: 14.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.4678, allocations: 4 kB / 1.396 GB, free: 14.69 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/0.4679, allocations: 0 / 1.396 GB, free: 14.69 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003778/0.4682, allocations: 95.81 kB / 1.396 GB, free: 14.6 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.4683, allocations: 4 kB / 1.396 GB, free: 14.59 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004599/0.4687, allocations: 103.6 kB / 1.396 GB, free: 14.49 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.07e-05/0.4688, allocations: 15.98 kB / 1.396 GB, free: 14.48 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.4688, allocations: 4 kB / 1.396 GB, free: 14.47 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000831/0.4696, allocations: 421.2 kB / 1.396 GB, free: 14.05 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.4697, allocations: 4 kB / 1.396 GB, free: 14.05 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.378e-06/0.4697, allocations: 0 / 1.396 GB, free: 14.05 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000278/0.4699, allocations: 80.02 kB / 1.396 GB, free: 13.97 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.47, allocations: 4 kB / 1.396 GB, free: 13.97 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003987/0.4704, allocations: 95.58 kB / 1.396 GB, free: 13.88 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.969e-05/0.4704, allocations: 12 kB / 1.396 GB, free: 13.86 MB / 0.9011 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 () * Number of clocked 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.0003186/0.4707, allocations: 261.9 kB / 1.397 GB, free: 13.6 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.294e-05/0.4708, allocations: 43.44 kB / 1.397 GB, free: 13.55 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001082/0.4709, allocations: 48.53 kB / 1.397 GB, free: 13.51 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.4709, allocations: 4 kB / 1.397 GB, free: 13.5 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.4709, allocations: 0 / 1.397 GB, free: 13.5 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/0.471, allocations: 15.88 kB / 1.397 GB, free: 13.49 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001776/0.4727, allocations: 1.103 MB / 1.398 GB, free: 12.33 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.4728, allocations: 0 / 1.398 GB, free: 12.33 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003541/0.4731, allocations: 83.88 kB / 1.398 GB, free: 12.25 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.4731, allocations: 0 / 1.398 GB, free: 12.25 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.007e-05/0.4732, allocations: 12 kB / 1.398 GB, free: 12.23 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.4732, allocations: 3.953 kB / 1.398 GB, free: 12.23 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.4732, allocations: 0 / 1.398 GB, free: 12.23 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001377/0.4746, allocations: 0.745 MB / 1.399 GB, free: 11.47 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000167/0.4748, allocations: 124.5 kB / 1.399 GB, free: 11.33 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.075e-05/0.4748, allocations: 12.05 kB / 1.399 GB, free: 11.32 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002839/0.4751, allocations: 51.91 kB / 1.399 GB, free: 11.27 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.337e-05/0.4752, allocations: 23.92 kB / 1.399 GB, free: 11.24 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-05/0.4752, allocations: 15.98 kB / 1.399 GB, free: 11.23 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0003616/0.4756, allocations: 303.2 kB / 1.399 GB, free: 10.93 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.61e-07/0.4756, allocations: 0 / 1.399 GB, free: 10.93 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0006014/0.4762, allocations: 191.4 kB / 1.399 GB, free: 10.74 MB / 0.9011 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 () * Number of clocked 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.001749/0.478, allocations: 1.307 MB / 1.401 GB, free: 9.41 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0015/0.4795, allocations: 0.7488 MB / 1.401 GB, free: 8.637 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4795, allocations: 0.5 kB / 1.401 GB, free: 8.637 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0004447/0.48, allocations: 215.5 kB / 1.402 GB, free: 8.426 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005648/0.4805, allocations: 93.39 kB / 1.402 GB, free: 8.336 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002673/0.4832, allocations: 1.996 MB / 1.404 GB, free: 6.266 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004412/0.4837, allocations: 0.8471 MB / 1.404 GB, free: 5.391 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002786/0.484, allocations: 63.39 kB / 1.405 GB, free: 5.328 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002589/0.4842, allocations: 179.4 kB / 1.405 GB, free: 5.152 MB / 0.9011 GB Notification: Performance of SimCode: time 7.12e-07/0.4842, allocations: 0 / 1.405 GB, free: 5.152 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02482/0.5091, allocations: 9.695 MB / 1.414 GB, free: 11.75 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001959/0.5093, allocations: 245.3 kB / 1.414 GB, free: 11.5 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.237/2.747, allocations: 0 / 1.414 GB, free: 11.5 MB / 0.9167 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