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.009918/0.009918, allocations: 99.64 kB / 15.73 MB, free: 6.035 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.001197/0.001198, allocations: 189.6 kB / 16.67 MB, free: 5.969 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.524/1.524, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.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.517/2.517, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 62.81 kB / 0.9509 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3657/0.3671, allocations: 140.4 MB / 1.088 GB, free: 1.539 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow): time 0.003322/0.3705, allocations: 1.283 MB / 1.089 GB, free: 252 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001833/0.3724, allocations: 1.073 MB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000326/0.3727, allocations: 4 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002367/0.373, allocations: 43.53 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001747/0.3732, allocations: 27.67 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003751/0.3736, allocations: 107.8 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003932/0.374, allocations: 288.4 kB / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003545/0.3744, allocations: 172.8 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002747/0.3746, allocations: 119.5 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002118/0.3749, allocations: 119.4 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.308e-05/0.3749, allocations: 32 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.528e-05/0.375, allocations: 28 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.086e-05/0.3751, allocations: 71.75 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.00012/0.3752, allocations: 123.3 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004604/0.3757, allocations: 390.5 kB / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3757, allocations: 0 / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3757, allocations: 0 / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.45e-05/0.3757, allocations: 0 / 1.092 GB, free: 13.66 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.001049/0.3768, allocations: 0.5381 MB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.3768, allocations: 12.03 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.867e-05/0.3769, allocations: 36.55 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006876/0.3776, allocations: 317 kB / 1.093 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.276e-05/0.3777, allocations: 24.94 kB / 1.093 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.078e-05/0.3777, allocations: 24.38 kB / 1.093 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004848/0.3782, allocations: 228.9 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.3782, allocations: 0 / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.924e-05/0.3783, allocations: 12 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.3783, allocations: 4 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004596/0.3788, allocations: 186.1 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/0.3799, allocations: 0.6623 MB / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003957/0.3803, allocations: 142.5 kB / 1.094 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001696/0.3805, allocations: 76.94 kB / 1.094 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.3805, allocations: 4 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/0.3805, allocations: 30.56 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=17): time 1.593e-06/0.3805, allocations: 4 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of matching and sorting (n=17): time 0.0006055/0.3812, allocations: 223.3 kB / 1.094 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/0.3812, allocations: 51.41 kB / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002005/0.3814, allocations: 215.5 kB / 1.094 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.966e-05/0.3815, allocations: 33.7 kB / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.3816, allocations: 156.1 kB / 1.095 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.286e-05/0.3816, allocations: 51.3 kB / 1.095 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.425e-05/0.3817, allocations: 57.69 kB / 1.095 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.3819, allocations: 334.8 kB / 1.095 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000173/0.382, allocations: 59.97 kB / 1.095 GB, free: 10 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002008/0.3823, allocations: 118.8 kB / 1.095 GB, free: 9.859 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003535/0.3826, allocations: 172.8 kB / 1.095 GB, free: 9.668 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.3826, allocations: 0 / 1.095 GB, free: 9.668 MB / 0.8575 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004451/0.3831, allocations: 217.1 kB / 1.096 GB, free: 9.449 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.3831, allocations: 4 kB / 1.096 GB, free: 9.445 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.3831, allocations: 4 kB / 1.096 GB, free: 9.441 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.3831, allocations: 8.219 kB / 1.096 GB, free: 9.434 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001707/0.3833, allocations: 35.91 kB / 1.096 GB, free: 9.398 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.3833, allocations: 4 kB / 1.096 GB, free: 9.395 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001401/0.3835, allocations: 27.83 kB / 1.096 GB, free: 9.367 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.3835, allocations: 4 kB / 1.096 GB, free: 9.363 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.0001429/0.3837, allocations: 153.7 kB / 1.096 GB, free: 9.203 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.314e-05/0.3837, allocations: 19.81 kB / 1.096 GB, free: 9.184 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.101e-05/0.3838, allocations: 25.86 kB / 1.096 GB, free: 9.164 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.3838, allocations: 4 kB / 1.096 GB, free: 9.16 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.3838, allocations: 0 / 1.096 GB, free: 9.16 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.3838, allocations: 3.984 kB / 1.096 GB, free: 9.156 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004023/0.3842, allocations: 301.3 kB / 1.096 GB, free: 8.812 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.3842, allocations: 0 / 1.096 GB, free: 8.812 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001387/0.3844, allocations: 23.92 kB / 1.096 GB, free: 8.789 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.3844, allocations: 7.938 kB / 1.096 GB, free: 8.781 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/0.3844, allocations: 7.984 kB / 1.096 GB, free: 8.773 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.3844, allocations: 4 kB / 1.096 GB, free: 8.77 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.3844, allocations: 4 kB / 1.096 GB, free: 8.766 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004265/0.3848, allocations: 269.2 kB / 1.096 GB, free: 8.488 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.169e-05/0.3849, allocations: 88.92 kB / 1.097 GB, free: 8.383 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.402e-05/0.3849, allocations: 8 kB / 1.097 GB, free: 8.375 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/0.3851, allocations: 11.98 kB / 1.097 GB, free: 8.363 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.654e-05/0.3852, allocations: 27.97 kB / 1.097 GB, free: 8.336 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.3852, allocations: 7.938 kB / 1.097 GB, free: 8.328 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001209/0.3853, allocations: 145.5 kB / 1.097 GB, free: 8.188 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3853, allocations: 0 / 1.097 GB, free: 8.188 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002916/0.3856, allocations: 47.69 kB / 1.097 GB, free: 8.141 MB / 0.8575 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.0001645/0.3858, allocations: 115.2 kB / 1.097 GB, free: 8.016 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004586/0.3863, allocations: 159.8 kB / 1.097 GB, free: 7.859 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.3863, allocations: 0 / 1.097 GB, free: 7.859 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001883/0.3865, allocations: 79.89 kB / 1.097 GB, free: 7.781 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003496/0.3868, allocations: 29.12 kB / 1.097 GB, free: 7.758 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007637/0.3876, allocations: 386.1 kB / 1.097 GB, free: 7.348 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000342/0.388, allocations: 0.7445 MB / 1.098 GB, free: 6.578 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001313/0.3881, allocations: 25.94 kB / 1.098 GB, free: 6.555 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.859e-05/0.3882, allocations: 27.42 kB / 1.098 GB, free: 6.527 MB / 0.8575 GB Notification: Performance of SimCode: time 3.61e-07/0.3882, allocations: 0 / 1.098 GB, free: 6.527 MB / 0.8575 GB Notification: Performance of Templates: time 0.005774/0.394, allocations: 1.981 MB / 1.1 GB, free: 4.613 MB / 0.8575 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/jenkins/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