Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002068/0.002068, allocations: 104.3 kB / 19.7 MB, free: 2.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001821/0.001821, allocations: 207.3 kB / 22.98 MB, free: 4.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.522/1.522, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.271/3.271, allocations: 0.49 GB / 0.7959 GB, free: 35.53 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_12_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=2500,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002104/0.002104, allocations: 81.44 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3554/0.3575, allocations: 176.1 MB / 1.327 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow): time 0.002647/0.3601, allocations: 1.08 MB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001486/0.3616, allocations: 1.057 MB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.3617, allocations: 4 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 7.44e-05/0.3618, allocations: 23.67 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001484/0.3619, allocations: 35.66 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002974/0.3622, allocations: 87.92 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002686/0.3625, allocations: 224.2 kB / 1.33 GB, free: 14.49 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002524/0.3627, allocations: 96.59 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000238/0.363, allocations: 107.5 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001427/0.3631, allocations: 103.5 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.211e-05/0.3632, allocations: 24 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.739e-05/0.3632, allocations: 32 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.89e-05/0.3633, allocations: 47.84 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.129e-05/0.3634, allocations: 87.52 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004519/0.3638, allocations: 318.6 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3638, allocations: 0 / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.414e-06/0.3638, allocations: 0 / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.009e-05/0.3639, allocations: 0 / 1.33 GB, free: 13.68 MB / 1.029 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.0008644/0.3647, allocations: 425.8 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.3648, allocations: 8.031 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001788/0.3649, allocations: 40.73 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005135/0.3654, allocations: 221.1 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.79e-05/0.3655, allocations: 12.81 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.175e-05/0.3655, allocations: 20.38 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004464/0.366, allocations: 195.8 kB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.366, allocations: 4.125 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.789e-05/0.366, allocations: 15.94 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.366, allocations: 8 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004283/0.3664, allocations: 157.6 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000825/0.3673, allocations: 479.2 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003892/0.3676, allocations: 150.6 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001968/0.3678, allocations: 68.73 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.3679, allocations: 4 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.893e-05/0.3679, allocations: 38.5 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of pre-optimization done (n=17): time 1.452e-06/0.3679, allocations: 0 / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of matching and sorting (n=17): time 0.0006667/0.3686, allocations: 207.7 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.2e-05/0.3686, allocations: 63.25 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002087/0.3688, allocations: 179.5 kB / 1.333 GB, free: 11.29 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.3689, allocations: 29.7 kB / 1.333 GB, free: 11.26 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.369, allocations: 140.4 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.053e-05/0.369, allocations: 55.64 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.391e-05/0.3691, allocations: 53.69 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001714/0.3693, allocations: 326.8 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001753/0.3695, allocations: 51.95 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002107/0.3697, allocations: 105 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003362/0.37, allocations: 138.8 kB / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.37, allocations: 4 kB / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004436/0.3705, allocations: 201.3 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.492e-05/0.3705, allocations: 9.406 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.3705, allocations: 0 / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.3705, allocations: 8 kB / 1.334 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001874/0.3707, allocations: 31.91 kB / 1.334 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.3707, allocations: 4 kB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.3708, allocations: 19.89 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/0.3709, allocations: 7.984 kB / 1.334 GB, free: 10.07 MB / 1.029 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.0002107/0.3711, allocations: 150.4 kB / 1.334 GB, free: 9.91 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.276e-05/0.3711, allocations: 19.84 kB / 1.334 GB, free: 9.891 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.239e-05/0.3711, allocations: 17.81 kB / 1.334 GB, free: 9.875 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.3712, allocations: 4 kB / 1.334 GB, free: 9.871 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.3712, allocations: 0 / 1.334 GB, free: 9.871 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.545e-06/0.3712, allocations: 3.984 kB / 1.334 GB, free: 9.867 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002568/0.3714, allocations: 185.2 kB / 1.334 GB, free: 9.656 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3714, allocations: 0 / 1.334 GB, free: 9.656 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001388/0.3716, allocations: 23.98 kB / 1.334 GB, free: 9.633 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.3716, allocations: 7.938 kB / 1.334 GB, free: 9.625 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.3716, allocations: 0 / 1.334 GB, free: 9.625 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.3716, allocations: 7.984 kB / 1.334 GB, free: 9.617 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3716, allocations: 0 / 1.334 GB, free: 9.617 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004593/0.372, allocations: 264.6 kB / 1.334 GB, free: 9.344 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.515e-05/0.3721, allocations: 15.84 kB / 1.334 GB, free: 9.328 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.807e-05/0.3721, allocations: 7.938 kB / 1.334 GB, free: 9.32 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.3722, allocations: 11.98 kB / 1.334 GB, free: 9.309 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.345e-05/0.3723, allocations: 27.91 kB / 1.334 GB, free: 9.281 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.3723, allocations: 11.92 kB / 1.334 GB, free: 9.27 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.989e-05/0.3724, allocations: 123.5 kB / 1.335 GB, free: 9.148 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3724, allocations: 0 / 1.335 GB, free: 9.148 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002789/0.3727, allocations: 39.89 kB / 1.335 GB, free: 9.109 MB / 1.029 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.0001484/0.3729, allocations: 105.1 kB / 1.335 GB, free: 8.996 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004206/0.3733, allocations: 147.8 kB / 1.335 GB, free: 8.852 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.3733, allocations: 0 / 1.335 GB, free: 8.852 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002003/0.3735, allocations: 73.14 kB / 1.335 GB, free: 8.781 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.3738, allocations: 16 kB / 1.335 GB, free: 8.766 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007134/0.3745, allocations: 360.8 kB / 1.335 GB, free: 8.387 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001229/0.3746, allocations: 125.5 kB / 1.335 GB, free: 8.246 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.62e-05/0.3747, allocations: 17.48 kB / 1.335 GB, free: 8.23 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.356e-05/0.3748, allocations: 19.44 kB / 1.335 GB, free: 8.211 MB / 1.029 GB Notification: Performance of SimCode: time 4.01e-07/0.3748, allocations: 0 / 1.335 GB, free: 8.211 MB / 1.029 GB Notification: Performance of Templates: time 0.005262/0.38, allocations: 1.628 MB / 1.337 GB, free: 6.645 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.04355527998996]