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.00127/0.00127, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001283/0.001284, allocations: 187 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.315/1.315, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.47/2.47, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 67.89 kB / 1.055 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9453/0.9467, allocations: 157.4 MB / 1.208 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow): time 0.002389/0.9491, allocations: 1.123 MB / 1.21 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0014/0.9506, allocations: 1.018 MB / 1.211 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001409/0.9507, allocations: 0 / 1.211 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 7.875e-05/0.9508, allocations: 31.66 kB / 1.211 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001498/0.951, allocations: 23.67 kB / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000257/0.9513, allocations: 79.92 kB / 1.211 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002218/0.9515, allocations: 236.1 kB / 1.211 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002421/0.9517, allocations: 124.1 kB / 1.211 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001664/0.9519, allocations: 99.56 kB / 1.211 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.952, allocations: 99.48 kB / 1.211 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.1e-05/0.9521, allocations: 24 kB / 1.211 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 3.172e-05/0.9521, allocations: 24 kB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.588e-05/0.9522, allocations: 59.83 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 8.251e-05/0.9523, allocations: 107.4 kB / 1.211 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003026/0.9526, allocations: 306.7 kB / 1.212 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.9526, allocations: 0 / 1.212 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.235e-06/0.9526, allocations: 0 / 1.212 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.724e-06/0.9526, allocations: 0 / 1.212 GB, free: 10.23 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.0006566/0.9533, allocations: 493 kB / 1.212 GB, free: 9.703 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.9533, allocations: 8.031 kB / 1.212 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.326e-05/0.9534, allocations: 24.66 kB / 1.212 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004396/0.9538, allocations: 288.1 kB / 1.212 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.12e-05/0.9539, allocations: 16.81 kB / 1.213 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.951e-05/0.9539, allocations: 24.38 kB / 1.213 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000394/0.9543, allocations: 195.8 kB / 1.213 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.9543, allocations: 192 / 1.213 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.569e-05/0.9543, allocations: 15.94 kB / 1.213 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.9544, allocations: 8 kB / 1.213 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003743/0.9547, allocations: 157.6 kB / 1.213 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007375/0.9555, allocations: 0.5878 MB / 1.213 GB, free: 8.301 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000338/0.9558, allocations: 162.6 kB / 1.214 GB, free: 8.133 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000163/0.956, allocations: 63.02 kB / 1.214 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.956, allocations: 4 kB / 1.214 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.9561, allocations: 38.55 kB / 1.214 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=17): time 1.252e-06/0.9561, allocations: 0 / 1.214 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of matching and sorting (n=17): time 0.0005729/0.9566, allocations: 221.2 kB / 1.214 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.24e-05/0.9567, allocations: 51.41 kB / 1.214 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.9568, allocations: 187.9 kB / 1.214 GB, free: 7.543 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.9569, allocations: 25.7 kB / 1.214 GB, free: 7.512 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.461e-05/0.9569, allocations: 144.1 kB / 1.214 GB, free: 7.367 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.708e-05/0.957, allocations: 43.52 kB / 1.214 GB, free: 7.324 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.99e-05/0.9571, allocations: 53.7 kB / 1.214 GB, free: 7.266 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.9572, allocations: 330.8 kB / 1.215 GB, free: 6.934 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001603/0.9573, allocations: 51.97 kB / 1.215 GB, free: 6.883 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001873/0.9575, allocations: 99.73 kB / 1.215 GB, free: 6.77 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003201/0.9579, allocations: 146.4 kB / 1.215 GB, free: 6.609 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.9579, allocations: 0 / 1.215 GB, free: 6.609 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004088/0.9583, allocations: 203.3 kB / 1.215 GB, free: 6.406 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.9583, allocations: 4 kB / 1.215 GB, free: 6.402 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.9583, allocations: 4 kB / 1.215 GB, free: 6.398 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.9583, allocations: 0 / 1.215 GB, free: 6.398 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001879/0.9585, allocations: 35.91 kB / 1.215 GB, free: 6.363 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.9586, allocations: 4.156 kB / 1.215 GB, free: 6.359 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.9587, allocations: 27.83 kB / 1.215 GB, free: 6.332 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.9587, allocations: 4 kB / 1.215 GB, free: 6.328 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.000232/0.9589, allocations: 133.8 kB / 1.215 GB, free: 6.188 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.584e-05/0.959, allocations: 19.75 kB / 1.215 GB, free: 6.168 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.847e-05/0.959, allocations: 25.8 kB / 1.215 GB, free: 6.148 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.9591, allocations: 0 / 1.215 GB, free: 6.148 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.9591, allocations: 8 kB / 1.215 GB, free: 6.141 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.9591, allocations: 0 / 1.215 GB, free: 6.141 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002888/0.9594, allocations: 285.3 kB / 1.216 GB, free: 5.812 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.9594, allocations: 0 / 1.216 GB, free: 5.812 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000129/0.9595, allocations: 23.92 kB / 1.216 GB, free: 5.789 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.9595, allocations: 3.984 kB / 1.216 GB, free: 5.785 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.9595, allocations: 4 kB / 1.216 GB, free: 5.781 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.9595, allocations: 0 / 1.216 GB, free: 5.781 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.9596, allocations: 4 kB / 1.216 GB, free: 5.777 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004165/0.96, allocations: 271 kB / 1.216 GB, free: 5.496 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.932e-05/0.96, allocations: 92.94 kB / 1.216 GB, free: 5.387 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.9601, allocations: 0 / 1.216 GB, free: 5.387 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.9602, allocations: 8 kB / 1.216 GB, free: 5.379 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.392e-05/0.9603, allocations: 23.88 kB / 1.216 GB, free: 5.355 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.9603, allocations: 8 kB / 1.216 GB, free: 5.348 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001015/0.9604, allocations: 127.2 kB / 1.216 GB, free: 5.223 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9604, allocations: 0 / 1.216 GB, free: 5.223 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002764/0.9607, allocations: 35.84 kB / 1.216 GB, free: 5.188 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.0001673/0.9609, allocations: 111.2 kB / 1.216 GB, free: 5.066 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004608/0.9613, allocations: 154.5 kB / 1.217 GB, free: 4.918 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.9614, allocations: 0 / 1.217 GB, free: 4.918 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001846/0.9615, allocations: 75.89 kB / 1.217 GB, free: 4.844 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.9619, allocations: 23.92 kB / 1.217 GB, free: 4.82 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007368/0.9626, allocations: 366.7 kB / 1.217 GB, free: 4.43 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003501/0.963, allocations: 0.728 MB / 1.218 GB, free: 3.676 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.363e-05/0.9631, allocations: 27.42 kB / 1.218 GB, free: 3.648 MB / 0.9356 GB Notification: Performance of SimCode: time 4.21e-07/0.9631, allocations: 0 / 1.218 GB, free: 3.648 MB / 0.9356 GB Notification: Performance of Templates: time 0.004599/0.9677, allocations: 2.186 MB / 1.22 GB, free: 1.469 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/jenkins1/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