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.338/2.338, allocations: 387.4 MB / 394.9 MB, free: 13.4 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.001337/0.001337, allocations: 192.8 kB / 487.4 MB, free: 5.066 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.603/1.603, allocations: 221.5 MB / 0.7824 GB, free: 1.027 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008809/0.0008809, allocations: 95.89 kB / 0.9219 GB, free: 2.273 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.514e-05/1.516e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2238/0.2238, allocations: 142.4 MB / 1.206 GB, free: 43.87 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7627/0.9866, allocations: 151.3 MB / 1.354 GB, free: 18.28 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002258/0.9869, allocations: 81.7 kB / 1.354 GB, free: 18.28 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03462/1.022, allocations: 15.3 MB / 1.369 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.124e-06/1.022, allocations: 0.875 kB / 1.369 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.917e-05/1.022, allocations: 27.31 kB / 1.369 GB, free: 33.07 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.001663/1.023, allocations: 1.072 MB / 1.37 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/1.023, allocations: 11.66 kB / 1.37 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001795/1.024, allocations: 111.3 kB / 1.37 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006584/1.024, allocations: 0.5626 MB / 1.371 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.051e-05/1.024, allocations: 119.6 kB / 1.371 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.096e-05/1.024, allocations: 58.78 kB / 1.371 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009223/1.025, allocations: 0.5596 MB / 1.371 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/1.026, allocations: 0.6866 MB / 1.372 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/1.026, allocations: 0 / 1.372 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.512e-05/1.026, allocations: 3.875 kB / 1.372 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/1.026, allocations: 19.31 kB / 1.372 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003118/1.03, allocations: 2.456 MB / 1.374 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007751/1.03, allocations: 0.5051 MB / 1.375 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002803/1.031, allocations: 242.4 kB / 1.375 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.84e-05/1.031, allocations: 15.98 kB / 1.375 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004761/1.031, allocations: 362.4 kB / 1.376 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=64): time 2.575e-06/1.031, allocations: 0 / 1.376 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of matching and sorting (n=64): time 0.0007546/1.032, allocations: 490.1 kB / 1.376 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.583e-05/1.032, allocations: 298.9 kB / 1.376 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004605/1.033, allocations: 431.2 kB / 1.377 GB, free: 30.31 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.535e-05/1.033, allocations: 29.58 kB / 1.377 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002652/1.033, allocations: 413.7 kB / 1.377 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001209/1.033, allocations: 195.9 kB / 1.377 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.755e-05/1.033, allocations: 3.844 kB / 1.377 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.00016/1.033, allocations: 370.5 kB / 1.378 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003072/1.034, allocations: 213 kB / 1.378 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003514/1.034, allocations: 352.7 kB / 1.378 GB, free: 29.4 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004463/1.034, allocations: 251.5 kB / 1.378 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/1.034, allocations: 0 / 1.378 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0009092/1.035, allocations: 0.6238 MB / 1.379 GB, free: 29.22 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001911/1.035, allocations: 403.8 kB / 1.379 GB, free: 28.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/1.036, allocations: 0 / 1.379 GB, free: 28.82 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.221e-05/1.036, allocations: 3.875 kB / 1.379 GB, free: 28.82 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005571/1.036, allocations: 150.1 kB / 1.38 GB, free: 28.78 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/1.036, allocations: 7.797 kB / 1.38 GB, free: 28.78 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006325/1.037, allocations: 148.1 kB / 1.38 GB, free: 28.71 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.186e-05/1.037, allocations: 25.14 kB / 1.38 GB, free: 28.71 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.183e-06/1.037, allocations: 3.875 kB / 1.38 GB, free: 28.71 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007949/1.038, allocations: 0.5251 MB / 1.38 GB, free: 28.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/1.038, allocations: 0 / 1.38 GB, free: 28.64 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.66e-06/1.038, allocations: 3.906 kB / 1.38 GB, free: 28.64 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004309/1.038, allocations: 123.9 kB / 1.38 GB, free: 28.62 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.818e-06/1.038, allocations: 3.844 kB / 1.38 GB, free: 28.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004802/1.039, allocations: 117 kB / 1.381 GB, free: 28.57 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.139e-05/1.039, allocations: 33.98 kB / 1.381 GB, free: 28.57 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.000155/1.039, allocations: 126.4 kB / 1.381 GB, free: 28.45 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005955/1.039, allocations: 482.3 kB / 1.381 GB, free: 28.34 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.383e-05/1.039, allocations: 61.97 kB / 1.381 GB, free: 28.31 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007897/1.04, allocations: 0.5408 MB / 1.382 GB, free: 28.18 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/1.04, allocations: 7.875 kB / 1.382 GB, free: 28.18 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/1.04, allocations: 0 / 1.382 GB, free: 28.18 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.328e-06/1.04, allocations: 7.953 kB / 1.382 GB, free: 28.17 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001446/1.042, allocations: 1.342 MB / 1.383 GB, free: 27.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/1.042, allocations: 4.062 kB / 1.383 GB, free: 27.59 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000501/1.042, allocations: 134.5 kB / 1.383 GB, free: 27.56 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/1.042, allocations: 3.875 kB / 1.383 GB, free: 27.56 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.432e-05/1.042, allocations: 17.98 kB / 1.383 GB, free: 27.55 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.636e-06/1.042, allocations: 3.844 kB / 1.383 GB, free: 27.55 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/1.042, allocations: 3.953 kB / 1.383 GB, free: 27.55 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009928/1.043, allocations: 0.9911 MB / 1.384 GB, free: 27.17 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.172e-05/1.043, allocations: 153.5 kB / 1.384 GB, free: 27.03 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.329e-05/1.044, allocations: 7.75 kB / 1.384 GB, free: 27.03 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004118/1.044, allocations: 66.34 kB / 1.384 GB, free: 27.01 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.896e-05/1.044, allocations: 53.3 kB / 1.384 GB, free: 26.98 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.499e-05/1.044, allocations: 26.08 kB / 1.384 GB, free: 26.98 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002925/1.044, allocations: 331.4 kB / 1.385 GB, free: 26.87 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.044, allocations: 0 / 1.385 GB, free: 26.87 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007439/1.045, allocations: 310.3 kB / 1.385 GB, free: 26.79 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.001484/1.047, allocations: 1.98 MB / 1.387 GB, free: 25.46 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001131/1.048, allocations: 0.9541 MB / 1.388 GB, free: 25.28 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.048, allocations: 0 / 1.388 GB, free: 25.28 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003164/1.048, allocations: 268.2 kB / 1.388 GB, free: 25.25 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007765/1.049, allocations: 140.3 kB / 1.388 GB, free: 25.2 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002027/1.051, allocations: 1.107 MB / 1.389 GB, free: 24.65 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004752/1.051, allocations: 0.978 MB / 1.39 GB, free: 23.82 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0005113/1.052, allocations: 115 kB / 1.39 GB, free: 23.77 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003325/1.052, allocations: 315.6 kB / 1.391 GB, free: 23.73 MB / 0.8386 GB Notification: Performance of SimCode: time 6.51e-07/1.052, allocations: 0 / 1.391 GB, free: 23.73 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04376/1.096, allocations: 14.66 MB / 1.405 GB, free: 16.88 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002314/1.096, allocations: 211.4 kB / 1.405 GB, free: 16.61 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.325/3.422, allocations: 1.828 kB / 1.405 GB, free: 16.61 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