Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|retFanPre.dpDisSet|retFanPre.yExhDam|retFanPre.conP.y|retFanPre1.dpDisSet|retFanPre1.yExhDam|retFanPre1.conP.y|retFanPre2.dpDisSet|retFanPre2.yExhDam|retFanPre2.conP.y|retFanPre.dpBui|retFanPre.dpBuiSet|retFanPre.uFan",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|retFanPre.dpDisSet|retFanPre.yExhDam|retFanPre.conP.y|retFanPre1.dpDisSet|retFanPre1.yExhDam|retFanPre1.conP.y|retFanPre2.dpDisSet|retFanPre2.yExhDam|retFanPre2.conP.y|retFanPre.dpBui|retFanPre.dpBuiSet|retFanPre.uFan",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.38/1.38, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001132/0.001132, allocations: 178.9 kB / 326.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.857/1.857, allocations: 205.4 MB / 0.5775 GB, free: 20.24 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009453/0.0009453, allocations: 96.23 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003278/0.0003279, allocations: 14.41 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.2344, allocations: 106.3 MB / 0.9002 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.18/0.4144, allocations: 135.6 MB / 1.033 GB, free: 8.094 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002491/0.4147, allocations: 83.83 kB / 1.033 GB, free: 8.012 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0422/0.4569, allocations: 16.61 MB / 1.049 GB, free: 7.371 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.194e-06/0.457, allocations: 0 / 1.049 GB, free: 7.371 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.583e-05/0.4571, allocations: 27.98 kB / 1.049 GB, free: 7.344 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.003137/0.4602, allocations: 1.255 MB / 1.05 GB, free: 6.031 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.4603, allocations: 8.031 kB / 1.05 GB, free: 6.023 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004276/0.4607, allocations: 118.6 kB / 1.05 GB, free: 5.906 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001204/0.4619, allocations: 0.6035 MB / 1.051 GB, free: 5.262 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002067/0.4622, allocations: 151.1 kB / 1.051 GB, free: 5.094 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002005/0.4624, allocations: 92 kB / 1.051 GB, free: 5.004 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001985/0.4644, allocations: 0.9439 MB / 1.052 GB, free: 4.043 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.173e-05/0.4644, allocations: 0 / 1.052 GB, free: 4.043 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.555e-05/0.4645, allocations: 40 kB / 1.052 GB, free: 4.004 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.336e-05/0.4645, allocations: 20 kB / 1.052 GB, free: 3.984 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001927/0.4665, allocations: 0.7887 MB / 1.053 GB, free: 3.195 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00553/0.472, allocations: 2.854 MB / 1.056 GB, free: 284 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4674/0.9395, allocations: 0.6955 MB / 1.056 GB, free: 143.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.779e-05/0.9396, allocations: 11.23 kB / 1.056 GB, free: 143.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00114/0.9408, allocations: 479.9 kB / 1.057 GB, free: 143.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=70): time 3.878e-06/0.9408, allocations: 0 / 1.057 GB, free: 143.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=70): time 0.002065/0.9429, allocations: 0.946 MB / 1.058 GB, free: 143.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/0.943, allocations: 297.8 kB / 1.058 GB, free: 143.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009757/0.944, allocations: 0.7449 MB / 1.059 GB, free: 143.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.478e-05/0.9441, allocations: 41.45 kB / 1.059 GB, free: 143.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003265/0.9444, allocations: 431.5 kB / 1.059 GB, free: 143.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001581/0.9446, allocations: 232.3 kB / 1.059 GB, free: 143.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.618e-05/0.9446, allocations: 15.97 kB / 1.059 GB, free: 143.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.317e-05/0.9447, allocations: 338.1 kB / 1.06 GB, free: 142.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005165/0.9452, allocations: 286.8 kB / 1.06 GB, free: 142.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005798/0.9458, allocations: 429.7 kB / 1.06 GB, free: 142.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005749/0.9464, allocations: 319.7 kB / 1.061 GB, free: 142.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.9464, allocations: 0 / 1.061 GB, free: 142.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001289/0.9477, allocations: 0.8171 MB / 1.062 GB, free: 142.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.02e-05/0.9478, allocations: 273.8 kB / 1.062 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.9478, allocations: 3.422 kB / 1.062 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.9478, allocations: 6.688 kB / 1.062 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006045/0.9484, allocations: 154.5 kB / 1.062 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.958e-06/0.9484, allocations: 3.062 kB / 1.062 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005424/0.949, allocations: 162.2 kB / 1.062 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.251e-05/0.949, allocations: 31.25 kB / 1.062 GB, free: 142.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.412e-06/0.9491, allocations: 2.781 kB / 1.062 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000894/0.95, allocations: 0.6078 MB / 1.063 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.815e-06/0.95, allocations: 3.938 kB / 1.063 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.024e-06/0.95, allocations: 6.094 kB / 1.063 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004941/0.9505, allocations: 141.1 kB / 1.063 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.321e-06/0.9505, allocations: 3 kB / 1.063 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004394/0.9509, allocations: 134.8 kB / 1.063 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.795e-05/0.951, allocations: 27.69 kB / 1.063 GB, free: 142.2 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$whenCondition4,$whenCondition3,$whenCondition1,retFanPre.uFan,$PRE.retFanPre.movMea.mode,retFanPre.movMea.mode,$PRE.yFan.pulseStart,yFan.pulseStart,$PRE.retFanPre1.movMea.mode,retFanPre1.movMea.mode,$PRE.retFanPre2.movMea.mode,retFanPre2.movMea.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * 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.0004265/0.9514, allocations: 321.8 kB / 1.063 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/0.9515, allocations: 99.36 kB / 1.063 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001404/0.953, allocations: 0.7878 MB / 1.064 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/0.953, allocations: 8.969 kB / 1.064 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.953, allocations: 1.453 kB / 1.064 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-06/0.953, allocations: 7.141 kB / 1.064 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002808/0.9558, allocations: 1.815 MB / 1.066 GB, free: 141.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.9558, allocations: 7.516 kB / 1.066 GB, free: 141.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006385/0.9565, allocations: 143.5 kB / 1.066 GB, free: 141.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.131e-05/0.9565, allocations: 5.688 kB / 1.066 GB, free: 141.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.881e-05/0.9566, allocations: 21.39 kB / 1.066 GB, free: 141.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.087e-06/0.9566, allocations: 5.547 kB / 1.066 GB, free: 141.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.243e-06/0.9566, allocations: 6.531 kB / 1.066 GB, free: 141.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002274/0.9589, allocations: 1.382 MB / 1.068 GB, free: 141 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001872/0.9591, allocations: 196.4 kB / 1.068 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.9592, allocations: 19.83 kB / 1.068 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005235/0.9597, allocations: 93.12 kB / 1.068 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/0.9599, allocations: 55.97 kB / 1.068 GB, free: 140.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.444e-05/0.9599, allocations: 23.55 kB / 1.068 GB, free: 140.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009173/0.9608, allocations: 0.581 MB / 1.068 GB, free: 140.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.51e-07/0.9609, allocations: 0 / 1.068 GB, free: 140.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009507/0.9618, allocations: 312 kB / 1.069 GB, free: 140.7 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 3 (retFanPre.movMea.mu,retFanPre1.movMea.mu,retFanPre2.movMea.mu) * Number of discrete variables: 9 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,retFanPre.uFan,retFanPre.movMea.mode,yFan.pulseStart,retFanPre1.movMea.mode,retFanPre2.movMea.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 72 * 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.000222/0.962, allocations: 133.5 kB / 1.069 GB, free: 140.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002121/0.9642, allocations: 1.016 MB / 1.07 GB, free: 140.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.9642, allocations: 4.938 kB / 1.07 GB, free: 140.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007488/0.9649, allocations: 377.2 kB / 1.07 GB, free: 140.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008785/0.9658, allocations: 189 kB / 1.07 GB, free: 140.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002812/0.9687, allocations: 1.831 MB / 1.072 GB, free: 139.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005199/0.9692, allocations: 1.017 MB / 1.073 GB, free: 138.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005157/0.9697, allocations: 123.1 kB / 1.073 GB, free: 138.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002094/0.9699, allocations: 75.94 kB / 1.073 GB, free: 138.9 MB / 0.698 GB Notification: Performance of SimCode: time 5.91e-07/0.9699, allocations: 0 / 1.073 GB, free: 138.9 MB / 0.698 GB Notification: Performance of Templates: time 0.01847/0.9884, allocations: 9.516 MB / 1.083 GB, free: 138.4 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanDirectPressure.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches