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.001593/0.001593, allocations: 105.8 kB / 16.41 MB, free: 6.457 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.001848/0.001848, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.528/1.528, allocations: 222.9 MB / 241 MB, free: 15.14 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.415/2.415, allocations: 390.3 MB / 0.6655 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002082/0.002082, allocations: 71.89 kB / 0.9516 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.948/0.9501, allocations: 140.4 MB / 1.089 GB, free: 5.77 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow): time 0.002744/0.9529, allocations: 1.277 MB / 1.09 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001447/0.9544, allocations: 1.075 MB / 1.091 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002117/0.9546, allocations: 8.688 kB / 1.091 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001886/0.9548, allocations: 30.75 kB / 1.091 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.903e-05/0.9549, allocations: 33.78 kB / 1.091 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003244/0.9553, allocations: 103.6 kB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003225/0.9556, allocations: 298.4 kB / 1.091 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003185/0.9559, allocations: 169.8 kB / 1.092 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001949/0.9561, allocations: 119.5 kB / 1.092 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001629/0.9563, allocations: 119.5 kB / 1.092 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.605e-05/0.9564, allocations: 35.03 kB / 1.092 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.921e-05/0.9564, allocations: 33.97 kB / 1.092 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.309e-05/0.9565, allocations: 61.58 kB / 1.092 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.9566, allocations: 121.3 kB / 1.092 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004973/0.9571, allocations: 395.8 kB / 1.092 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.9571, allocations: 1.266 kB / 1.092 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.614e-06/0.9571, allocations: 0 / 1.092 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.9571, allocations: 0.5312 kB / 1.092 GB, free: 3.297 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.0008529/0.958, allocations: 0.5437 MB / 1.093 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.958, allocations: 9.812 kB / 1.093 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.14e-05/0.9581, allocations: 30.47 kB / 1.093 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005882/0.9587, allocations: 321.9 kB / 1.093 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.183e-05/0.9587, allocations: 19.62 kB / 1.093 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.587e-05/0.9588, allocations: 24.5 kB / 1.093 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004938/0.9593, allocations: 238.2 kB / 1.094 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.9593, allocations: 0 / 1.094 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.616e-05/0.9593, allocations: 5.469 kB / 1.094 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.9594, allocations: 6.406 kB / 1.094 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004585/0.9598, allocations: 176.3 kB / 1.094 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009806/0.9608, allocations: 0.6717 MB / 1.094 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004093/0.9612, allocations: 140.2 kB / 1.095 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002187/0.9615, allocations: 69.69 kB / 1.095 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.575e-05/0.9615, allocations: 6.984 kB / 1.095 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.9615, allocations: 40.16 kB / 1.095 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=17): time 1.553e-06/0.9615, allocations: 0 / 1.095 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of matching and sorting (n=17): time 0.0006589/0.9622, allocations: 215.3 kB / 1.095 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.9622, allocations: 54.25 kB / 1.095 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002028/0.9624, allocations: 216.9 kB / 1.095 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.9625, allocations: 32.11 kB / 1.095 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.875e-05/0.9626, allocations: 162.3 kB / 1.095 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.672e-05/0.9626, allocations: 46.05 kB / 1.095 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.1e-05/0.9627, allocations: 53.67 kB / 1.095 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.985e-05/0.9628, allocations: 332.9 kB / 1.096 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001889/0.963, allocations: 67.86 kB / 1.096 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002056/0.9632, allocations: 124.6 kB / 1.096 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000339/0.9635, allocations: 162.1 kB / 1.096 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.9635, allocations: 0.9375 kB / 1.096 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004922/0.964, allocations: 222.1 kB / 1.096 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.9641, allocations: 6.062 kB / 1.096 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.9641, allocations: 2.156 kB / 1.096 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.348e-05/0.9641, allocations: 2.688 kB / 1.096 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002123/0.9643, allocations: 46.84 kB / 1.096 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.9643, allocations: 8.391 kB / 1.096 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001533/0.9645, allocations: 21.12 kB / 1.096 GB, free: 0.5352 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.261e-05/0.9645, allocations: 11.84 kB / 1.096 GB, free: 0.5312 MB / 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.0001299/0.9647, allocations: 145.9 kB / 1.096 GB, free: 404 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.571e-05/0.9647, allocations: 16.5 kB / 1.096 GB, free: 396 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.871e-05/0.9648, allocations: 24.33 kB / 1.097 GB, free: 384 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.9648, allocations: 6.406 kB / 1.097 GB, free: 380 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.9648, allocations: 0 / 1.097 GB, free: 380 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.9648, allocations: 1.594 kB / 1.097 GB, free: 380 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003239/0.9651, allocations: 306 kB / 1.097 GB, free: 116 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.9651, allocations: 1.953 kB / 1.097 GB, free: 116 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001474/0.9653, allocations: 30.36 kB / 1.097 GB, free: 108 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.9653, allocations: 1.062 kB / 1.097 GB, free: 108 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.9653, allocations: 1.797 kB / 1.097 GB, free: 108 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.9653, allocations: 1.953 kB / 1.097 GB, free: 108 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.9653, allocations: 0 / 1.097 GB, free: 108 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005065/0.9658, allocations: 270.3 kB / 1.097 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.026e-05/0.9659, allocations: 99.02 kB / 1.097 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.031e-05/0.966, allocations: 1.25 kB / 1.097 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.9661, allocations: 14.2 kB / 1.097 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.9662, allocations: 27.69 kB / 1.097 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.9662, allocations: 8.828 kB / 1.097 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000137/0.9664, allocations: 141 kB / 1.097 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9664, allocations: 0 / 1.097 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003199/0.9667, allocations: 50 kB / 1.097 GB, free: 15.68 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.0001623/0.9669, allocations: 114.4 kB / 1.098 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004979/0.9674, allocations: 163.3 kB / 1.098 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.9674, allocations: 0.625 kB / 1.098 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002151/0.9676, allocations: 75.92 kB / 1.098 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003318/0.968, allocations: 33.27 kB / 1.098 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008518/0.9688, allocations: 409.4 kB / 1.098 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003942/0.9692, allocations: 0.7413 MB / 1.099 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.475e-05/0.9693, allocations: 24.86 kB / 1.099 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of SimCode: time 2.7e-07/0.9693, allocations: 4 kB / 1.099 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of Templates: time 0.006001/0.9753, allocations: 2.677 MB / 1.102 GB, free: 14.22 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