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: translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|retFanPre.dpBui|retFanPre.dpBuiSet|retFanPre.yRelDam|retFanPre.conP.y|retFanPre.u1SupFan|retFanPre1.dpDisSet|retFanPre1.yRelDam|retFanPre1.conP.y|retFanPre2.dpDisSet|retFanPre2.yRelDam|retFanPre2.conP.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure") translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|retFanPre.dpBui|retFanPre.dpBuiSet|retFanPre.yRelDam|retFanPre.conP.y|retFanPre.u1SupFan|retFanPre1.dpDisSet|retFanPre1.yRelDam|retFanPre1.conP.y|retFanPre2.dpDisSet|retFanPre2.yRelDam|retFanPre2.conP.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.292/2.292, allocations: 393.5 MB / 408.4 MB, free: 10.82 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.00107/0.00107, allocations: 179.9 kB / 0.4902 GB, free: 2.082 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.597/1.597, allocations: 223.1 MB / 0.7992 GB, free: 14.74 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.0009685/0.0009685, allocations: 96.08 kB / 0.9396 GB, free: 1.891 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003607/0.0003607, allocations: 10.41 kB / 1.09 GB, free: 216 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3068, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.22/0.5268, allocations: 153.3 MB / 1.379 GB, free: 92 kB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003002/0.5271, allocations: 79.94 kB / 1.379 GB, free: 12 kB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.05775/0.5849, allocations: 20.92 MB / 1.4 GB, free: 11.04 MB / 0.9011 GB Notification: Performance of FrontEnd: time 3.337e-06/0.585, allocations: 0 / 1.4 GB, free: 11.04 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.000221/0.5852, allocations: 39.98 kB / 1.4 GB, free: 11 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.005197/0.5905, allocations: 1.558 MB / 1.401 GB, free: 9.375 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 7.974e-05/0.5905, allocations: 8.562 kB / 1.401 GB, free: 9.367 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008126/0.5914, allocations: 166.1 kB / 1.401 GB, free: 9.203 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002056/0.5934, allocations: 0.7484 MB / 1.402 GB, free: 8.41 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002503/0.5937, allocations: 183.8 kB / 1.402 GB, free: 8.211 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003845/0.5941, allocations: 144 kB / 1.402 GB, free: 8.07 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003202/0.5973, allocations: 1.318 MB / 1.404 GB, free: 6.715 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.46e-05/0.5974, allocations: 3.984 kB / 1.404 GB, free: 6.711 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001537/0.5976, allocations: 60 kB / 1.404 GB, free: 6.652 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.41e-05/0.5976, allocations: 32 kB / 1.404 GB, free: 6.621 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002518/0.6001, allocations: 1.06 MB / 1.405 GB, free: 5.555 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008064/0.6082, allocations: 4.242 MB / 1.409 GB, free: 1.223 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001798/0.61, allocations: 0.8785 MB / 1.41 GB, free: 340 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 7.104e-05/0.6101, allocations: 25.11 kB / 1.41 GB, free: 316 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001163/0.6113, allocations: 0.5715 MB / 1.41 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=88): time 3.696e-06/0.6113, allocations: 0 / 1.41 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of matching and sorting (n=88): time 0.002432/0.6138, allocations: 1.124 MB / 1.411 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000191/0.614, allocations: 372.8 kB / 1.412 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001714/0.6157, allocations: 0.9864 MB / 1.413 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001316/0.6159, allocations: 49.7 kB / 1.413 GB, free: 13.06 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006367/0.6165, allocations: 0.5822 MB / 1.413 GB, free: 12.47 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000296/0.6168, allocations: 287.9 kB / 1.414 GB, free: 12.19 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.814e-05/0.6169, allocations: 20 kB / 1.414 GB, free: 12.17 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.6171, allocations: 345.9 kB / 1.414 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000856/0.6179, allocations: 381.8 kB / 1.414 GB, free: 11.45 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001008/0.619, allocations: 0.5763 MB / 1.415 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008409/0.6198, allocations: 456.8 kB / 1.415 GB, free: 10.35 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.6198, allocations: 7.984 kB / 1.415 GB, free: 10.34 MB / 0.9167 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.00224/0.6221, allocations: 1.123 MB / 1.416 GB, free: 9.211 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003295/0.6224, allocations: 0.6566 MB / 1.417 GB, free: 8.504 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.6224, allocations: 4 kB / 1.417 GB, free: 8.5 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.824e-05/0.6225, allocations: 8 kB / 1.417 GB, free: 8.492 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008515/0.6233, allocations: 207.6 kB / 1.417 GB, free: 8.289 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.304e-05/0.6234, allocations: 4 kB / 1.417 GB, free: 8.285 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009819/0.6243, allocations: 238.4 kB / 1.418 GB, free: 8.051 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.441e-05/0.6244, allocations: 35.98 kB / 1.418 GB, free: 8.016 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/0.6244, allocations: 4 kB / 1.418 GB, free: 8.012 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001523/0.626, allocations: 0.9114 MB / 1.418 GB, free: 7.094 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.626, allocations: 4 kB / 1.418 GB, free: 7.09 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.378e-06/0.626, allocations: 4 kB / 1.418 GB, free: 7.086 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006906/0.6267, allocations: 187.8 kB / 1.419 GB, free: 6.902 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.6267, allocations: 8 kB / 1.419 GB, free: 6.895 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008544/0.6276, allocations: 202.7 kB / 1.419 GB, free: 6.695 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.535e-05/0.6277, allocations: 35.98 kB / 1.419 GB, free: 6.66 MB / 0.9167 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.0006769/0.6283, allocations: 372.9 kB / 1.419 GB, free: 6.285 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001697/0.6285, allocations: 118.5 kB / 1.419 GB, free: 6.168 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001779/0.6303, allocations: 0.9555 MB / 1.42 GB, free: 5.199 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.6303, allocations: 8.094 kB / 1.42 GB, free: 5.191 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/0.6303, allocations: 7.969 kB / 1.42 GB, free: 5.184 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/0.6304, allocations: 7.938 kB / 1.42 GB, free: 5.176 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002893/0.6333, allocations: 2.095 MB / 1.422 GB, free: 3.027 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.6333, allocations: 0 / 1.422 GB, free: 3.027 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000726/0.634, allocations: 175.7 kB / 1.423 GB, free: 2.855 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.004e-05/0.634, allocations: 4 kB / 1.423 GB, free: 2.852 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.525e-05/0.6341, allocations: 27.98 kB / 1.423 GB, free: 2.824 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.618e-06/0.6341, allocations: 7.953 kB / 1.423 GB, free: 2.816 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.6341, allocations: 0 / 1.423 GB, free: 2.816 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002353/0.6365, allocations: 1.427 MB / 1.424 GB, free: 1.375 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003077/0.6368, allocations: 227.4 kB / 1.424 GB, free: 1.133 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/0.6369, allocations: 27.98 kB / 1.424 GB, free: 1.105 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005564/0.6375, allocations: 95.88 kB / 1.424 GB, free: 1.012 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/0.6376, allocations: 68.8 kB / 1.424 GB, free: 0.9414 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.92e-05/0.6377, allocations: 23.98 kB / 1.424 GB, free: 0.918 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001022/0.6387, allocations: 0.7503 MB / 1.425 GB, free: 164 kB / 0.9167 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6387, allocations: 0 / 1.425 GB, free: 164 kB / 0.9167 GB Notification: Performance of remove unused functions: time 0.6113/1.25, allocations: 450.6 kB / 1.426 GB, free: 179.5 MB / 0.9167 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.0004687/1.251, allocations: 151.2 kB / 1.426 GB, free: 179.4 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.002827/1.253, allocations: 1.511 MB / 1.427 GB, free: 179.3 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/1.253, allocations: 2.531 kB / 1.427 GB, free: 179.3 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006822/1.254, allocations: 431.1 kB / 1.428 GB, free: 179.3 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001161/1.255, allocations: 215.8 kB / 1.428 GB, free: 179.3 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0035/1.259, allocations: 2.358 MB / 1.43 GB, free: 178.1 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006427/1.259, allocations: 1.131 MB / 1.431 GB, free: 177.4 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0007855/1.26, allocations: 156.2 kB / 1.431 GB, free: 177.4 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002754/1.261, allocations: 94.67 kB / 1.431 GB, free: 177.4 MB / 0.9167 GB Notification: Performance of SimCode: time 1.493e-06/1.261, allocations: 3.188 kB / 1.431 GB, free: 177.4 MB / 0.9167 GB Notification: Performance of Templates: time 0.03388/1.294, allocations: 13.02 MB / 1.444 GB, free: 176.8 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.makefile (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 & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanDirectPressure.csv","../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches