Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.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_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanDirectPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_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 9.1.1-maint.9.1.x/package.mo): time 2.3/2.3, allocations: 387.1 MB / 399.7 MB, free: 9.422 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.00141/0.00141, allocations: 174.6 kB / 492.3 MB, free: 0.6016 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.485/1.485, allocations: 221.3 MB / 0.7871 GB, free: 12.86 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.000834/0.000834, allocations: 90.72 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.029e-05/5.038e-05, allocations: 4 kB / 1.074 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2539, allocations: 142.3 MB / 1.213 GB, free: 38.33 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8247/1.079, allocations: 152 MB / 1.361 GB, free: 19.07 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002142/1.079, allocations: 76.91 kB / 1.361 GB, free: 19.07 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03634/1.115, allocations: 15.42 MB / 1.376 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.653e-06/1.115, allocations: 3.875 kB / 1.376 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.879e-05/1.115, allocations: 22.92 kB / 1.376 GB, free: 33.47 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.001944/1.117, allocations: 1.07 MB / 1.377 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/1.117, allocations: 11.34 kB / 1.377 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001813/1.118, allocations: 134 kB / 1.377 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002249/1.118, allocations: 111.8 kB / 1.377 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007661/1.119, allocations: 0.565 MB / 1.378 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001183/1.119, allocations: 149.8 kB / 1.378 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/1.119, allocations: 88.31 kB / 1.378 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00128/1.12, allocations: 0.808 MB / 1.379 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.748e-05/1.12, allocations: 0 / 1.379 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.102e-05/1.12, allocations: 33.94 kB / 1.379 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/1.12, allocations: 19.09 kB / 1.379 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001001/1.121, allocations: 0.6045 MB / 1.38 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00362/1.125, allocations: 2.672 MB / 1.382 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009102/1.126, allocations: 0.5271 MB / 1.383 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003343/1.126, allocations: 244.8 kB / 1.383 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.966e-05/1.126, allocations: 19.84 kB / 1.383 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005153/1.127, allocations: 389.1 kB / 1.383 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=64): time 2.495e-06/1.127, allocations: 0 / 1.383 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of matching and sorting (n=64): time 0.0008775/1.128, allocations: 0.5281 MB / 1.384 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.359e-05/1.128, allocations: 294.4 kB / 1.384 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007626/1.128, allocations: 0.6784 MB / 1.385 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.475e-05/1.129, allocations: 42.52 kB / 1.385 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002499/1.129, allocations: 390.4 kB / 1.385 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001304/1.129, allocations: 208 kB / 1.385 GB, free: 29.35 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.274e-05/1.129, allocations: 14.47 kB / 1.385 GB, free: 29.35 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001047/1.129, allocations: 333.4 kB / 1.386 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003503/1.129, allocations: 224 kB / 1.386 GB, free: 29.03 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004087/1.13, allocations: 379.3 kB / 1.386 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003847/1.13, allocations: 273.5 kB / 1.387 GB, free: 28.82 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/1.13, allocations: 3.953 kB / 1.387 GB, free: 28.81 MB / 0.8386 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0009664/1.131, allocations: 0.7136 MB / 1.387 GB, free: 28.64 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001795/1.131, allocations: 401.7 kB / 1.388 GB, free: 28.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/1.131, allocations: 3.984 kB / 1.388 GB, free: 28.23 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/1.131, allocations: 11.72 kB / 1.388 GB, free: 28.22 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000572/1.132, allocations: 142.1 kB / 1.388 GB, free: 28.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/1.132, allocations: 3.812 kB / 1.388 GB, free: 28.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006749/1.133, allocations: 189.4 kB / 1.388 GB, free: 28.11 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.43e-05/1.133, allocations: 26.33 kB / 1.388 GB, free: 28.11 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.207e-06/1.133, allocations: 5.094 kB / 1.388 GB, free: 28.11 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008289/1.134, allocations: 0.6034 MB / 1.389 GB, free: 28.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/1.134, allocations: 0 / 1.389 GB, free: 28.02 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.062e-06/1.134, allocations: 3.844 kB / 1.389 GB, free: 28.02 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004546/1.134, allocations: 130.1 kB / 1.389 GB, free: 27.99 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/1.134, allocations: 3.844 kB / 1.389 GB, free: 27.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000576/1.135, allocations: 159.8 kB / 1.389 GB, free: 27.92 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.42e-05/1.135, allocations: 29.58 kB / 1.389 GB, free: 27.92 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition1,$PRE.retFanPre.movMea.mode,retFanPre.movMea.mode,$PRE.yFan.y,yFan.y,$PRE.retFanPre1.movMea.mode,retFanPre1.movMea.mode,$PRE.retFanPre2.movMea.mode,retFanPre2.movMea.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 82 * 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.0001643/1.135, allocations: 145.2 kB / 1.389 GB, free: 27.8 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.478e-05/1.135, allocations: 92.81 kB / 1.389 GB, free: 27.75 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009523/1.136, allocations: 0.6139 MB / 1.39 GB, free: 27.61 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/1.136, allocations: 7.844 kB / 1.39 GB, free: 27.61 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/1.136, allocations: 4 kB / 1.39 GB, free: 27.61 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/1.136, allocations: 3.984 kB / 1.39 GB, free: 27.6 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001527/1.138, allocations: 1.518 MB / 1.391 GB, free: 26.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/1.138, allocations: 0 / 1.391 GB, free: 26.95 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005203/1.138, allocations: 137.8 kB / 1.391 GB, free: 26.92 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/1.138, allocations: 8.094 kB / 1.391 GB, free: 26.91 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.035e-05/1.138, allocations: 18.52 kB / 1.391 GB, free: 26.91 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/1.138, allocations: 7.859 kB / 1.391 GB, free: 26.91 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/1.138, allocations: 3.938 kB / 1.391 GB, free: 26.9 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001167/1.139, allocations: 1.053 MB / 1.393 GB, free: 26.52 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/1.14, allocations: 188 kB / 1.393 GB, free: 26.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.464e-05/1.14, allocations: 22.25 kB / 1.393 GB, free: 26.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004543/1.14, allocations: 83.95 kB / 1.393 GB, free: 26.33 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.344e-05/1.14, allocations: 47.3 kB / 1.393 GB, free: 26.31 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-05/1.14, allocations: 21.81 kB / 1.393 GB, free: 26.31 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0005526/1.141, allocations: 0.5227 MB / 1.393 GB, free: 26.18 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.141, allocations: 0 / 1.393 GB, free: 26.18 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000695/1.142, allocations: 300.9 kB / 1.394 GB, free: 26.15 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (retFanPre.movMea.mu,retFanPre1.movMea.mu,retFanPre2.movMea.mu) * Number of discrete variables: 9 ($whenCondition5,$whenCondition4,$whenCondition2,$whenCondition3,$whenCondition1,retFanPre.movMea.mode,yFan.y,retFanPre1.movMea.mode,retFanPre2.movMea.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 66 * 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.001541/1.143, allocations: 2.071 MB / 1.396 GB, free: 24.8 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001333/1.144, allocations: 1.017 MB / 1.397 GB, free: 24.62 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/1.144, allocations: 7.938 kB / 1.397 GB, free: 24.61 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003625/1.145, allocations: 280.7 kB / 1.397 GB, free: 24.59 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007915/1.146, allocations: 163.8 kB / 1.397 GB, free: 24.54 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002044/1.148, allocations: 1.196 MB / 1.398 GB, free: 23.99 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000431/1.148, allocations: 0.983 MB / 1.399 GB, free: 23.16 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0005535/1.149, allocations: 146.5 kB / 1.399 GB, free: 23.09 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003401/1.149, allocations: 321.6 kB / 1.4 GB, free: 23.05 MB / 0.8386 GB Notification: Performance of SimCode: time 9.32e-07/1.149, allocations: 0 / 1.4 GB, free: 23.05 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03048/1.18, allocations: 18.09 MB / 1.417 GB, free: 7.105 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001904/1.18, allocations: 210.2 kB / 1.418 GB, free: 6.879 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.556/3.736, allocations: 1.547 kB / 1.418 GB, free: 6.879 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanDirectPressure_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanDirectPressure.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure_res.mat does not exist to compare? outputFormat=mat