Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.DualDuctMixConInletSensor.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_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.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_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008365/0.008365, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.001456/0.001456, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.466/1.466, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.748/2.748, allocations: 461.9 MB / 0.7348 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 63.91 kB / 1.054 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9703/0.9724, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow): time 0.002502/0.9749, allocations: 1.133 MB / 1.209 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001242/0.9762, allocations: 1.018 MB / 1.21 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.784e-05/0.9763, allocations: 4 kB / 1.21 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 6.241e-05/0.9763, allocations: 23.67 kB / 1.21 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001385/0.9765, allocations: 35.72 kB / 1.21 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000244/0.9767, allocations: 83.86 kB / 1.21 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002334/0.977, allocations: 228.2 kB / 1.21 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002688/0.9773, allocations: 132.1 kB / 1.21 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001736/0.9774, allocations: 95.58 kB / 1.21 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.9776, allocations: 99.53 kB / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.9e-05/0.9776, allocations: 24 kB / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 2.857e-05/0.9777, allocations: 28 kB / 1.211 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.701e-05/0.9777, allocations: 51.84 kB / 1.211 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 8.923e-05/0.9778, allocations: 103.3 kB / 1.211 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003049/0.9781, allocations: 310.7 kB / 1.211 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.9781, allocations: 0 / 1.211 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.452e-06/0.9781, allocations: 0 / 1.211 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.283e-06/0.9782, allocations: 0 / 1.211 GB, free: 10.27 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0007621/0.9789, allocations: 493 kB / 1.211 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.979, allocations: 16.03 kB / 1.212 GB, free: 9.719 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.567e-05/0.979, allocations: 24.66 kB / 1.212 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004642/0.9795, allocations: 286.4 kB / 1.212 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.379e-05/0.9795, allocations: 16.81 kB / 1.212 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.326e-05/0.9796, allocations: 16.38 kB / 1.212 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004012/0.98, allocations: 203.8 kB / 1.212 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.98, allocations: 192 / 1.212 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.165e-05/0.98, allocations: 11.94 kB / 1.212 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.9801, allocations: 8 kB / 1.212 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003884/0.9804, allocations: 157.6 kB / 1.212 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008123/0.9813, allocations: 0.5839 MB / 1.213 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003497/0.9816, allocations: 166.6 kB / 1.213 GB, free: 8.164 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000164/0.9818, allocations: 60.83 kB / 1.213 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.801e-05/0.9818, allocations: 8.062 kB / 1.213 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/0.9819, allocations: 38.5 kB / 1.213 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=17): time 1.453e-06/0.9819, allocations: 0 / 1.213 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of matching and sorting (n=17): time 0.0005932/0.9825, allocations: 226.9 kB / 1.213 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/0.9825, allocations: 51.41 kB / 1.213 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.9827, allocations: 183.9 kB / 1.213 GB, free: 7.57 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.9827, allocations: 29.7 kB / 1.214 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.888e-05/0.9828, allocations: 136.1 kB / 1.214 GB, free: 7.398 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.393e-05/0.9828, allocations: 47.45 kB / 1.214 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.12e-05/0.9829, allocations: 53.69 kB / 1.214 GB, free: 7.293 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.983, allocations: 322.8 kB / 1.214 GB, free: 6.969 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001603/0.9832, allocations: 55.95 kB / 1.214 GB, free: 6.914 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001794/0.9834, allocations: 101.1 kB / 1.214 GB, free: 6.797 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003028/0.9837, allocations: 146.8 kB / 1.214 GB, free: 6.637 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.9837, allocations: 0 / 1.214 GB, free: 6.637 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003942/0.9841, allocations: 199.4 kB / 1.215 GB, free: 6.438 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.9841, allocations: 4 kB / 1.215 GB, free: 6.434 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.9842, allocations: 0 / 1.215 GB, free: 6.434 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/0.9842, allocations: 4 kB / 1.215 GB, free: 6.43 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001854/0.9844, allocations: 40.12 kB / 1.215 GB, free: 6.391 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.9844, allocations: 0 / 1.215 GB, free: 6.391 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.9845, allocations: 15.84 kB / 1.215 GB, free: 6.375 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.953e-05/0.9845, allocations: 15.98 kB / 1.215 GB, free: 6.359 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 (reaToInt2.y,actAirSet.or4.y,actAirSet.or2.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 (22): * Single equations (assignments): 22 * 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.0001853/0.9847, allocations: 137.8 kB / 1.215 GB, free: 6.215 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.943e-05/0.9848, allocations: 19.75 kB / 1.215 GB, free: 6.195 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.302e-05/0.9848, allocations: 17.88 kB / 1.215 GB, free: 6.184 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.9848, allocations: 4 kB / 1.215 GB, free: 6.18 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.9848, allocations: 0 / 1.215 GB, free: 6.18 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.9848, allocations: 3.984 kB / 1.215 GB, free: 6.176 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002931/0.9851, allocations: 281.3 kB / 1.215 GB, free: 5.852 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.9851, allocations: 0 / 1.215 GB, free: 5.852 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000127/0.9853, allocations: 23.92 kB / 1.215 GB, free: 5.828 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.9853, allocations: 8 kB / 1.215 GB, free: 5.82 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.9853, allocations: 4 kB / 1.215 GB, free: 5.816 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.9853, allocations: 0 / 1.215 GB, free: 5.816 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.9853, allocations: 3.984 kB / 1.215 GB, free: 5.812 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004052/0.9857, allocations: 267.1 kB / 1.215 GB, free: 5.535 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.403e-05/0.9858, allocations: 88.95 kB / 1.215 GB, free: 5.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.295e-05/0.9858, allocations: 4 kB / 1.215 GB, free: 5.426 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.9859, allocations: 11.98 kB / 1.215 GB, free: 5.414 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.242e-05/0.986, allocations: 27.81 kB / 1.215 GB, free: 5.387 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.986, allocations: 8 kB / 1.215 GB, free: 5.379 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.163e-05/0.9861, allocations: 123.2 kB / 1.216 GB, free: 5.258 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9861, allocations: 3.938 kB / 1.216 GB, free: 5.254 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002649/0.9864, allocations: 39.84 kB / 1.216 GB, free: 5.215 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,actAirSet.or2.y,actAirSet.or4.y,reaToInt2.y) * Number of discrete states: 0 () * 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.0001314/0.9865, allocations: 105.9 kB / 1.216 GB, free: 5.102 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000405/0.9869, allocations: 153.9 kB / 1.216 GB, free: 4.953 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.987, allocations: 3.938 kB / 1.216 GB, free: 4.949 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001734/0.9871, allocations: 71.95 kB / 1.216 GB, free: 4.879 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/0.9874, allocations: 23.88 kB / 1.216 GB, free: 4.855 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006306/0.9881, allocations: 353.3 kB / 1.216 GB, free: 4.484 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002654/0.9884, allocations: 0.728 MB / 1.217 GB, free: 3.73 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 9.623e-05/0.9885, allocations: 25.53 kB / 1.217 GB, free: 3.707 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.746e-05/0.9885, allocations: 27.42 kB / 1.217 GB, free: 3.68 MB / 0.9356 GB Notification: Performance of SimCode: time 2.41e-07/0.9885, allocations: 0 / 1.217 GB, free: 3.68 MB / 0.9356 GB Notification: Performance of Templates: time 0.004709/0.9932, allocations: 1.486 MB / 1.219 GB, free: 2.25 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches