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.294/2.294, allocations: 393.5 MB / 408.4 MB, free: 10.88 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.001245/0.001245, allocations: 187.3 kB / 0.4901 GB, free: 2.074 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.584/1.584, allocations: 223.1 MB / 0.7992 GB, free: 15.7 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.0008553/0.0008552, allocations: 104.3 kB / 0.9396 GB, free: 2.848 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003897/0.0003897, allocations: 9.438 kB / 1.09 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2723, allocations: 143 MB / 1.229 GB, free: 85.31 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1871/0.4594, allocations: 153.3 MB / 1.379 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002921/0.4598, allocations: 83.94 kB / 1.379 GB, free: 11.68 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.05248/0.5123, allocations: 20.93 MB / 1.4 GB, free: 6.707 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.364e-06/0.5123, allocations: 0 / 1.4 GB, free: 6.707 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001058/0.5124, allocations: 36 kB / 1.4 GB, free: 6.672 MB / 0.9011 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.003396/0.5159, allocations: 1.55 MB / 1.401 GB, free: 5.055 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.5159, allocations: 8.562 kB / 1.401 GB, free: 5.047 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004459/0.5164, allocations: 198.5 kB / 1.401 GB, free: 4.844 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004353/0.5168, allocations: 178 kB / 1.402 GB, free: 4.668 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001369/0.5182, allocations: 0.7368 MB / 1.402 GB, free: 3.887 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001819/0.5184, allocations: 187.8 kB / 1.402 GB, free: 3.684 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002459/0.5186, allocations: 136 kB / 1.403 GB, free: 3.551 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002623/0.5213, allocations: 1.326 MB / 1.404 GB, free: 2.188 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.544e-05/0.5213, allocations: 4 kB / 1.404 GB, free: 2.184 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001105/0.5214, allocations: 52 kB / 1.404 GB, free: 2.133 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.817e-05/0.5215, allocations: 32 kB / 1.404 GB, free: 2.102 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002156/0.5236, allocations: 1.068 MB / 1.405 GB, free: 1.027 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5915/1.115, allocations: 4.239 MB / 1.409 GB, free: 160.7 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001818/1.117, allocations: 0.885 MB / 1.41 GB, free: 160.7 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 6.926e-05/1.117, allocations: 14.39 kB / 1.41 GB, free: 160.7 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001094/1.118, allocations: 0.5817 MB / 1.411 GB, free: 160.5 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=88): time 2.805e-06/1.118, allocations: 0 / 1.411 GB, free: 160.5 MB / 0.9011 GB Notification: Performance of matching and sorting (n=88): time 0.002776/1.121, allocations: 1.129 MB / 1.412 GB, free: 160.4 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001577/1.121, allocations: 373.8 kB / 1.412 GB, free: 160 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001825/1.123, allocations: 0.9835 MB / 1.413 GB, free: 159.8 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.000142/1.123, allocations: 50.28 kB / 1.413 GB, free: 159.8 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005557/1.124, allocations: 0.5784 MB / 1.414 GB, free: 159.6 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002675/1.124, allocations: 288 kB / 1.414 GB, free: 159.5 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.647e-05/1.124, allocations: 22.25 kB / 1.414 GB, free: 159.5 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.000105/1.124, allocations: 341.5 kB / 1.414 GB, free: 159.2 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008808/1.125, allocations: 384.9 kB / 1.415 GB, free: 159.2 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001193/1.126, allocations: 0.5717 MB / 1.415 GB, free: 159 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00113/1.127, allocations: 459.9 kB / 1.416 GB, free: 158.9 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.375e-06/1.128, allocations: 1.156 kB / 1.416 GB, free: 158.9 MB / 0.9011 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002459/1.13, allocations: 1.124 MB / 1.417 GB, free: 158.8 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001835/1.13, allocations: 0.664 MB / 1.417 GB, free: 158.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/1.13, allocations: 1.5 kB / 1.417 GB, free: 158.1 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.782e-05/1.13, allocations: 6.422 kB / 1.417 GB, free: 158.1 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009008/1.131, allocations: 200.6 kB / 1.418 GB, free: 158.1 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.957e-05/1.131, allocations: 12.14 kB / 1.418 GB, free: 158.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001154/1.132, allocations: 228.8 kB / 1.418 GB, free: 158.1 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.51e-05/1.132, allocations: 39.06 kB / 1.418 GB, free: 158.1 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/1.132, allocations: 12.06 kB / 1.418 GB, free: 158.1 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001738/1.134, allocations: 0.905 MB / 1.419 GB, free: 158 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/1.134, allocations: 4.828 kB / 1.419 GB, free: 158 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/1.134, allocations: 10.88 kB / 1.419 GB, free: 158 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007519/1.135, allocations: 179.6 kB / 1.419 GB, free: 158 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.406e-05/1.135, allocations: 10.86 kB / 1.419 GB, free: 158 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001047/1.136, allocations: 202.2 kB / 1.419 GB, free: 158 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/1.136, allocations: 39.81 kB / 1.419 GB, free: 158 MB / 0.9011 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 () * Number of clocked 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.0008087/1.137, allocations: 373 kB / 1.419 GB, free: 157.8 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002491/1.137, allocations: 120.2 kB / 1.42 GB, free: 157.7 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002061/1.139, allocations: 0.9577 MB / 1.421 GB, free: 157.6 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.571e-05/1.139, allocations: 9.625 kB / 1.421 GB, free: 157.6 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/1.139, allocations: 0 / 1.421 GB, free: 157.6 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.57e-05/1.139, allocations: 4.781 kB / 1.421 GB, free: 157.6 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003942/1.143, allocations: 2.105 MB / 1.423 GB, free: 157.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/1.143, allocations: 2.141 kB / 1.423 GB, free: 157.2 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008743/1.144, allocations: 176.4 kB / 1.423 GB, free: 157.2 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.321e-05/1.144, allocations: 3 kB / 1.423 GB, free: 157.2 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.706e-05/1.144, allocations: 25.02 kB / 1.423 GB, free: 157.2 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.877e-06/1.144, allocations: 8.078 kB / 1.423 GB, free: 157.2 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.144, allocations: 3.953 kB / 1.423 GB, free: 157.2 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002786/1.147, allocations: 1.43 MB / 1.424 GB, free: 157 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003883/1.148, allocations: 227 kB / 1.424 GB, free: 156.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001329/1.148, allocations: 26.34 kB / 1.424 GB, free: 156.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006127/1.148, allocations: 93.34 kB / 1.425 GB, free: 156.8 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/1.149, allocations: 57.02 kB / 1.425 GB, free: 156.8 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.55e-05/1.149, allocations: 35.66 kB / 1.425 GB, free: 156.8 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001208/1.15, allocations: 0.7476 MB / 1.425 GB, free: 156.7 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.71e-07/1.15, allocations: 5.094 kB / 1.425 GB, free: 156.7 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001598/1.151, allocations: 455.8 kB / 1.426 GB, free: 156.6 MB / 0.9011 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 () * Number of clocked 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.003093/1.155, allocations: 2.037 MB / 1.428 GB, free: 155.9 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.003203/1.158, allocations: 1.506 MB / 1.429 GB, free: 155.7 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/1.158, allocations: 3.047 kB / 1.429 GB, free: 155.7 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0008431/1.159, allocations: 429.1 kB / 1.43 GB, free: 155.6 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001271/1.16, allocations: 229.2 kB / 1.43 GB, free: 155.6 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005282/1.165, allocations: 4.166 MB / 1.434 GB, free: 152.8 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007591/1.166, allocations: 1.136 MB / 1.435 GB, free: 152.1 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0008174/1.167, allocations: 157.9 kB / 1.435 GB, free: 152.1 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000702/1.168, allocations: 0.5146 MB / 1.436 GB, free: 152.1 MB / 0.9011 GB Notification: Performance of SimCode: time 9.42e-07/1.168, allocations: 1.25 kB / 1.436 GB, free: 152.1 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05446/1.222, allocations: 23.14 MB / 1.458 GB, free: 148.7 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001873/1.222, allocations: 240.6 kB / 1.459 GB, free: 148.5 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.884/4.107, allocations: 0 / 1.459 GB, free: 148.5 MB / 0.9011 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