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.ReturnFanDirectPressure.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.ReturnFanDirectPressure,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanDirectPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanDirectPressure",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.233/2.233, allocations: 390.5 MB / 398 MB, free: 10.97 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.001444/0.001443, allocations: 184.2 kB / 491.2 MB, free: 1.598 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.451/1.451, allocations: 221.5 MB / 0.7868 GB, free: 13.26 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.0009135/0.0009135, allocations: 87.89 kB / 0.9269 GB, free: 13.75 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.713e-05/2.706e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2614/0.2614, allocations: 143 MB / 1.212 GB, free: 39.36 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9958/1.257, allocations: 152.6 MB / 1.362 GB, free: 17.63 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002475/1.258, allocations: 76.58 kB / 1.362 GB, free: 17.63 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04976/1.307, allocations: 20.73 MB / 1.382 GB, free: 29.94 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.402e-06/1.307, allocations: 0 / 1.382 GB, free: 29.94 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001258/1.308, allocations: 35.09 kB / 1.382 GB, free: 29.94 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: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.00326/1.311, allocations: 1.405 MB / 1.383 GB, free: 28.98 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.329e-05/1.311, allocations: 11.72 kB / 1.383 GB, free: 28.98 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005911/1.311, allocations: 166.8 kB / 1.383 GB, free: 28.89 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00144/1.313, allocations: 0.7403 MB / 1.384 GB, free: 28.47 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001533/1.313, allocations: 137.6 kB / 1.384 GB, free: 28.38 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002697/1.313, allocations: 91.95 kB / 1.384 GB, free: 28.37 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00197/1.315, allocations: 0.8533 MB / 1.385 GB, free: 28.35 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002077/1.317, allocations: 1.056 MB / 1.386 GB, free: 28.1 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.577e-05/1.317, allocations: 3.906 kB / 1.386 GB, free: 28.1 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/1.318, allocations: 0 / 1.386 GB, free: 28.1 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.165e-05/1.318, allocations: 34.67 kB / 1.386 GB, free: 28.1 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006558/1.324, allocations: 3.914 MB / 1.39 GB, free: 26.34 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/1.325, allocations: 0.6971 MB / 1.391 GB, free: 26.28 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004147/1.326, allocations: 323.6 kB / 1.391 GB, free: 26.26 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.932e-05/1.326, allocations: 23.91 kB / 1.391 GB, free: 26.25 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007554/1.327, allocations: 490.2 kB / 1.392 GB, free: 26.05 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=88): time 2.645e-06/1.327, allocations: 0 / 1.392 GB, free: 26.05 MB / 0.8386 GB Notification: Performance of matching and sorting (n=88): time 0.001109/1.328, allocations: 0.6345 MB / 1.392 GB, free: 25.91 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001229/1.328, allocations: 379.9 kB / 1.393 GB, free: 25.46 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008391/1.329, allocations: 0.6164 MB / 1.393 GB, free: 25.29 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.464e-05/1.329, allocations: 29.55 kB / 1.393 GB, free: 25.26 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003966/1.329, allocations: 0.5987 MB / 1.394 GB, free: 24.9 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001822/1.329, allocations: 275.3 kB / 1.394 GB, free: 24.7 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.383e-05/1.329, allocations: 3.438 kB / 1.394 GB, free: 24.7 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001786/1.33, allocations: 397.7 kB / 1.394 GB, free: 24.35 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004648/1.33, allocations: 297.4 kB / 1.395 GB, free: 24.35 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006088/1.331, allocations: 499.2 kB / 1.395 GB, free: 24.14 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006623/1.331, allocations: 354.5 kB / 1.396 GB, free: 24.09 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/1.331, allocations: 3.938 kB / 1.396 GB, free: 24.09 MB / 0.8386 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.001371/1.333, allocations: 0.8837 MB / 1.396 GB, free: 23.91 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002418/1.333, allocations: 0.6585 MB / 1.397 GB, free: 23.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/1.333, allocations: 0 / 1.397 GB, free: 23.23 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.826e-05/1.333, allocations: 11.84 kB / 1.397 GB, free: 23.23 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007703/1.334, allocations: 205 kB / 1.397 GB, free: 23.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.374e-05/1.334, allocations: 7.844 kB / 1.397 GB, free: 23.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008694/1.335, allocations: 175.3 kB / 1.397 GB, free: 23.11 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/1.335, allocations: 39.36 kB / 1.397 GB, free: 23.1 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/1.335, allocations: 3.844 kB / 1.397 GB, free: 23.1 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001205/1.336, allocations: 0.7469 MB / 1.398 GB, free: 23.01 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/1.336, allocations: 3.969 kB / 1.398 GB, free: 23.01 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.728e-06/1.336, allocations: 11.69 kB / 1.398 GB, free: 23 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006582/1.337, allocations: 179.2 kB / 1.398 GB, free: 22.97 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/1.337, allocations: 7.781 kB / 1.398 GB, free: 22.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007038/1.338, allocations: 139 kB / 1.398 GB, free: 22.91 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.226e-05/1.338, allocations: 43.95 kB / 1.399 GB, free: 22.9 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition1,$whenCondition2,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.retFanPre.movMea.mode,retFanPre.movMea.mode,$PRE.retFanPre1.movMea.mode,retFanPre1.movMea.mode,$PRE.retFanPre2.movMea.mode,retFanPre2.movMea.mode,$PRE.yFan.y,yFan.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 121 * 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.0002091/1.338, allocations: 134.8 kB / 1.399 GB, free: 22.78 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008863/1.339, allocations: 0.6195 MB / 1.399 GB, free: 22.64 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/1.339, allocations: 84.34 kB / 1.399 GB, free: 22.6 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001073/1.34, allocations: 0.7364 MB / 1.4 GB, free: 22.43 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.358e-06/1.34, allocations: 11.56 kB / 1.4 GB, free: 22.43 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/1.34, allocations: 3.953 kB / 1.4 GB, free: 22.43 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/1.34, allocations: 3.984 kB / 1.4 GB, free: 22.42 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001986/1.342, allocations: 1.726 MB / 1.402 GB, free: 21.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/1.342, allocations: 0 / 1.402 GB, free: 21.8 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006836/1.343, allocations: 182.3 kB / 1.402 GB, free: 21.76 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.379e-05/1.343, allocations: 0 / 1.402 GB, free: 21.76 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.322e-05/1.343, allocations: 15.45 kB / 1.402 GB, free: 21.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/1.343, allocations: 3.906 kB / 1.402 GB, free: 21.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/1.343, allocations: 3.953 kB / 1.402 GB, free: 21.75 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001364/1.344, allocations: 1.143 MB / 1.403 GB, free: 21.5 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001565/1.344, allocations: 185 kB / 1.403 GB, free: 21.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/1.344, allocations: 3.375 kB / 1.403 GB, free: 21.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000522/1.345, allocations: 81.73 kB / 1.403 GB, free: 21.31 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.594e-05/1.345, allocations: 62.44 kB / 1.403 GB, free: 21.29 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.001e-05/1.345, allocations: 38.22 kB / 1.403 GB, free: 21.28 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0005223/1.346, allocations: 460.1 kB / 1.404 GB, free: 21.16 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.346, allocations: 0 / 1.404 GB, free: 21.16 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001125/1.347, allocations: 460.5 kB / 1.404 GB, free: 21.03 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (retFanPre.movMea.mu,retFanPre.conP.I.y,retFanPre1.movMea.mu,retFanPre1.conP.I.y,retFanPre2.movMea.mu,retFanPre2.conP.I.y) * Number of discrete variables: 12 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,retFanPre.movMea.mode,retFanPre1.movMea.mode,retFanPre2.movMea.mode,yFan.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001735/1.349, allocations: 1.734 MB / 1.406 GB, free: 20.22 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001833/1.35, allocations: 1.306 MB / 1.407 GB, free: 19.41 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/1.35, allocations: 7.938 kB / 1.407 GB, free: 19.4 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0004218/1.351, allocations: 346.6 kB / 1.408 GB, free: 19.18 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009654/1.352, allocations: 178.4 kB / 1.408 GB, free: 19.04 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003012/1.355, allocations: 1.576 MB / 1.409 GB, free: 17.6 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006806/1.356, allocations: 1.138 MB / 1.41 GB, free: 16.43 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0007656/1.356, allocations: 163.1 kB / 1.411 GB, free: 16.27 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004988/1.357, allocations: 478.4 kB / 1.411 GB, free: 16.16 MB / 0.8386 GB Notification: Performance of SimCode: time 5.61e-07/1.357, allocations: 0 / 1.411 GB, free: 16.16 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05142/1.408, allocations: 20.19 MB / 1.431 GB, free: 12.17 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002518/1.409, allocations: 202.4 kB / 1.431 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.588/3.996, allocations: 1.375 kB / 1.431 GB, free: 11.91 MB / 0.8542 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanDirectPressure_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanDirectPressure.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.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.ReturnFanDirectPressure_res.mat does not exist to compare? outputFormat=mat