Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.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.001314/0.001314, 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.001444/0.001444, allocations: 222.9 kB / 23 MB, free: 4.91 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.484/1.484, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.273/3.273, allocations: 0.5107 GB / 0.8166 GB, free: 17.79 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.DualDuctMixConDischargeSensor.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.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.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.DualDuctMixConDischargeSensor.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.002128/0.002128, allocations: 71.02 kB / 1.187 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3862/0.3883, allocations: 181.9 MB / 1.365 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow): time 0.00261/0.3909, allocations: 1.064 MB / 1.366 GB, free: 12.55 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001516/0.3924, allocations: 1.053 MB / 1.367 GB, free: 11.48 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000135/0.3926, allocations: 4 kB / 1.367 GB, free: 11.48 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 7.465e-05/0.3926, allocations: 23.67 kB / 1.367 GB, free: 11.46 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001412/0.3928, allocations: 35.66 kB / 1.367 GB, free: 11.42 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000298/0.3931, allocations: 91.86 kB / 1.367 GB, free: 11.33 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002748/0.3933, allocations: 224.2 kB / 1.367 GB, free: 11.11 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002288/0.3936, allocations: 92.58 kB / 1.367 GB, free: 11.02 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002321/0.3938, allocations: 99.64 kB / 1.367 GB, free: 10.92 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001434/0.3939, allocations: 95.47 kB / 1.367 GB, free: 10.82 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.153e-05/0.394, allocations: 24 kB / 1.367 GB, free: 10.8 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.616e-05/0.3941, allocations: 28 kB / 1.367 GB, free: 10.77 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.853e-05/0.3941, allocations: 47.84 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.977e-05/0.3942, allocations: 83.58 kB / 1.368 GB, free: 10.64 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003952/0.3946, allocations: 322.6 kB / 1.368 GB, free: 10.33 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.3946, allocations: 0 / 1.368 GB, free: 10.33 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3946, allocations: 0 / 1.368 GB, free: 10.33 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.708e-06/0.3946, allocations: 0 / 1.368 GB, free: 10.33 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.0007722/0.3954, allocations: 433.7 kB / 1.368 GB, free: 9.871 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.3954, allocations: 8.031 kB / 1.368 GB, free: 9.863 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001745/0.3956, allocations: 36.72 kB / 1.368 GB, free: 9.828 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004718/0.3961, allocations: 214.5 kB / 1.368 GB, free: 9.594 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.818e-05/0.3961, allocations: 16.81 kB / 1.369 GB, free: 9.578 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.568e-05/0.3961, allocations: 20.38 kB / 1.369 GB, free: 9.559 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004254/0.3966, allocations: 203.8 kB / 1.369 GB, free: 9.355 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.3966, allocations: 192 / 1.369 GB, free: 9.355 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.413e-05/0.3966, allocations: 15.94 kB / 1.369 GB, free: 9.34 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.3966, allocations: 4 kB / 1.369 GB, free: 9.336 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004021/0.397, allocations: 157.6 kB / 1.369 GB, free: 9.184 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008019/0.3978, allocations: 475.3 kB / 1.369 GB, free: 8.688 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003851/0.3982, allocations: 158.5 kB / 1.37 GB, free: 8.523 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001707/0.3984, allocations: 56.83 kB / 1.37 GB, free: 8.465 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.741e-05/0.3984, allocations: 4 kB / 1.37 GB, free: 8.461 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.3984, allocations: 34.56 kB / 1.37 GB, free: 8.418 MB / 1.061 GB Notification: Performance of pre-optimization done (n=17): time 1.553e-06/0.3984, allocations: 3.938 kB / 1.37 GB, free: 8.414 MB / 1.061 GB Notification: Performance of matching and sorting (n=17): time 0.0006233/0.399, allocations: 219.9 kB / 1.37 GB, free: 8.195 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.039e-05/0.3991, allocations: 63.28 kB / 1.37 GB, free: 8.121 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00018/0.3993, allocations: 182.7 kB / 1.37 GB, free: 7.934 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.84e-05/0.3993, allocations: 29.7 kB / 1.37 GB, free: 7.898 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.637e-05/0.3994, allocations: 140.4 kB / 1.37 GB, free: 7.758 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.711e-05/0.3994, allocations: 47.7 kB / 1.37 GB, free: 7.711 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.408e-05/0.3995, allocations: 57.64 kB / 1.37 GB, free: 7.648 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.3997, allocations: 326.8 kB / 1.371 GB, free: 7.32 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000166/0.3998, allocations: 51.95 kB / 1.371 GB, free: 7.27 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000203/0.4, allocations: 101.1 kB / 1.371 GB, free: 7.152 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003365/0.4004, allocations: 143 kB / 1.371 GB, free: 6.996 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4004, allocations: 0 / 1.371 GB, free: 6.996 MB / 1.061 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004481/0.4008, allocations: 209.2 kB / 1.371 GB, free: 6.785 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.4008, allocations: 7.938 kB / 1.371 GB, free: 6.777 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.4008, allocations: 4 kB / 1.371 GB, free: 6.773 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.4009, allocations: 0 / 1.371 GB, free: 6.773 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00018/0.401, allocations: 35.91 kB / 1.371 GB, free: 6.738 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.4011, allocations: 4 kB / 1.371 GB, free: 6.734 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.4012, allocations: 28.03 kB / 1.371 GB, free: 6.707 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.4012, allocations: 4 kB / 1.371 GB, free: 6.703 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.000182/0.4014, allocations: 142.9 kB / 1.371 GB, free: 6.555 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.243e-05/0.4014, allocations: 15.84 kB / 1.371 GB, free: 6.539 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.552e-05/0.4014, allocations: 17.81 kB / 1.371 GB, free: 6.523 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-06/0.4015, allocations: 4 kB / 1.371 GB, free: 6.52 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.4015, allocations: 3.938 kB / 1.371 GB, free: 6.516 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.4015, allocations: 3.984 kB / 1.371 GB, free: 6.512 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002435/0.4017, allocations: 193.2 kB / 1.372 GB, free: 6.293 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.4017, allocations: 0 / 1.372 GB, free: 6.293 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001289/0.4018, allocations: 23.92 kB / 1.372 GB, free: 6.27 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.4018, allocations: 3.938 kB / 1.372 GB, free: 6.266 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.4019, allocations: 7.984 kB / 1.372 GB, free: 6.258 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.4019, allocations: 0 / 1.372 GB, free: 6.258 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.4019, allocations: 4 kB / 1.372 GB, free: 6.254 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004365/0.4023, allocations: 257.3 kB / 1.372 GB, free: 5.988 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.322e-05/0.4023, allocations: 19.84 kB / 1.372 GB, free: 5.969 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.604e-05/0.4023, allocations: 7.938 kB / 1.372 GB, free: 5.961 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.4025, allocations: 11.98 kB / 1.372 GB, free: 5.949 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.547e-05/0.4025, allocations: 19.97 kB / 1.372 GB, free: 5.93 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.4026, allocations: 11.98 kB / 1.372 GB, free: 5.918 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.00011/0.4027, allocations: 119.2 kB / 1.372 GB, free: 5.801 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.4027, allocations: 0 / 1.372 GB, free: 5.801 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002699/0.4029, allocations: 35.89 kB / 1.372 GB, free: 5.766 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.0001268/0.4031, allocations: 118.4 kB / 1.372 GB, free: 5.641 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004145/0.4035, allocations: 139.8 kB / 1.372 GB, free: 5.504 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.4035, allocations: 4 kB / 1.372 GB, free: 5.5 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001832/0.4037, allocations: 73.45 kB / 1.372 GB, free: 5.43 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002832/0.4039, allocations: 24.25 kB / 1.372 GB, free: 5.406 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006924/0.4046, allocations: 386.5 kB / 1.373 GB, free: 4.996 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001225/0.4048, allocations: 121.2 kB / 1.373 GB, free: 4.859 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.794e-05/0.4048, allocations: 31.38 kB / 1.373 GB, free: 4.828 MB / 1.061 GB Notification: Performance of SimCode: time 4.6e-07/0.4048, allocations: 0 / 1.373 GB, free: 4.828 MB / 1.061 GB Notification: Performance of Templates: time 0.004591/0.4094, allocations: 2.224 MB / 1.375 GB, free: 2.613 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.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.108214894775301]