Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.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.DualDuctMixConDischargeSensor.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.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.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.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01076/0.01076, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001901/0.001901, allocations: 194.3 kB / 16.67 MB, free: 5.938 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.545/1.545, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.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.839/2.839, allocations: 437 MB / 0.7105 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001594/0.001595, allocations: 59.91 kB / 1.019 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4284/0.43, allocations: 151.6 MB / 1.167 GB, free: 6.832 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow): time 0.003092/0.4332, allocations: 1.109 MB / 1.168 GB, free: 5.711 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001585/0.4348, allocations: 1.01 MB / 1.169 GB, free: 4.688 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001858/0.435, allocations: 4 kB / 1.169 GB, free: 4.684 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 9.264e-05/0.4351, allocations: 19.73 kB / 1.169 GB, free: 4.664 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001912/0.4354, allocations: 35.67 kB / 1.169 GB, free: 4.629 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002916/0.4357, allocations: 75.86 kB / 1.169 GB, free: 4.555 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003283/0.436, allocations: 216.2 kB / 1.169 GB, free: 4.344 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002903/0.4363, allocations: 116.2 kB / 1.169 GB, free: 4.227 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002541/0.4366, allocations: 103.6 kB / 1.169 GB, free: 4.125 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001798/0.4367, allocations: 87.55 kB / 1.169 GB, free: 4.039 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.626e-05/0.4368, allocations: 24 kB / 1.169 GB, free: 4.016 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 4.741e-05/0.4369, allocations: 24 kB / 1.169 GB, free: 3.992 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.837e-05/0.4369, allocations: 47.84 kB / 1.169 GB, free: 3.945 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001026/0.437, allocations: 99.45 kB / 1.17 GB, free: 3.848 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004093/0.4374, allocations: 286.7 kB / 1.17 GB, free: 3.566 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.4375, allocations: 4 kB / 1.17 GB, free: 3.562 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4375, allocations: 0 / 1.17 GB, free: 3.562 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.153e-05/0.4375, allocations: 0 / 1.17 GB, free: 3.562 MB / 0.92 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.0009299/0.4384, allocations: 0.4911 MB / 1.17 GB, free: 3.023 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.4385, allocations: 8.031 kB / 1.17 GB, free: 3.016 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.975e-05/0.4386, allocations: 32.72 kB / 1.17 GB, free: 2.984 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005192/0.4391, allocations: 276.3 kB / 1.171 GB, free: 2.676 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.678e-05/0.4391, allocations: 20.81 kB / 1.171 GB, free: 2.656 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.075e-05/0.4392, allocations: 20.38 kB / 1.171 GB, free: 2.637 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004213/0.4396, allocations: 187.8 kB / 1.171 GB, free: 2.445 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.4396, allocations: 3.938 kB / 1.171 GB, free: 2.441 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.229e-05/0.4396, allocations: 8 kB / 1.171 GB, free: 2.434 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.4397, allocations: 4 kB / 1.171 GB, free: 2.43 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003972/0.4401, allocations: 153.6 kB / 1.171 GB, free: 2.281 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008759/0.4409, allocations: 0.561 MB / 1.172 GB, free: 1.664 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000321/0.4413, allocations: 126.6 kB / 1.172 GB, free: 1.531 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001646/0.4415, allocations: 64.81 kB / 1.172 GB, free: 1.465 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.4415, allocations: 0 / 1.172 GB, free: 1.465 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.4415, allocations: 38.56 kB / 1.172 GB, free: 1.418 MB / 0.92 GB Notification: Performance of pre-optimization done (n=15): time 1.172e-06/0.4415, allocations: 0 / 1.172 GB, free: 1.418 MB / 0.92 GB Notification: Performance of matching and sorting (n=15): time 0.0006107/0.4421, allocations: 197.4 kB / 1.172 GB, free: 1.219 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.864e-05/0.4422, allocations: 63.34 kB / 1.172 GB, free: 1.145 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000172/0.4424, allocations: 179.8 kB / 1.172 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.4424, allocations: 33.7 kB / 1.172 GB, free: 0.9219 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 9.221e-05/0.4425, allocations: 148.4 kB / 1.172 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.242e-05/0.4425, allocations: 43.64 kB / 1.172 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.114e-05/0.4426, allocations: 53.64 kB / 1.172 GB, free: 0.668 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.4428, allocations: 322.8 kB / 1.173 GB, free: 352 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001618/0.4429, allocations: 51.95 kB / 1.173 GB, free: 300 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001865/0.4431, allocations: 99.69 kB / 1.173 GB, free: 184 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003218/0.4435, allocations: 139.2 kB / 1.173 GB, free: 28 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.4435, allocations: 0 / 1.173 GB, free: 28 kB / 0.92 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000437/0.4439, allocations: 181.3 kB / 1.173 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.444, allocations: 12.16 kB / 1.173 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.444, allocations: 0 / 1.173 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.314e-05/0.444, allocations: 4 kB / 1.173 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001826/0.4442, allocations: 39.91 kB / 1.173 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/0.4442, allocations: 3.938 kB / 1.173 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001152/0.4443, allocations: 19.88 kB / 1.173 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.766e-05/0.4444, allocations: 12 kB / 1.173 GB, free: 15.75 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: 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.0001267/0.4445, allocations: 133.8 kB / 1.173 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.956e-05/0.4445, allocations: 15.89 kB / 1.173 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.375e-05/0.4446, allocations: 21.52 kB / 1.173 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.4446, allocations: 3.938 kB / 1.173 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.4446, allocations: 7.938 kB / 1.173 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.4446, allocations: 0 / 1.173 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000272/0.4449, allocations: 261.5 kB / 1.174 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.4449, allocations: 0 / 1.174 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001286/0.445, allocations: 23.92 kB / 1.174 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.4451, allocations: 3.938 kB / 1.174 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.4451, allocations: 8 kB / 1.174 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.033e-06/0.4451, allocations: 11.92 kB / 1.174 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.4451, allocations: 0 / 1.174 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004063/0.4455, allocations: 243.3 kB / 1.174 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.024e-05/0.4456, allocations: 92.95 kB / 1.174 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.619e-05/0.4456, allocations: 8 kB / 1.174 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.4457, allocations: 19.86 kB / 1.174 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.626e-05/0.4458, allocations: 23.97 kB / 1.174 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.4458, allocations: 8 kB / 1.174 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.348e-05/0.4459, allocations: 115.2 kB / 1.174 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4459, allocations: 0 / 1.174 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002743/0.4462, allocations: 35.89 kB / 1.174 GB, free: 14.64 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: 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.0001466/0.4464, allocations: 115.2 kB / 1.174 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004088/0.4468, allocations: 137.5 kB / 1.175 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.4468, allocations: 0 / 1.175 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001702/0.447, allocations: 67.91 kB / 1.175 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/0.4473, allocations: 25.84 kB / 1.175 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000643/0.448, allocations: 332.5 kB / 1.175 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002725/0.4483, allocations: 0.7241 MB / 1.176 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 9.485e-05/0.4484, allocations: 25.55 kB / 1.176 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.213e-05/0.4485, allocations: 27.42 kB / 1.176 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of SimCode: time 1.9e-07/0.4485, allocations: 0 / 1.176 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of Templates: time 0.004689/0.4532, allocations: 1.438 MB / 1.177 GB, free: 11.76 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches