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.001654/0.001654, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002079/0.002079, allocations: 218.6 kB / 23.01 MB, free: 4.609 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.508/1.508, allocations: 230.6 MB / 256.8 MB, free: 8.055 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.53/3.53, allocations: 0.505 GB / 0.8108 GB, free: 22.05 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.002099/0.002099, allocations: 66.2 kB / 1.178 GB, free: 16.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3713/0.3734, allocations: 180.2 MB / 1.354 GB, free: 7.973 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow): time 0.002613/0.376, allocations: 1.141 MB / 1.355 GB, free: 6.832 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001413/0.3774, allocations: 1.062 MB / 1.356 GB, free: 5.758 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.831e-05/0.3775, allocations: 8 kB / 1.356 GB, free: 5.75 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 7.212e-05/0.3776, allocations: 27.66 kB / 1.356 GB, free: 5.723 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001252/0.3777, allocations: 27.69 kB / 1.356 GB, free: 5.695 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002765/0.378, allocations: 87.91 kB / 1.356 GB, free: 5.609 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002603/0.3782, allocations: 232.1 kB / 1.357 GB, free: 5.383 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002462/0.3785, allocations: 100.6 kB / 1.357 GB, free: 5.285 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002368/0.3787, allocations: 99.58 kB / 1.357 GB, free: 5.188 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001547/0.3789, allocations: 103.5 kB / 1.357 GB, free: 5.086 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.385e-05/0.3789, allocations: 27.94 kB / 1.357 GB, free: 5.059 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.275e-05/0.379, allocations: 28 kB / 1.357 GB, free: 5.031 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.746e-05/0.3791, allocations: 51.84 kB / 1.357 GB, free: 4.98 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.000118/0.3792, allocations: 99.47 kB / 1.357 GB, free: 4.883 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004189/0.3796, allocations: 314.6 kB / 1.357 GB, free: 4.574 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.3796, allocations: 0 / 1.357 GB, free: 4.574 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.813e-06/0.3796, allocations: 0 / 1.357 GB, free: 4.574 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.686e-06/0.3796, allocations: 0 / 1.357 GB, free: 4.574 MB / 1.045 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.0007942/0.3804, allocations: 437.7 kB / 1.358 GB, free: 4.113 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.3805, allocations: 12.03 kB / 1.358 GB, free: 4.102 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001905/0.3807, allocations: 28.8 kB / 1.358 GB, free: 4.074 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005038/0.3812, allocations: 223.5 kB / 1.358 GB, free: 3.832 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.045e-05/0.3812, allocations: 16.81 kB / 1.358 GB, free: 3.816 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.165e-05/0.3812, allocations: 16.38 kB / 1.358 GB, free: 3.801 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004565/0.3817, allocations: 199.8 kB / 1.358 GB, free: 3.598 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.3817, allocations: 8.172 kB / 1.358 GB, free: 3.59 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.3817, allocations: 7.938 kB / 1.358 GB, free: 3.582 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.31e-05/0.3817, allocations: 8 kB / 1.358 GB, free: 3.574 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004367/0.3822, allocations: 161.6 kB / 1.358 GB, free: 3.414 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001012/0.3832, allocations: 0.5455 MB / 1.359 GB, free: 2.824 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003928/0.3836, allocations: 154.6 kB / 1.359 GB, free: 2.664 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000177/0.3838, allocations: 60.83 kB / 1.359 GB, free: 2.602 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.609e-05/0.3838, allocations: 0 / 1.359 GB, free: 2.602 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.199e-05/0.3838, allocations: 34.5 kB / 1.359 GB, free: 2.559 MB / 1.045 GB Notification: Performance of pre-optimization done (n=17): time 1.022e-06/0.3838, allocations: 4 kB / 1.359 GB, free: 2.555 MB / 1.045 GB Notification: Performance of matching and sorting (n=17): time 0.0006552/0.3845, allocations: 222.7 kB / 1.359 GB, free: 2.332 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/0.3845, allocations: 59.34 kB / 1.36 GB, free: 2.262 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00018/0.3847, allocations: 178.2 kB / 1.36 GB, free: 2.074 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.3847, allocations: 25.7 kB / 1.36 GB, free: 2.043 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.3848, allocations: 144.5 kB / 1.36 GB, free: 1.898 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.561e-05/0.3849, allocations: 47.72 kB / 1.36 GB, free: 1.852 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.674e-05/0.385, allocations: 49.69 kB / 1.36 GB, free: 1.797 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.3851, allocations: 326.8 kB / 1.36 GB, free: 1.469 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001752/0.3853, allocations: 59.95 kB / 1.36 GB, free: 1.41 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002067/0.3855, allocations: 101.8 kB / 1.36 GB, free: 1.293 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000334/0.3858, allocations: 143.1 kB / 1.361 GB, free: 1.137 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.3858, allocations: 4 kB / 1.361 GB, free: 1.133 MB / 1.045 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004312/0.3863, allocations: 199.6 kB / 1.361 GB, free: 0.9336 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.3863, allocations: 4 kB / 1.361 GB, free: 0.9297 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.3863, allocations: 8 kB / 1.361 GB, free: 0.9219 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.3863, allocations: 4.094 kB / 1.361 GB, free: 0.918 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001906/0.3865, allocations: 39.91 kB / 1.361 GB, free: 0.8789 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.3865, allocations: 4 kB / 1.361 GB, free: 0.875 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.3866, allocations: 23.88 kB / 1.361 GB, free: 0.8516 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.3866, allocations: 4 kB / 1.361 GB, free: 0.8477 MB / 1.045 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.0002153/0.3868, allocations: 149.7 kB / 1.361 GB, free: 0.6914 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.987e-05/0.3869, allocations: 15.84 kB / 1.361 GB, free: 0.6758 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.847e-05/0.3869, allocations: 29.8 kB / 1.361 GB, free: 0.6445 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.3869, allocations: 4 kB / 1.361 GB, free: 0.6406 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3869, allocations: 0 / 1.361 GB, free: 0.6406 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.3869, allocations: 3.984 kB / 1.361 GB, free: 0.6367 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00031/0.3873, allocations: 244.5 kB / 1.361 GB, free: 364 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.3873, allocations: 0 / 1.361 GB, free: 364 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001325/0.3874, allocations: 23.98 kB / 1.361 GB, free: 340 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3874, allocations: 0 / 1.361 GB, free: 340 kB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/0.3874, allocations: 7.984 kB / 1.361 GB, free: 332 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.3874, allocations: 3.984 kB / 1.361 GB, free: 328 kB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3874, allocations: 4 kB / 1.361 GB, free: 324 kB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004513/0.3879, allocations: 263.3 kB / 1.362 GB, free: 44 kB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.554e-05/0.3879, allocations: 15.84 kB / 1.362 GB, free: 28 kB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.618e-05/0.3879, allocations: 4 kB / 1.362 GB, free: 24 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.388, allocations: 11.98 kB / 1.362 GB, free: 12 kB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.3881, allocations: 27.95 kB / 1.362 GB, free: 15.98 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.3881, allocations: 4 kB / 1.362 GB, free: 15.98 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001064/0.3883, allocations: 124.2 kB / 1.362 GB, free: 15.86 MB / 1.061 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3883, allocations: 0 / 1.362 GB, free: 15.86 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002818/0.3885, allocations: 35.89 kB / 1.362 GB, free: 15.82 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.0001505/0.3887, allocations: 118.6 kB / 1.362 GB, free: 15.7 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004365/0.3891, allocations: 146.6 kB / 1.362 GB, free: 15.56 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3891, allocations: 0 / 1.362 GB, free: 15.56 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001901/0.3893, allocations: 75.89 kB / 1.362 GB, free: 15.48 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003015/0.3896, allocations: 15.94 kB / 1.362 GB, free: 15.47 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000729/0.3903, allocations: 383 kB / 1.362 GB, free: 15.06 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003901/0.3907, allocations: 0.732 MB / 1.363 GB, free: 14.3 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.293e-05/0.3908, allocations: 19.44 kB / 1.363 GB, free: 14.29 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/0.3908, allocations: 4 kB / 1.363 GB, free: 14.28 MB / 1.061 GB Notification: Performance of Templates: time 0.004271/0.3951, allocations: 2.198 MB / 1.365 GB, free: 12.09 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.939551368996035]