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.001137/0.001137, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001192/0.001192, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.439/1.439, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.825/2.825, allocations: 461.8 MB / 0.7342 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 67.64 kB / 0.8985 GB, free: 37.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3642/0.3654, allocations: 157.4 MB / 1.052 GB, free: 8.859 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow): time 0.003571/0.3691, allocations: 1.18 MB / 1.053 GB, free: 7.676 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00183/0.3709, allocations: 1.01 MB / 1.054 GB, free: 6.652 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001484/0.3711, allocations: 4 kB / 1.054 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001085/0.3712, allocations: 15.84 kB / 1.054 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001652/0.3714, allocations: 19.75 kB / 1.054 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003131/0.3717, allocations: 71.94 kB / 1.054 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002808/0.372, allocations: 212.2 kB / 1.055 GB, free: 6.336 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003353/0.3724, allocations: 132 kB / 1.055 GB, free: 6.207 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002024/0.3726, allocations: 75.64 kB / 1.055 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001544/0.3728, allocations: 91.48 kB / 1.055 GB, free: 6.043 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.922e-05/0.3728, allocations: 12 kB / 1.055 GB, free: 6.031 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.815e-05/0.3729, allocations: 12 kB / 1.055 GB, free: 6.02 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.922e-05/0.3729, allocations: 47.81 kB / 1.055 GB, free: 5.973 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001149/0.3731, allocations: 87.47 kB / 1.055 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003793/0.3735, allocations: 291.2 kB / 1.055 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3735, allocations: 4 kB / 1.055 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.183e-06/0.3735, allocations: 0 / 1.055 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.261e-06/0.3735, allocations: 0 / 1.055 GB, free: 5.598 MB / 0.8106 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.001015/0.3745, allocations: 0.4884 MB / 1.056 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/0.3746, allocations: 8.031 kB / 1.056 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.804e-05/0.3747, allocations: 24.66 kB / 1.056 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007085/0.3754, allocations: 284.1 kB / 1.056 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.824e-05/0.3755, allocations: 16.81 kB / 1.056 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.079e-05/0.3755, allocations: 24.38 kB / 1.056 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005813/0.3761, allocations: 195.8 kB / 1.056 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.3761, allocations: 192 / 1.056 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.648e-05/0.3762, allocations: 15.94 kB / 1.056 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.677e-05/0.3762, allocations: 4 kB / 1.056 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006321/0.3768, allocations: 161.6 kB / 1.056 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001258/0.3781, allocations: 0.5917 MB / 1.057 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005563/0.3787, allocations: 158.6 kB / 1.057 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002611/0.379, allocations: 68.81 kB / 1.057 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.345e-05/0.379, allocations: 8 kB / 1.057 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.379, allocations: 30.56 kB / 1.057 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=17): time 1.753e-06/0.379, allocations: 0 / 1.057 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of matching and sorting (n=17): time 0.0006316/0.3797, allocations: 218.8 kB / 1.058 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.3797, allocations: 51.41 kB / 1.058 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.3799, allocations: 190.7 kB / 1.058 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.3799, allocations: 25.7 kB / 1.058 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.3801, allocations: 144.2 kB / 1.058 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.453e-05/0.3801, allocations: 47.36 kB / 1.058 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.221e-05/0.3802, allocations: 53.69 kB / 1.058 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.3803, allocations: 326.8 kB / 1.058 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001671/0.3805, allocations: 47.97 kB / 1.058 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001896/0.3807, allocations: 107 kB / 1.058 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000323/0.381, allocations: 143 kB / 1.059 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3811, allocations: 3.938 kB / 1.059 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004217/0.3815, allocations: 203.2 kB / 1.059 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.3815, allocations: 8 kB / 1.059 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.3815, allocations: 0 / 1.059 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.3816, allocations: 4 kB / 1.059 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001932/0.3818, allocations: 35.91 kB / 1.059 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/0.3818, allocations: 0 / 1.059 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.3819, allocations: 27.83 kB / 1.059 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.3819, allocations: 7.984 kB / 1.059 GB, free: 1.672 MB / 0.8106 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.0002094/0.3821, allocations: 140.6 kB / 1.059 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.231e-05/0.3822, allocations: 19.75 kB / 1.059 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.584e-05/0.3822, allocations: 25.86 kB / 1.059 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.3822, allocations: 0 / 1.059 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.361e-06/0.3823, allocations: 3.938 kB / 1.059 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3823, allocations: 0 / 1.059 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002847/0.3826, allocations: 273.4 kB / 1.059 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3826, allocations: 4 kB / 1.059 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001345/0.3827, allocations: 31.97 kB / 1.059 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.227e-06/0.3827, allocations: 4 kB / 1.059 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.3827, allocations: 3.938 kB / 1.059 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.257e-06/0.3827, allocations: 3.984 kB / 1.059 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3827, allocations: 0 / 1.059 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004245/0.3832, allocations: 263.2 kB / 1.06 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.74e-05/0.3832, allocations: 92.86 kB / 1.06 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.663e-05/0.3833, allocations: 12 kB / 1.06 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.3834, allocations: 7.984 kB / 1.06 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.952e-05/0.3835, allocations: 19.97 kB / 1.06 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.3835, allocations: 8 kB / 1.06 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.845e-05/0.3836, allocations: 119.2 kB / 1.06 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3836, allocations: 0 / 1.06 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002716/0.3839, allocations: 35.84 kB / 1.06 GB, free: 0.5352 MB / 0.8106 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.0001379/0.384, allocations: 118.3 kB / 1.06 GB, free: 420 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004025/0.3844, allocations: 153.7 kB / 1.06 GB, free: 268 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3844, allocations: 0 / 1.06 GB, free: 268 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001778/0.3846, allocations: 80.2 kB / 1.06 GB, free: 188 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/0.3849, allocations: 23.94 kB / 1.06 GB, free: 164 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006756/0.3856, allocations: 403 kB / 1.061 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/0.3859, allocations: 0.7361 MB / 1.061 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001107/0.386, allocations: 21.55 kB / 1.061 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.127e-05/0.3861, allocations: 23.36 kB / 1.061 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of SimCode: time 6.41e-07/0.3861, allocations: 3.938 kB / 1.061 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of Templates: time 0.004344/0.3904, allocations: 1.339 MB / 1.063 GB, free: 13.64 MB / 0.8262 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/jenkins/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