Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.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_10_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_10_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.00163/0.00163, allocations: 104.2 kB / 16.41 MB, free: 6.516 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.001719/0.001719, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.35/1.35, 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 10.1.1-maint.10.0.x/package.mo): time 2.475/2.475, allocations: 437.1 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 63.91 kB / 1.019 GB, free: 9.367 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9426/0.9441, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow): time 0.002876/0.947, allocations: 1.128 MB / 1.168 GB, free: 2.715 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001483/0.9486, allocations: 1.01 MB / 1.169 GB, free: 1.691 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001568/0.9487, allocations: 0 / 1.169 GB, free: 1.691 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 7.673e-05/0.9489, allocations: 23.67 kB / 1.169 GB, free: 1.668 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001523/0.949, allocations: 35.73 kB / 1.169 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002552/0.9493, allocations: 75.86 kB / 1.17 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002116/0.9495, allocations: 220.2 kB / 1.17 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002408/0.9498, allocations: 120.2 kB / 1.17 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001642/0.9499, allocations: 87.64 kB / 1.17 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.9501, allocations: 99.53 kB / 1.17 GB, free: 1.039 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.455e-05/0.9501, allocations: 27.94 kB / 1.17 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 2.955e-05/0.9502, allocations: 24 kB / 1.17 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.56e-05/0.9502, allocations: 47.84 kB / 1.17 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 8.616e-05/0.9503, allocations: 95.47 kB / 1.17 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002957/0.9506, allocations: 290.7 kB / 1.171 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.9506, allocations: 4 kB / 1.171 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.262e-06/0.9506, allocations: 3.938 kB / 1.171 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.9506, allocations: 4 kB / 1.171 GB, free: 0.5547 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0007519/0.9514, allocations: 492.9 kB / 1.171 GB, free: 28 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.9515, allocations: 12.92 kB / 1.171 GB, free: 16 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.972e-05/0.9515, allocations: 16.83 kB / 1.171 GB, free: 16 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005287/0.9521, allocations: 282.5 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.304e-05/0.9521, allocations: 16.81 kB / 1.171 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.847e-05/0.9522, allocations: 20.38 kB / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004259/0.9526, allocations: 187.8 kB / 1.172 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.9526, allocations: 3.938 kB / 1.172 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.115e-05/0.9526, allocations: 4 kB / 1.172 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.9527, allocations: 8 kB / 1.172 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003904/0.9531, allocations: 153.6 kB / 1.172 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000828/0.9539, allocations: 0.5648 MB / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003088/0.9542, allocations: 118.7 kB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001684/0.9544, allocations: 64.81 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.9544, allocations: 7.875 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.9545, allocations: 34.56 kB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=15): time 1.443e-06/0.9545, allocations: 0 / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of matching and sorting (n=15): time 0.0005959/0.9551, allocations: 193.4 kB / 1.173 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.9551, allocations: 59.34 kB / 1.173 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/0.9553, allocations: 186.1 kB / 1.173 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.9553, allocations: 25.7 kB / 1.173 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.501e-05/0.9554, allocations: 144.3 kB / 1.173 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.969e-05/0.9555, allocations: 43.39 kB / 1.173 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.28e-05/0.9555, allocations: 49.61 kB / 1.173 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.9557, allocations: 326.8 kB / 1.173 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001595/0.9558, allocations: 51.95 kB / 1.173 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001946/0.956, allocations: 103.2 kB / 1.174 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003342/0.9564, allocations: 140.3 kB / 1.174 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.9564, allocations: 0 / 1.174 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003908/0.9568, allocations: 177.3 kB / 1.174 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.9568, allocations: 8 kB / 1.174 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.9568, allocations: 4.141 kB / 1.174 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.9569, allocations: 8 kB / 1.174 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001837/0.957, allocations: 31.86 kB / 1.174 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.9571, allocations: 4 kB / 1.174 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.9572, allocations: 27.77 kB / 1.174 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/0.9572, allocations: 4 kB / 1.174 GB, free: 12.79 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 13 (reaToInt2.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 (20): * Single equations (assignments): 20 * 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.0001385/0.9573, allocations: 145.7 kB / 1.174 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.876e-05/0.9574, allocations: 19.81 kB / 1.174 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.963e-05/0.9574, allocations: 17.53 kB / 1.174 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.9575, allocations: 3.938 kB / 1.174 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.9575, allocations: 0 / 1.174 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.319e-06/0.9575, allocations: 0 / 1.174 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000296/0.9578, allocations: 269.5 kB / 1.174 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.9578, allocations: 0 / 1.174 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001329/0.9579, allocations: 19.98 kB / 1.174 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.9579, allocations: 0 / 1.174 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.046e-05/0.958, allocations: 7.984 kB / 1.174 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.958, allocations: 7.938 kB / 1.174 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.958, allocations: 0 / 1.174 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003848/0.9584, allocations: 252.7 kB / 1.175 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.645e-05/0.9584, allocations: 92.86 kB / 1.175 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.17e-05/0.9585, allocations: 0 / 1.175 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.9586, allocations: 23.92 kB / 1.175 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.89e-05/0.9587, allocations: 19.97 kB / 1.175 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.748e-06/0.9587, allocations: 4 kB / 1.175 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001014/0.9588, allocations: 120.2 kB / 1.175 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9588, allocations: 0 / 1.175 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002797/0.9591, allocations: 35.84 kB / 1.175 GB, free: 11.67 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.0001366/0.9592, allocations: 103.2 kB / 1.175 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004017/0.9596, allocations: 147.8 kB / 1.175 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.9597, allocations: 0 / 1.175 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001657/0.9598, allocations: 63.91 kB / 1.175 GB, free: 11.35 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003354/0.9602, allocations: 26.42 kB / 1.175 GB, free: 11.33 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006553/0.9608, allocations: 362.4 kB / 1.176 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002769/0.9611, allocations: 0.7241 MB / 1.176 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.419e-05/0.9612, allocations: 19.44 kB / 1.176 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of SimCode: time 2.31e-07/0.9612, allocations: 4 kB / 1.176 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of Templates: time 0.003711/0.9649, allocations: 2.101 MB / 1.178 GB, free: 8.078 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches