Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001716/0.001716, allocations: 108.7 kB / 16.41 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001632/0.001632, allocations: 186.2 kB / 17.34 MB, free: 5.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.297/2.297, allocations: 390.3 MB / 0.6655 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 67.91 kB / 0.9516 GB, free: 7.559 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9448/0.9464, allocations: 140.4 MB / 1.089 GB, free: 5.473 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow): time 0.002505/0.9489, allocations: 1.291 MB / 1.09 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001523/0.9505, allocations: 1.064 MB / 1.091 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002071/0.9507, allocations: 4.438 kB / 1.091 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002035/0.9509, allocations: 38.8 kB / 1.091 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001055/0.9511, allocations: 35.47 kB / 1.091 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003589/0.9514, allocations: 115.7 kB / 1.091 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003373/0.9518, allocations: 286.5 kB / 1.091 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003232/0.9521, allocations: 171.1 kB / 1.092 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001905/0.9523, allocations: 113.5 kB / 1.092 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001689/0.9525, allocations: 124.1 kB / 1.092 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.81e-05/0.9526, allocations: 34.53 kB / 1.092 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 5.408e-05/0.9526, allocations: 30.44 kB / 1.092 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.504e-05/0.9527, allocations: 66.36 kB / 1.092 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001241/0.9528, allocations: 124.6 kB / 1.092 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005684/0.9534, allocations: 386.6 kB / 1.092 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.9534, allocations: 0 / 1.092 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.367e-06/0.9534, allocations: 0.6562 kB / 1.092 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.607e-06/0.9534, allocations: 4.5 kB / 1.092 GB, free: 3 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008199/0.9543, allocations: 0.5417 MB / 1.093 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.9543, allocations: 13.44 kB / 1.093 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.278e-05/0.9544, allocations: 31.06 kB / 1.093 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006521/0.955, allocations: 313.6 kB / 1.093 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.885e-05/0.9551, allocations: 19.41 kB / 1.093 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.453e-05/0.9551, allocations: 24.72 kB / 1.093 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005145/0.9557, allocations: 237.3 kB / 1.094 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.9557, allocations: 0 / 1.094 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.683e-05/0.9557, allocations: 10.38 kB / 1.094 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.561e-05/0.9557, allocations: 6.219 kB / 1.094 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004837/0.9562, allocations: 176.5 kB / 1.094 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/0.9573, allocations: 0.668 MB / 1.094 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004673/0.9578, allocations: 144.5 kB / 1.095 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002003/0.958, allocations: 77.22 kB / 1.095 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.827e-05/0.958, allocations: 2.344 kB / 1.095 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.958, allocations: 37.73 kB / 1.095 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=17): time 1.442e-06/0.958, allocations: 0 / 1.095 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of matching and sorting (n=17): time 0.0007033/0.9587, allocations: 218.1 kB / 1.095 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.801e-05/0.9588, allocations: 61.47 kB / 1.095 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002098/0.959, allocations: 210 kB / 1.095 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.959, allocations: 31.3 kB / 1.095 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.9591, allocations: 162.3 kB / 1.095 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.853e-05/0.9592, allocations: 45.47 kB / 1.095 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.983e-05/0.9593, allocations: 58.83 kB / 1.095 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.163e-05/0.9594, allocations: 333.2 kB / 1.096 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001895/0.9596, allocations: 62.98 kB / 1.096 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002279/0.9598, allocations: 116.5 kB / 1.096 GB, free: 484 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003691/0.9602, allocations: 165.3 kB / 1.096 GB, free: 372 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.9602, allocations: 1.406 kB / 1.096 GB, free: 372 kB / 0.8575 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005097/0.9607, allocations: 222.1 kB / 1.096 GB, free: 272 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.591e-05/0.9607, allocations: 6.812 kB / 1.096 GB, free: 272 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.9608, allocations: 2.125 kB / 1.096 GB, free: 272 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.9608, allocations: 6.719 kB / 1.096 GB, free: 268 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000205/0.961, allocations: 47.44 kB / 1.096 GB, free: 256 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.961, allocations: 3.344 kB / 1.096 GB, free: 256 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001506/0.9612, allocations: 25.2 kB / 1.096 GB, free: 244 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.094e-05/0.9612, allocations: 7.406 kB / 1.096 GB, free: 244 kB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 15 (reaToInt2.y,actAirSet.gre.greHys.y,$PRE.actAirSet.gre.greHys.y,actAirSet.or1.y,actAirSet.ifSetBac.y,actAirSet.ifWarUp.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or3.y,actAirSet.warUpMod.y,actAirSet.setBacMod.y,actAirSet.setUpMod.y,actAirSet.cooDowMod.y,actAirSet.occMod.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001294/0.9613, allocations: 146.5 kB / 1.096 GB, free: 104 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.089e-05/0.9614, allocations: 17.12 kB / 1.097 GB, free: 96 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.301e-05/0.9614, allocations: 23.81 kB / 1.097 GB, free: 84 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.355e-06/0.9615, allocations: 6.672 kB / 1.097 GB, free: 80 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.9615, allocations: 0.8125 kB / 1.097 GB, free: 80 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.9615, allocations: 0.7969 kB / 1.097 GB, free: 80 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004265/0.9619, allocations: 306.5 kB / 1.097 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.9619, allocations: 0 / 1.097 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001449/0.9621, allocations: 23.39 kB / 1.097 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.9621, allocations: 1.672 kB / 1.097 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/0.9621, allocations: 5.891 kB / 1.097 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.9621, allocations: 5.062 kB / 1.097 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.9621, allocations: 0 / 1.097 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004953/0.9626, allocations: 268.6 kB / 1.097 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.589e-05/0.9627, allocations: 98.41 kB / 1.097 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.062e-05/0.9627, allocations: 1.922 kB / 1.097 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.9629, allocations: 14.78 kB / 1.097 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.963, allocations: 31.61 kB / 1.097 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.963, allocations: 4.656 kB / 1.097 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000147/0.9632, allocations: 141 kB / 1.097 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.41e-07/0.9632, allocations: 0 / 1.097 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003195/0.9635, allocations: 49.09 kB / 1.097 GB, free: 15.39 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,actAirSet.gre.greHys.y,reaToInt2.y) * Number of discrete states: 1 (actAirSet.gre.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000174/0.9637, allocations: 116.3 kB / 1.098 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005105/0.9642, allocations: 158.2 kB / 1.098 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.9642, allocations: 0 / 1.098 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002208/0.9644, allocations: 76.22 kB / 1.098 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003365/0.9648, allocations: 34.73 kB / 1.098 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009003/0.9657, allocations: 416 kB / 1.098 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003628/0.9661, allocations: 0.7468 MB / 1.099 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.899e-05/0.9662, allocations: 32.73 kB / 1.099 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of SimCode: time 7.133e-06/0.9662, allocations: 0 / 1.099 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of Templates: time 0.006448/0.9727, allocations: 2.671 MB / 1.102 GB, free: 13.92 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches