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.001582/0.001582, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.001569/0.001569, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.456/1.456, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.709/2.709, allocations: 469.4 MB / 0.7427 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00158/0.00158, allocations: 63.61 kB / 0.9089 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3526/0.3542, allocations: 159.1 MB / 1.064 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow): time 0.003039/0.3573, allocations: 1.119 MB / 1.065 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00156/0.3589, allocations: 1.022 MB / 1.066 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002103/0.3591, allocations: 4 kB / 1.066 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001264/0.3593, allocations: 23.67 kB / 1.066 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001986/0.3595, allocations: 31.66 kB / 1.066 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003178/0.3598, allocations: 79.86 kB / 1.067 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003215/0.3601, allocations: 232.1 kB / 1.067 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002987/0.3605, allocations: 132.8 kB / 1.067 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002464/0.3607, allocations: 99.62 kB / 1.067 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001804/0.3609, allocations: 99.53 kB / 1.067 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 5.96e-05/0.361, allocations: 24 kB / 1.067 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 4.458e-05/0.361, allocations: 24 kB / 1.067 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 6.092e-05/0.3611, allocations: 51.78 kB / 1.067 GB, free: 12 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.000119/0.3612, allocations: 111.4 kB / 1.067 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0003673/0.3616, allocations: 287.2 kB / 1.068 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.3616, allocations: 0 / 1.068 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3616, allocations: 4 kB / 1.068 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.352e-05/0.3616, allocations: 0 / 1.068 GB, free: 11.6 MB / 0.8419 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.0009449/0.3626, allocations: 499.1 kB / 1.068 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.3626, allocations: 16.61 kB / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.682e-05/0.3627, allocations: 20.66 kB / 1.068 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000568/0.3633, allocations: 276.3 kB / 1.068 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.107e-05/0.3633, allocations: 16.81 kB / 1.068 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.684e-05/0.3634, allocations: 20.38 kB / 1.068 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004481/0.3639, allocations: 203.8 kB / 1.069 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.3639, allocations: 4.172 kB / 1.069 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.297e-05/0.3639, allocations: 15.88 kB / 1.069 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.968e-06/0.3639, allocations: 4 kB / 1.069 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004162/0.3644, allocations: 157.7 kB / 1.069 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009046/0.3653, allocations: 0.5878 MB / 1.069 GB, free: 9.664 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003766/0.3657, allocations: 164.6 kB / 1.069 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000178/0.3658, allocations: 72.81 kB / 1.069 GB, free: 9.422 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.3659, allocations: 4.062 kB / 1.07 GB, free: 9.418 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.3659, allocations: 34.56 kB / 1.07 GB, free: 9.375 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=17): time 3.116e-06/0.3659, allocations: 7.984 kB / 1.07 GB, free: 9.367 MB / 0.8419 GB Notification: Performance of matching and sorting (n=17): time 0.0006481/0.3666, allocations: 209.2 kB / 1.07 GB, free: 9.156 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.054e-05/0.3666, allocations: 59.41 kB / 1.07 GB, free: 9.086 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002515/0.3669, allocations: 178.7 kB / 1.07 GB, free: 8.902 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.021e-05/0.3669, allocations: 25.7 kB / 1.07 GB, free: 8.871 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.3671, allocations: 152 kB / 1.07 GB, free: 8.719 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.44e-05/0.3671, allocations: 47.39 kB / 1.07 GB, free: 8.672 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001338/0.3673, allocations: 53.69 kB / 1.07 GB, free: 8.613 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001767/0.3675, allocations: 326.8 kB / 1.071 GB, free: 8.285 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001901/0.3677, allocations: 59.89 kB / 1.071 GB, free: 8.227 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002245/0.3679, allocations: 97.11 kB / 1.071 GB, free: 8.113 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003591/0.3683, allocations: 150.8 kB / 1.071 GB, free: 7.949 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.3683, allocations: 0 / 1.071 GB, free: 7.949 MB / 0.8419 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004663/0.3688, allocations: 190.7 kB / 1.071 GB, free: 7.758 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.3688, allocations: 8 kB / 1.071 GB, free: 7.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.3688, allocations: 0 / 1.071 GB, free: 7.75 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.3688, allocations: 4.156 kB / 1.071 GB, free: 7.746 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001969/0.369, allocations: 35.91 kB / 1.071 GB, free: 7.711 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/0.369, allocations: 4 kB / 1.071 GB, free: 7.707 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001439/0.3692, allocations: 23.83 kB / 1.071 GB, free: 7.684 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.69e-05/0.3692, allocations: 8 kB / 1.071 GB, free: 7.676 MB / 0.8419 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.0002062/0.3694, allocations: 139 kB / 1.071 GB, free: 7.531 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.104e-05/0.3695, allocations: 23.73 kB / 1.071 GB, free: 7.508 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.69e-05/0.3696, allocations: 21.88 kB / 1.071 GB, free: 7.488 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.3696, allocations: 4 kB / 1.071 GB, free: 7.484 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.3696, allocations: 0 / 1.071 GB, free: 7.484 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.3696, allocations: 0 / 1.071 GB, free: 7.484 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003225/0.3699, allocations: 277.4 kB / 1.072 GB, free: 7.164 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.3699, allocations: 0 / 1.072 GB, free: 7.164 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001423/0.3701, allocations: 31.91 kB / 1.072 GB, free: 7.133 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.3701, allocations: 0 / 1.072 GB, free: 7.133 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.3701, allocations: 4 kB / 1.072 GB, free: 7.129 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.3701, allocations: 0 / 1.072 GB, free: 7.129 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.3701, allocations: 4 kB / 1.072 GB, free: 7.125 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004479/0.3706, allocations: 261.1 kB / 1.072 GB, free: 6.855 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.042e-05/0.3706, allocations: 92.86 kB / 1.072 GB, free: 6.746 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.812e-05/0.3707, allocations: 4 kB / 1.072 GB, free: 6.742 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.3708, allocations: 11.98 kB / 1.072 GB, free: 6.73 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.3709, allocations: 31.91 kB / 1.072 GB, free: 6.699 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.3709, allocations: 4 kB / 1.072 GB, free: 6.695 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001016/0.3711, allocations: 115.2 kB / 1.072 GB, free: 6.582 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3711, allocations: 0 / 1.072 GB, free: 6.582 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003005/0.3714, allocations: 43.75 kB / 1.072 GB, free: 6.539 MB / 0.8419 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.0001934/0.3716, allocations: 114.7 kB / 1.072 GB, free: 6.418 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004822/0.3721, allocations: 159.8 kB / 1.072 GB, free: 6.262 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3721, allocations: 0 / 1.072 GB, free: 6.262 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000202/0.3723, allocations: 79.89 kB / 1.072 GB, free: 6.184 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/0.3726, allocations: 29.58 kB / 1.072 GB, free: 6.156 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008065/0.3734, allocations: 374.9 kB / 1.073 GB, free: 5.758 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.3738, allocations: 0.7319 MB / 1.074 GB, free: 5 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.234e-05/0.3739, allocations: 23.44 kB / 1.074 GB, free: 4.977 MB / 0.8419 GB Notification: Performance of SimCode: time 3.3e-07/0.3739, allocations: 0 / 1.074 GB, free: 4.977 MB / 0.8419 GB Notification: Performance of Templates: time 0.005078/0.3789, allocations: 2.16 MB / 1.076 GB, free: 2.828 MB / 0.8419 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