Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.009055/0.009055, allocations: 96.94 kB / 15.73 MB, free: 6.484 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.001859/0.001859, allocations: 191.7 kB / 16.67 MB, free: 6.391 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.559/1.559, 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 9.1.3-maint.9.1.x/package.mo): time 2.557/2.557, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 59.97 kB / 0.9509 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3505/0.3518, allocations: 140.4 MB / 1.088 GB, free: 1.496 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow): time 0.002593/0.3544, allocations: 1.106 MB / 1.089 GB, free: 392 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001276/0.3557, allocations: 1.01 MB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.3558, allocations: 0 / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 6.443e-05/0.3559, allocations: 19.73 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001522/0.3561, allocations: 31.69 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002627/0.3563, allocations: 79.91 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002419/0.3566, allocations: 220.2 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002874/0.3569, allocations: 124.2 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001845/0.3571, allocations: 99.52 kB / 1.091 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001303/0.3572, allocations: 91.53 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.077e-05/0.3573, allocations: 24 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.593e-05/0.3573, allocations: 24 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.344e-05/0.3574, allocations: 47.84 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.442e-05/0.3575, allocations: 99.47 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000324/0.3578, allocations: 286.8 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3578, allocations: 3.938 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.225e-06/0.3578, allocations: 0 / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.731e-05/0.3578, allocations: 7.984 kB / 1.091 GB, free: 14.22 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0007508/0.3586, allocations: 490.8 kB / 1.092 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.3586, allocations: 16.02 kB / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.015e-05/0.3587, allocations: 20.8 kB / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004777/0.3592, allocations: 272.4 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.403e-05/0.3592, allocations: 20.75 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.306e-05/0.3593, allocations: 24.38 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003988/0.3597, allocations: 187.2 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.3597, allocations: 0 / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.058e-05/0.3597, allocations: 4 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.3597, allocations: 12 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003769/0.3601, allocations: 153.6 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008071/0.3609, allocations: 0.5649 MB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003197/0.3613, allocations: 131.6 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001656/0.3614, allocations: 72.75 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.3615, allocations: 0 / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.3615, allocations: 30.56 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 9.42e-07/0.3615, allocations: 0 / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.0005806/0.3621, allocations: 209.3 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/0.3621, allocations: 55.41 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/0.3623, allocations: 183.8 kB / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.3624, allocations: 25.7 kB / 1.094 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.874e-05/0.3624, allocations: 140.4 kB / 1.094 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.918e-05/0.3625, allocations: 51.64 kB / 1.094 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.957e-05/0.3626, allocations: 49.7 kB / 1.094 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.3627, allocations: 326.8 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001622/0.3629, allocations: 55.95 kB / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001763/0.3631, allocations: 94.66 kB / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003069/0.3634, allocations: 139.8 kB / 1.094 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3634, allocations: 0 / 1.094 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003939/0.3638, allocations: 185.3 kB / 1.095 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.3638, allocations: 11.94 kB / 1.095 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.3638, allocations: 3.938 kB / 1.095 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.3639, allocations: 7.984 kB / 1.095 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000183/0.364, allocations: 27.98 kB / 1.095 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.3641, allocations: 4.156 kB / 1.095 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.3642, allocations: 23.88 kB / 1.095 GB, free: 10.44 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.3642, allocations: 7.938 kB / 1.095 GB, free: 10.43 MB / 0.8575 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.0001271/0.3643, allocations: 144.3 kB / 1.095 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.024e-05/0.3644, allocations: 19.89 kB / 1.095 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.023e-05/0.3644, allocations: 21.47 kB / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.3644, allocations: 0 / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.3644, allocations: 0 / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.3644, allocations: 8 kB / 1.095 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002691/0.3647, allocations: 265.5 kB / 1.095 GB, free: 9.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3647, allocations: 0 / 1.095 GB, free: 9.93 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001318/0.3649, allocations: 23.92 kB / 1.095 GB, free: 9.906 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.3649, allocations: 0 / 1.095 GB, free: 9.906 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/0.3649, allocations: 11.92 kB / 1.095 GB, free: 9.895 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3649, allocations: 0 / 1.095 GB, free: 9.895 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3649, allocations: 0 / 1.095 GB, free: 9.895 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003928/0.3653, allocations: 254.3 kB / 1.095 GB, free: 9.633 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.164e-05/0.3654, allocations: 92.95 kB / 1.095 GB, free: 9.523 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.653e-05/0.3654, allocations: 7.938 kB / 1.095 GB, free: 9.516 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.3655, allocations: 11.98 kB / 1.095 GB, free: 9.504 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.232e-05/0.3656, allocations: 23.97 kB / 1.095 GB, free: 9.48 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.826e-06/0.3656, allocations: 4 kB / 1.095 GB, free: 9.477 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.486e-05/0.3657, allocations: 119.2 kB / 1.096 GB, free: 9.359 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3657, allocations: 0 / 1.096 GB, free: 9.359 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000264/0.366, allocations: 35.89 kB / 1.096 GB, free: 9.324 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: 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.0001384/0.3661, allocations: 111.2 kB / 1.096 GB, free: 9.203 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004056/0.3666, allocations: 136.2 kB / 1.096 GB, free: 9.07 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.3666, allocations: 4 kB / 1.096 GB, free: 9.066 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001745/0.3668, allocations: 75.89 kB / 1.096 GB, free: 8.992 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003601/0.3671, allocations: 19.94 kB / 1.096 GB, free: 8.973 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000649/0.3678, allocations: 330.3 kB / 1.096 GB, free: 8.625 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000302/0.3681, allocations: 0.728 MB / 1.097 GB, free: 7.871 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 9.841e-05/0.3682, allocations: 25.53 kB / 1.097 GB, free: 7.844 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.874e-05/0.3683, allocations: 27.42 kB / 1.097 GB, free: 7.816 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.3683, allocations: 0 / 1.097 GB, free: 7.816 MB / 0.8575 GB Notification: Performance of Templates: time 0.004457/0.3727, allocations: 1.437 MB / 1.098 GB, free: 6.434 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches