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.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.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.208/2.208, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001102/0.001102, allocations: 180.8 kB / 487.4 MB, free: 5.039 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.366/1.366, allocations: 221.5 MB / 0.7824 GB, free: 0.918 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.0008886/0.0008886, allocations: 94.8 kB / 0.9219 GB, free: 2.16 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.776e-05/1.752e-05, allocations: 4 kB / 1.067 GB, free: 185.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2295/0.2295, allocations: 142.4 MB / 1.206 GB, free: 43.78 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.822/1.052, allocations: 151.8 MB / 1.354 GB, free: 18.06 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00026/1.052, allocations: 79.94 kB / 1.354 GB, free: 18.06 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.047/1.099, allocations: 20.72 MB / 1.375 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.573e-06/1.099, allocations: 0 / 1.375 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.124e-05/1.099, allocations: 30.56 kB / 1.375 GB, free: 31.25 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.002273/1.101, allocations: 1.415 MB / 1.376 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/1.101, allocations: 11.67 kB / 1.376 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002683/1.102, allocations: 170.8 kB / 1.376 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009607/1.103, allocations: 0.7338 MB / 1.377 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001148/1.103, allocations: 145.4 kB / 1.377 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001751/1.103, allocations: 84.75 kB / 1.377 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001468/1.104, allocations: 0.8567 MB / 1.378 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001805/1.106, allocations: 1.052 MB / 1.379 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.207e-05/1.106, allocations: 0 / 1.379 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.099e-05/1.106, allocations: 11.92 kB / 1.379 GB, free: 29.4 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.45e-05/1.106, allocations: 34.78 kB / 1.379 GB, free: 29.4 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006005/1.112, allocations: 3.907 MB / 1.383 GB, free: 27.65 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/1.114, allocations: 0.7001 MB / 1.384 GB, free: 27.58 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003939/1.114, allocations: 325.4 kB / 1.384 GB, free: 27.55 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.602e-05/1.114, allocations: 19.31 kB / 1.384 GB, free: 27.55 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007104/1.115, allocations: 496.8 kB / 1.384 GB, free: 27.34 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=88): time 3.035e-06/1.115, allocations: 0 / 1.384 GB, free: 27.34 MB / 0.8386 GB Notification: Performance of matching and sorting (n=88): time 0.001018/1.116, allocations: 0.6363 MB / 1.385 GB, free: 27.2 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/1.116, allocations: 375.5 kB / 1.385 GB, free: 26.77 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006872/1.117, allocations: 0.6127 MB / 1.386 GB, free: 26.59 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.674e-05/1.117, allocations: 33.56 kB / 1.386 GB, free: 26.55 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003693/1.117, allocations: 0.6031 MB / 1.387 GB, free: 26.19 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001599/1.117, allocations: 279.4 kB / 1.387 GB, free: 25.98 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.936e-05/1.117, allocations: 3.844 kB / 1.387 GB, free: 25.98 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001776/1.117, allocations: 396.1 kB / 1.387 GB, free: 25.64 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004458/1.118, allocations: 296.2 kB / 1.388 GB, free: 25.64 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005307/1.118, allocations: 0.4901 MB / 1.388 GB, free: 25.43 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006926/1.119, allocations: 350.8 kB / 1.388 GB, free: 25.38 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.718e-06/1.119, allocations: 0 / 1.388 GB, free: 25.38 MB / 0.8386 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.00138/1.121, allocations: 0.8854 MB / 1.389 GB, free: 25.21 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002518/1.121, allocations: 0.6585 MB / 1.39 GB, free: 24.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/1.121, allocations: 0 / 1.39 GB, free: 24.52 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.347e-05/1.121, allocations: 7.75 kB / 1.39 GB, free: 24.52 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007769/1.122, allocations: 207.5 kB / 1.39 GB, free: 24.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.578e-05/1.122, allocations: 7.656 kB / 1.39 GB, free: 24.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008151/1.122, allocations: 170 kB / 1.39 GB, free: 24.41 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.869e-05/1.123, allocations: 46.72 kB / 1.39 GB, free: 24.39 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.356e-06/1.123, allocations: 3.75 kB / 1.39 GB, free: 24.39 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001152/1.124, allocations: 0.7435 MB / 1.391 GB, free: 24.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/1.124, allocations: 3.938 kB / 1.391 GB, free: 24.3 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.896e-06/1.124, allocations: 3.969 kB / 1.391 GB, free: 24.3 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006377/1.124, allocations: 180.9 kB / 1.391 GB, free: 24.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/1.124, allocations: 15.61 kB / 1.391 GB, free: 24.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006762/1.125, allocations: 144.3 kB / 1.391 GB, free: 24.2 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.714e-05/1.125, allocations: 34.03 kB / 1.391 GB, free: 24.2 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.0002223/1.125, allocations: 136.2 kB / 1.392 GB, free: 24.07 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000836/1.126, allocations: 0.6233 MB / 1.392 GB, free: 23.94 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.6e-05/1.126, allocations: 89.34 kB / 1.392 GB, free: 23.89 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001093/1.127, allocations: 0.7251 MB / 1.393 GB, free: 23.73 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/1.127, allocations: 11.53 kB / 1.393 GB, free: 23.73 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/1.127, allocations: 4 kB / 1.393 GB, free: 23.72 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/1.127, allocations: 11.92 kB / 1.393 GB, free: 23.71 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001927/1.129, allocations: 1.728 MB / 1.395 GB, free: 23.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/1.129, allocations: 0 / 1.395 GB, free: 23.08 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006729/1.13, allocations: 175.7 kB / 1.395 GB, free: 23.05 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.446e-06/1.13, allocations: 3.844 kB / 1.395 GB, free: 23.05 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.492e-05/1.13, allocations: 11.33 kB / 1.395 GB, free: 23.04 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.651e-06/1.13, allocations: 3.844 kB / 1.395 GB, free: 23.04 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.614e-06/1.13, allocations: 0 / 1.395 GB, free: 23.04 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001325/1.132, allocations: 1.148 MB / 1.396 GB, free: 22.79 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001451/1.132, allocations: 187.5 kB / 1.396 GB, free: 22.63 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.86e-05/1.132, allocations: 3.938 kB / 1.396 GB, free: 22.63 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005124/1.132, allocations: 81.08 kB / 1.396 GB, free: 22.61 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/1.132, allocations: 59.25 kB / 1.396 GB, free: 22.58 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.316e-05/1.132, allocations: 24.81 kB / 1.396 GB, free: 22.58 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0004723/1.133, allocations: 470.4 kB / 1.397 GB, free: 22.45 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.7e-07/1.133, allocations: 0 / 1.397 GB, free: 22.45 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001003/1.134, allocations: 469.4 kB / 1.397 GB, free: 22.32 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.001661/1.136, allocations: 1.727 MB / 1.399 GB, free: 21.52 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001656/1.137, allocations: 1.312 MB / 1.4 GB, free: 21.3 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/1.137, allocations: 0 / 1.4 GB, free: 21.3 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0004046/1.138, allocations: 342.4 kB / 1.4 GB, free: 21.28 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/1.139, allocations: 182.7 kB / 1.401 GB, free: 21.23 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003336/1.142, allocations: 1.578 MB / 1.402 GB, free: 20.52 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006712/1.143, allocations: 1.131 MB / 1.403 GB, free: 19.62 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0007633/1.144, allocations: 161 kB / 1.403 GB, free: 19.55 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005355/1.144, allocations: 485.5 kB / 1.404 GB, free: 19.49 MB / 0.8386 GB Notification: Performance of SimCode: time 5.91e-07/1.144, allocations: 0 / 1.404 GB, free: 19.49 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04492/1.189, allocations: 20.19 MB / 1.424 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001698/1.189, allocations: 194.5 kB / 1.424 GB, free: 2.711 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.673/3.862, allocations: 3.266 kB / 1.424 GB, free: 2.711 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanDirectPressure_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanDirectPressure.fmu > Buildings_9_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_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure_res.mat does not exist to compare? outputFormat=mat