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.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.001338/0.001338, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001531/0.001531, allocations: 221.5 kB / 23 MB, free: 4.906 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.469/1.469, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.286/3.286, allocations: 0.5107 GB / 0.8166 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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=2500,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") [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.0021/0.0021, allocations: 71.12 kB / 1.187 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3504/0.3525, allocations: 181.9 MB / 1.365 GB, free: 13.6 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow): time 0.002582/0.3551, allocations: 1.074 MB / 1.366 GB, free: 12.52 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001448/0.3566, allocations: 1.042 MB / 1.367 GB, free: 11.47 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.128e-05/0.3567, allocations: 4 kB / 1.367 GB, free: 11.46 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 6.588e-05/0.3567, allocations: 27.66 kB / 1.367 GB, free: 11.44 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001421/0.3569, allocations: 39.67 kB / 1.367 GB, free: 11.4 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002803/0.3572, allocations: 83.86 kB / 1.367 GB, free: 11.32 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002686/0.3574, allocations: 236.1 kB / 1.367 GB, free: 11.08 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002273/0.3577, allocations: 92.58 kB / 1.367 GB, free: 10.99 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000228/0.3579, allocations: 99.62 kB / 1.367 GB, free: 10.89 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001232/0.358, allocations: 87.48 kB / 1.367 GB, free: 10.8 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.216e-05/0.358, allocations: 24 kB / 1.367 GB, free: 10.78 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.459e-05/0.3581, allocations: 28 kB / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.25e-05/0.3582, allocations: 55.78 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.916e-05/0.3583, allocations: 83.58 kB / 1.368 GB, free: 10.62 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003757/0.3586, allocations: 318.6 kB / 1.368 GB, free: 10.3 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3586, allocations: 0 / 1.368 GB, free: 10.3 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3586, allocations: 0 / 1.368 GB, free: 10.3 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.3586, allocations: 0 / 1.368 GB, free: 10.3 MB / 1.061 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.0007592/0.3594, allocations: 433.7 kB / 1.368 GB, free: 9.848 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.3594, allocations: 12.03 kB / 1.368 GB, free: 9.836 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000168/0.3596, allocations: 28.8 kB / 1.368 GB, free: 9.809 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004894/0.3601, allocations: 218.5 kB / 1.369 GB, free: 9.57 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.859e-05/0.3601, allocations: 20.81 kB / 1.369 GB, free: 9.551 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.213e-05/0.3602, allocations: 20.38 kB / 1.369 GB, free: 9.531 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004319/0.3606, allocations: 195.8 kB / 1.369 GB, free: 9.336 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.3606, allocations: 4.125 kB / 1.369 GB, free: 9.332 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.361e-05/0.3606, allocations: 11.94 kB / 1.369 GB, free: 9.32 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.3606, allocations: 4 kB / 1.369 GB, free: 9.316 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004303/0.3611, allocations: 161.6 kB / 1.369 GB, free: 9.16 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007987/0.3619, allocations: 479.2 kB / 1.369 GB, free: 8.66 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003855/0.3622, allocations: 154.5 kB / 1.37 GB, free: 8.5 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001778/0.3624, allocations: 56.83 kB / 1.37 GB, free: 8.441 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.492e-05/0.3624, allocations: 4 kB / 1.37 GB, free: 8.438 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.3625, allocations: 34.56 kB / 1.37 GB, free: 8.395 MB / 1.061 GB Notification: Performance of pre-optimization done (n=17): time 1.483e-06/0.3625, allocations: 0 / 1.37 GB, free: 8.395 MB / 1.061 GB Notification: Performance of matching and sorting (n=17): time 0.0006414/0.3631, allocations: 219.6 kB / 1.37 GB, free: 8.176 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.463e-05/0.3632, allocations: 55.34 kB / 1.37 GB, free: 8.109 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/0.3634, allocations: 186.6 kB / 1.37 GB, free: 7.918 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.228e-05/0.3634, allocations: 29.7 kB / 1.37 GB, free: 7.883 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.3635, allocations: 148.4 kB / 1.37 GB, free: 7.734 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.397e-05/0.3635, allocations: 43.7 kB / 1.37 GB, free: 7.691 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.139e-05/0.3636, allocations: 57.64 kB / 1.37 GB, free: 7.629 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.3638, allocations: 326.8 kB / 1.371 GB, free: 7.301 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001804/0.364, allocations: 59.95 kB / 1.371 GB, free: 7.242 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002146/0.3642, allocations: 97.11 kB / 1.371 GB, free: 7.129 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003601/0.3645, allocations: 146.5 kB / 1.371 GB, free: 6.969 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3645, allocations: 0 / 1.371 GB, free: 6.969 MB / 1.061 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004444/0.365, allocations: 197.2 kB / 1.371 GB, free: 6.77 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.365, allocations: 9.656 kB / 1.371 GB, free: 6.762 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.365, allocations: 160 / 1.371 GB, free: 6.762 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.365, allocations: 8 kB / 1.371 GB, free: 6.754 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001987/0.3652, allocations: 39.91 kB / 1.371 GB, free: 6.715 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.3652, allocations: 0 / 1.371 GB, free: 6.715 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001139/0.3653, allocations: 23.88 kB / 1.371 GB, free: 6.691 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.3654, allocations: 8 kB / 1.371 GB, free: 6.684 MB / 1.061 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.0001761/0.3655, allocations: 137.8 kB / 1.371 GB, free: 6.539 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.207e-05/0.3656, allocations: 19.84 kB / 1.371 GB, free: 6.52 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.46e-05/0.3656, allocations: 29.73 kB / 1.371 GB, free: 6.492 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.3656, allocations: 0 / 1.371 GB, free: 6.492 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3656, allocations: 0 / 1.371 GB, free: 6.492 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.3656, allocations: 4 kB / 1.371 GB, free: 6.488 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002537/0.3659, allocations: 185.2 kB / 1.372 GB, free: 6.277 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.3659, allocations: 4 kB / 1.372 GB, free: 6.273 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001349/0.366, allocations: 23.92 kB / 1.372 GB, free: 6.25 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.366, allocations: 3.938 kB / 1.372 GB, free: 6.246 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.3661, allocations: 11.98 kB / 1.372 GB, free: 6.234 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3661, allocations: 0 / 1.372 GB, free: 6.234 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3661, allocations: 4 kB / 1.372 GB, free: 6.23 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000472/0.3665, allocations: 255.4 kB / 1.372 GB, free: 5.965 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.671e-05/0.3666, allocations: 19.83 kB / 1.372 GB, free: 5.945 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.3666, allocations: 11.92 kB / 1.372 GB, free: 5.934 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.3667, allocations: 8 kB / 1.372 GB, free: 5.926 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.476e-05/0.3668, allocations: 23.95 kB / 1.372 GB, free: 5.902 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.3668, allocations: 8 kB / 1.372 GB, free: 5.895 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001053/0.3669, allocations: 119.2 kB / 1.372 GB, free: 5.777 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3669, allocations: 4 kB / 1.372 GB, free: 5.773 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002864/0.3672, allocations: 35.89 kB / 1.372 GB, free: 5.738 MB / 1.061 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.0001256/0.3673, allocations: 109 kB / 1.372 GB, free: 5.621 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004358/0.3677, allocations: 145.5 kB / 1.372 GB, free: 5.48 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3677, allocations: 4.312 kB / 1.372 GB, free: 5.477 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001899/0.3679, allocations: 71.89 kB / 1.372 GB, free: 5.406 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002961/0.3682, allocations: 17.09 kB / 1.372 GB, free: 5.391 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007035/0.3689, allocations: 388.7 kB / 1.373 GB, free: 4.98 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001339/0.3691, allocations: 125.2 kB / 1.373 GB, free: 4.84 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.017e-05/0.3691, allocations: 27.38 kB / 1.373 GB, free: 4.812 MB / 1.061 GB Notification: Performance of SimCode: time 3.3e-07/0.3691, allocations: 0 / 1.373 GB, free: 4.812 MB / 1.061 GB Notification: Performance of Templates: time 0.004458/0.3736, allocations: 2.228 MB / 1.375 GB, free: 2.59 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.181515591219068]