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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001864/0.001864, allocations: 107.5 kB / 15.99 MB, free: 5.891 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.002036/0.002036, allocations: 191.9 kB / 16.91 MB, free: 5.746 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.6 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.965/2.965, allocations: 482.4 MB / 0.755 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 69.34 kB / 0.924 GB, free: 29.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.319, allocations: 162.2 MB / 1.082 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow): time 0.003731/0.3228, allocations: 1.187 MB / 1.084 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001979/0.3248, allocations: 1.014 MB / 1.085 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001331/0.325, allocations: 0 / 1.085 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 9.534e-05/0.3251, allocations: 11.86 kB / 1.085 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001651/0.3253, allocations: 19.86 kB / 1.085 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003219/0.3256, allocations: 71.89 kB / 1.085 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003695/0.326, allocations: 224.2 kB / 1.085 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000385/0.3264, allocations: 132.1 kB / 1.085 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002318/0.3266, allocations: 99.58 kB / 1.085 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001904/0.3268, allocations: 99.53 kB / 1.085 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 5.716e-05/0.3269, allocations: 27.94 kB / 1.085 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 4.841e-05/0.327, allocations: 24 kB / 1.085 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 7.398e-05/0.3271, allocations: 51.78 kB / 1.085 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001463/0.3272, allocations: 99.47 kB / 1.085 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0003931/0.3276, allocations: 243.7 kB / 1.086 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3276, allocations: 0 / 1.086 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.394e-06/0.3277, allocations: 4 kB / 1.086 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.3277, allocations: 0 / 1.086 GB, free: 10.27 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.001028/0.3287, allocations: 0.4913 MB / 1.086 GB, free: 9.727 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.3288, allocations: 8.031 kB / 1.086 GB, free: 9.719 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.575e-05/0.3289, allocations: 24.66 kB / 1.086 GB, free: 9.695 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006905/0.3296, allocations: 272.3 kB / 1.086 GB, free: 9.391 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.495e-05/0.3296, allocations: 20.81 kB / 1.086 GB, free: 9.371 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.051e-05/0.3297, allocations: 20.38 kB / 1.086 GB, free: 9.352 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000653/0.3304, allocations: 203.8 kB / 1.087 GB, free: 9.148 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.3304, allocations: 192 / 1.087 GB, free: 9.148 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.735e-05/0.3304, allocations: 15.92 kB / 1.087 GB, free: 9.133 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.3305, allocations: 4 kB / 1.087 GB, free: 9.129 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006396/0.3311, allocations: 157.7 kB / 1.087 GB, free: 8.977 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001299/0.3324, allocations: 0.5917 MB / 1.087 GB, free: 8.332 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005734/0.333, allocations: 162.6 kB / 1.088 GB, free: 8.164 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002763/0.3333, allocations: 68.73 kB / 1.088 GB, free: 8.094 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.929e-05/0.3334, allocations: 0 / 1.088 GB, free: 8.094 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.229e-05/0.3334, allocations: 34.55 kB / 1.088 GB, free: 8.051 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=17): time 1.543e-06/0.3334, allocations: 11.94 kB / 1.088 GB, free: 8.039 MB / 0.8419 GB Notification: Performance of matching and sorting (n=17): time 0.0008962/0.3343, allocations: 211 kB / 1.088 GB, free: 7.828 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.731e-05/0.3344, allocations: 55.41 kB / 1.088 GB, free: 7.762 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002394/0.3347, allocations: 181.2 kB / 1.088 GB, free: 7.578 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/0.3347, allocations: 25.7 kB / 1.088 GB, free: 7.547 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001354/0.3348, allocations: 148.2 kB / 1.088 GB, free: 7.398 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.952e-05/0.3349, allocations: 47.39 kB / 1.088 GB, free: 7.352 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000132/0.3351, allocations: 53.61 kB / 1.088 GB, free: 7.293 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001993/0.3353, allocations: 326.8 kB / 1.089 GB, free: 6.965 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002549/0.3355, allocations: 55.97 kB / 1.089 GB, free: 6.91 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000313/0.3359, allocations: 102.4 kB / 1.089 GB, free: 6.793 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004996/0.3364, allocations: 140 kB / 1.089 GB, free: 6.641 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.3364, allocations: 4 kB / 1.089 GB, free: 6.637 MB / 0.8419 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006794/0.3371, allocations: 197.2 kB / 1.089 GB, free: 6.438 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.3371, allocations: 11.94 kB / 1.089 GB, free: 6.426 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.3371, allocations: 0 / 1.089 GB, free: 6.426 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.3372, allocations: 8.094 kB / 1.089 GB, free: 6.418 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002697/0.3374, allocations: 31.97 kB / 1.089 GB, free: 6.387 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/0.3375, allocations: 4 kB / 1.089 GB, free: 6.383 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001888/0.3377, allocations: 27.73 kB / 1.089 GB, free: 6.355 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.127e-05/0.3377, allocations: 4 kB / 1.089 GB, free: 6.352 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.0002808/0.338, allocations: 141.8 kB / 1.089 GB, free: 6.203 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.399e-05/0.3381, allocations: 11.84 kB / 1.089 GB, free: 6.191 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.82e-05/0.3381, allocations: 29.86 kB / 1.089 GB, free: 6.164 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.3382, allocations: 4 kB / 1.089 GB, free: 6.16 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.3382, allocations: 4 kB / 1.089 GB, free: 6.156 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.3382, allocations: 3.984 kB / 1.089 GB, free: 6.152 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005169/0.3387, allocations: 273.4 kB / 1.09 GB, free: 5.836 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.3387, allocations: 0 / 1.09 GB, free: 5.836 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002018/0.3389, allocations: 31.91 kB / 1.09 GB, free: 5.805 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.3389, allocations: 0 / 1.09 GB, free: 5.805 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.033e-05/0.339, allocations: 4 kB / 1.09 GB, free: 5.801 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.339, allocations: 0 / 1.09 GB, free: 5.801 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.339, allocations: 4 kB / 1.09 GB, free: 5.797 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006491/0.3396, allocations: 260.9 kB / 1.09 GB, free: 5.527 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.666e-05/0.3398, allocations: 96.84 kB / 1.09 GB, free: 5.414 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.534e-05/0.3398, allocations: 4 kB / 1.09 GB, free: 5.41 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001859/0.34, allocations: 4 kB / 1.09 GB, free: 5.406 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.3401, allocations: 31.97 kB / 1.09 GB, free: 5.375 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.3401, allocations: 4 kB / 1.09 GB, free: 5.371 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001388/0.3403, allocations: 123.4 kB / 1.09 GB, free: 5.25 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3403, allocations: 0 / 1.09 GB, free: 5.25 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005284/0.3408, allocations: 39.84 kB / 1.09 GB, free: 5.211 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.0001947/0.341, allocations: 111.2 kB / 1.09 GB, free: 5.09 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006638/0.3417, allocations: 159.8 kB / 1.091 GB, free: 4.934 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.3417, allocations: 0 / 1.091 GB, free: 4.934 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002802/0.342, allocations: 77.53 kB / 1.091 GB, free: 4.859 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005075/0.3425, allocations: 19.92 kB / 1.091 GB, free: 4.84 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.3436, allocations: 439 kB / 1.091 GB, free: 4.379 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000531/0.3442, allocations: 0.7358 MB / 1.092 GB, free: 3.617 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.3443, allocations: 27.36 kB / 1.092 GB, free: 3.594 MB / 0.8419 GB Notification: Performance of SimCode: time 3.91e-07/0.3443, allocations: 0 / 1.092 GB, free: 3.594 MB / 0.8419 GB Notification: Performance of Templates: time 0.006146/0.3505, allocations: 2.166 MB / 1.094 GB, free: 1.434 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=400 -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