Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking.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.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.246/2.246, allocations: 387.1 MB / 399.7 MB, free: 9.473 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.0009616/0.0009616, allocations: 176.8 kB / 492.3 MB, free: 0.6055 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.407/1.407, allocations: 221.3 MB / 0.7871 GB, free: 12.96 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.0008568/0.0008568, allocations: 95.88 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.627e-05/3.638e-05, allocations: 4 kB / 1.074 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.2253, allocations: 142.3 MB / 1.213 GB, free: 38.35 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.044/1.27, allocations: 151.6 MB / 1.361 GB, free: 19.09 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002454/1.27, allocations: 76.19 kB / 1.361 GB, free: 19.09 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02836/1.298, allocations: 9.169 MB / 1.37 GB, free: 34.23 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.673e-06/1.298, allocations: 0 / 1.37 GB, free: 34.23 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.647e-05/1.298, allocations: 15.31 kB / 1.37 GB, free: 34.23 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.001476/1.3, allocations: 0.7659 MB / 1.37 GB, free: 33.7 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/1.3, allocations: 11.53 kB / 1.37 GB, free: 33.7 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001419/1.3, allocations: 82.81 kB / 1.371 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001791/1.3, allocations: 70.09 kB / 1.371 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007004/1.301, allocations: 410.7 kB / 1.371 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.411e-05/1.301, allocations: 41.41 kB / 1.371 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/1.301, allocations: 50.94 kB / 1.371 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/1.302, allocations: 457 kB / 1.371 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.832e-05/1.302, allocations: 7.906 kB / 1.371 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.554e-05/1.302, allocations: 21.91 kB / 1.372 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.312e-05/1.302, allocations: 11.56 kB / 1.372 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007628/1.303, allocations: 311.4 kB / 1.372 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002873/1.306, allocations: 1.63 MB / 1.373 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009293/1.307, allocations: 0.5306 MB / 1.374 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000515/1.308, allocations: 234.9 kB / 1.374 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.988e-05/1.308, allocations: 4.125 kB / 1.374 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004121/1.308, allocations: 200.3 kB / 1.374 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=37): time 2.464e-06/1.308, allocations: 4 kB / 1.374 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of matching and sorting (n=37): time 0.0006914/1.309, allocations: 310 kB / 1.375 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/1.309, allocations: 106.7 kB / 1.375 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005783/1.309, allocations: 382.8 kB / 1.375 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.769e-05/1.309, allocations: 32.98 kB / 1.375 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001892/1.31, allocations: 253.1 kB / 1.375 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.169e-05/1.31, allocations: 124.4 kB / 1.376 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.282e-05/1.31, allocations: 11.28 kB / 1.376 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001469/1.31, allocations: 352 kB / 1.376 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002942/1.31, allocations: 122.4 kB / 1.376 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003302/1.311, allocations: 196.6 kB / 1.376 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003179/1.311, allocations: 160 kB / 1.376 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/1.311, allocations: 0 / 1.376 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008945/1.312, allocations: 421.4 kB / 1.377 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.000271/1.312, allocations: 483.3 kB / 1.377 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/1.312, allocations: 3.984 kB / 1.377 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.527e-05/1.312, allocations: 3.812 kB / 1.377 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005089/1.313, allocations: 92.78 kB / 1.377 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.697e-05/1.313, allocations: 3.938 kB / 1.377 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006323/1.313, allocations: 103.6 kB / 1.377 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.251e-05/1.313, allocations: 21.92 kB / 1.377 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/1.313, allocations: 3.969 kB / 1.377 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007617/1.314, allocations: 347.1 kB / 1.378 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/1.314, allocations: 6.797 kB / 1.378 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.115e-06/1.314, allocations: 7.781 kB / 1.378 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000395/1.315, allocations: 68.66 kB / 1.378 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.295e-05/1.315, allocations: 6.578 kB / 1.378 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005485/1.315, allocations: 94.8 kB / 1.378 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.658e-05/1.315, allocations: 21.45 kB / 1.378 GB, free: 30.73 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.0001913/1.315, allocations: 126.7 kB / 1.378 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/1.316, allocations: 46.66 kB / 1.378 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002135/1.316, allocations: 46.23 kB / 1.378 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/1.316, allocations: 3.844 kB / 1.378 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/1.316, allocations: 3.969 kB / 1.378 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.158e-06/1.316, allocations: 2.953 kB / 1.378 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0018/1.318, allocations: 0.9848 MB / 1.379 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/1.318, allocations: 0 / 1.379 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004787/1.318, allocations: 88.75 kB / 1.379 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.154e-05/1.318, allocations: 3.812 kB / 1.379 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.725e-05/1.318, allocations: 3.75 kB / 1.379 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/1.318, allocations: 3.969 kB / 1.379 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.318, allocations: 3.953 kB / 1.379 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009819/1.319, allocations: 0.5648 MB / 1.38 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001201/1.319, allocations: 127.6 kB / 1.38 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.312e-05/1.319, allocations: 9.156 kB / 1.38 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004115/1.32, allocations: 39.73 kB / 1.38 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.637e-05/1.32, allocations: 35.33 kB / 1.38 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.139e-05/1.32, allocations: 18.02 kB / 1.38 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.000469/1.321, allocations: 297.5 kB / 1.38 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.31e-07/1.321, allocations: 0 / 1.38 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0008558/1.321, allocations: 192.7 kB / 1.38 GB, free: 29.82 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.001416/1.323, allocations: 1.128 MB / 1.382 GB, free: 29.13 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001231/1.324, allocations: 0.6097 MB / 1.382 GB, free: 28.97 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/1.324, allocations: 0 / 1.382 GB, free: 28.97 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002942/1.324, allocations: 146.6 kB / 1.382 GB, free: 28.96 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007406/1.325, allocations: 100 kB / 1.382 GB, free: 28.95 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001973/1.327, allocations: 0.7367 MB / 1.383 GB, free: 28.67 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005029/1.328, allocations: 0.8529 MB / 1.384 GB, free: 27.96 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0004611/1.328, allocations: 72.95 kB / 1.384 GB, free: 27.95 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002668/1.328, allocations: 173.8 kB / 1.384 GB, free: 27.94 MB / 0.8386 GB Notification: Performance of SimCode: time 4.21e-07/1.328, allocations: 0 / 1.384 GB, free: 27.94 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02866/1.357, allocations: 10.41 MB / 1.394 GB, free: 23.65 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001885/1.357, allocations: 211.4 kB / 1.395 GB, free: 23.42 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.209/3.566, allocations: 0 / 1.395 GB, free: 23.42 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanAirflowTracking_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanAirflowTracking.fmu > Buildings_9_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_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking_res.mat does not exist to compare? outputFormat=mat