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.001708/0.001708, allocations: 110.5 kB / 19.69 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.002108/0.002108, allocations: 216.7 kB / 23.01 MB, free: 4.566 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.557/1.557, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.345/3.345, 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.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.002303/0.002303, allocations: 63.25 kB / 1.178 GB, free: 16.94 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3972/0.3995, allocations: 180.2 MB / 1.354 GB, free: 7.992 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow): time 0.002734/0.4022, allocations: 1.138 MB / 1.355 GB, free: 6.855 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001679/0.4039, allocations: 1.07 MB / 1.356 GB, free: 5.773 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.404, allocations: 4 kB / 1.356 GB, free: 5.77 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 6.866e-05/0.4041, allocations: 27.66 kB / 1.356 GB, free: 5.742 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001316/0.4042, allocations: 27.75 kB / 1.356 GB, free: 5.715 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002893/0.4045, allocations: 87.84 kB / 1.356 GB, free: 5.629 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002504/0.4048, allocations: 224.2 kB / 1.357 GB, free: 5.41 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002338/0.405, allocations: 100.6 kB / 1.357 GB, free: 5.312 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002284/0.4052, allocations: 103.6 kB / 1.357 GB, free: 5.211 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001639/0.4054, allocations: 103.5 kB / 1.357 GB, free: 5.109 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.275e-05/0.4054, allocations: 27.98 kB / 1.357 GB, free: 5.082 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 6.451e-05/0.4055, allocations: 28 kB / 1.357 GB, free: 5.055 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.893e-05/0.4055, allocations: 51.78 kB / 1.357 GB, free: 5.004 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001054/0.4057, allocations: 103.5 kB / 1.357 GB, free: 4.902 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004039/0.4061, allocations: 310.6 kB / 1.357 GB, free: 4.598 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.4061, allocations: 0 / 1.357 GB, free: 4.598 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.923e-06/0.4061, allocations: 0 / 1.357 GB, free: 4.598 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.633e-06/0.4061, allocations: 0 / 1.357 GB, free: 4.598 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.0007928/0.4069, allocations: 437.7 kB / 1.358 GB, free: 4.137 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.4069, allocations: 12.02 kB / 1.358 GB, free: 4.125 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001699/0.4071, allocations: 32.8 kB / 1.358 GB, free: 4.094 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005415/0.4076, allocations: 219.7 kB / 1.358 GB, free: 3.855 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.546e-05/0.4076, allocations: 16.81 kB / 1.358 GB, free: 3.84 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.21e-05/0.4077, allocations: 20.38 kB / 1.358 GB, free: 3.82 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004252/0.4081, allocations: 199.8 kB / 1.358 GB, free: 3.617 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.4081, allocations: 192 / 1.358 GB, free: 3.617 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.434e-05/0.4081, allocations: 15.88 kB / 1.358 GB, free: 3.602 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.4081, allocations: 7.984 kB / 1.358 GB, free: 3.594 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004133/0.4086, allocations: 157.6 kB / 1.358 GB, free: 3.438 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009133/0.4095, allocations: 0.5533 MB / 1.359 GB, free: 2.84 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003636/0.4098, allocations: 150.6 kB / 1.359 GB, free: 2.684 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001823/0.41, allocations: 56.83 kB / 1.359 GB, free: 2.625 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/0.41, allocations: 4 kB / 1.359 GB, free: 2.621 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.4101, allocations: 34.56 kB / 1.359 GB, free: 2.578 MB / 1.045 GB Notification: Performance of pre-optimization done (n=17): time 1.182e-06/0.4101, allocations: 0 / 1.359 GB, free: 2.578 MB / 1.045 GB Notification: Performance of matching and sorting (n=17): time 0.0006389/0.4107, allocations: 222.8 kB / 1.359 GB, free: 2.355 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.256e-05/0.4108, allocations: 55.41 kB / 1.36 GB, free: 2.289 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001904/0.411, allocations: 178.2 kB / 1.36 GB, free: 2.102 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.411, allocations: 33.7 kB / 1.36 GB, free: 2.062 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.4111, allocations: 144.5 kB / 1.36 GB, free: 1.918 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.25e-05/0.4111, allocations: 39.66 kB / 1.36 GB, free: 1.879 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.141e-05/0.4112, allocations: 57.69 kB / 1.36 GB, free: 1.816 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.4114, allocations: 322.8 kB / 1.36 GB, free: 1.492 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000175/0.4115, allocations: 55.95 kB / 1.36 GB, free: 1.438 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002026/0.4117, allocations: 98.98 kB / 1.36 GB, free: 1.324 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003403/0.4121, allocations: 155.2 kB / 1.361 GB, free: 1.156 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.4121, allocations: 0 / 1.361 GB, free: 1.156 MB / 1.045 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004384/0.4125, allocations: 193.4 kB / 1.361 GB, free: 0.9609 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.4125, allocations: 14.81 kB / 1.361 GB, free: 0.9492 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.4125, allocations: 0 / 1.361 GB, free: 0.9492 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.4126, allocations: 4 kB / 1.361 GB, free: 0.9453 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000189/0.4128, allocations: 39.91 kB / 1.361 GB, free: 0.9062 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.4128, allocations: 0 / 1.361 GB, free: 0.9062 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.4129, allocations: 19.88 kB / 1.361 GB, free: 0.8867 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.999e-05/0.4129, allocations: 12 kB / 1.361 GB, free: 0.875 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.0002398/0.4131, allocations: 142.4 kB / 1.361 GB, free: 0.7266 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.162e-05/0.4132, allocations: 23.78 kB / 1.361 GB, free: 0.7031 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.324e-05/0.4132, allocations: 25.81 kB / 1.361 GB, free: 0.6758 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.4132, allocations: 3.938 kB / 1.361 GB, free: 0.6719 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.4132, allocations: 3.984 kB / 1.361 GB, free: 0.668 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.4132, allocations: 0 / 1.361 GB, free: 0.668 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003207/0.4136, allocations: 248.5 kB / 1.361 GB, free: 392 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.4136, allocations: 0 / 1.361 GB, free: 392 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001293/0.4137, allocations: 19.98 kB / 1.361 GB, free: 372 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.177e-06/0.4137, allocations: 11.98 kB / 1.361 GB, free: 360 kB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.4137, allocations: 3.938 kB / 1.361 GB, free: 356 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.4137, allocations: 3.984 kB / 1.361 GB, free: 352 kB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4137, allocations: 0 / 1.361 GB, free: 352 kB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004541/0.4142, allocations: 263.3 kB / 1.362 GB, free: 72 kB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.447e-05/0.4142, allocations: 15.84 kB / 1.362 GB, free: 56 kB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.606e-05/0.4142, allocations: 12 kB / 1.362 GB, free: 44 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.4143, allocations: 11.98 kB / 1.362 GB, free: 32 kB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.628e-05/0.4144, allocations: 19.97 kB / 1.362 GB, free: 12 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.4144, allocations: 7.984 kB / 1.362 GB, free: 4 kB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001129/0.4145, allocations: 120.2 kB / 1.362 GB, free: 15.89 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4145, allocations: 0 / 1.362 GB, free: 15.89 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002952/0.4148, allocations: 39.89 kB / 1.362 GB, free: 15.85 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.0001393/0.415, allocations: 108.1 kB / 1.362 GB, free: 15.73 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004243/0.4154, allocations: 151.7 kB / 1.362 GB, free: 15.58 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.4154, allocations: 0 / 1.362 GB, free: 15.58 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001757/0.4156, allocations: 67.89 kB / 1.362 GB, free: 15.52 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/0.4159, allocations: 26.98 kB / 1.362 GB, free: 15.49 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007154/0.4166, allocations: 382.7 kB / 1.362 GB, free: 15.09 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004857/0.4171, allocations: 0.7359 MB / 1.363 GB, free: 14.32 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.004e-05/0.4171, allocations: 19.44 kB / 1.363 GB, free: 14.3 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/0.4171, allocations: 0 / 1.363 GB, free: 14.3 MB / 1.061 GB Notification: Performance of Templates: time 0.004447/0.4216, allocations: 2.19 MB / 1.365 GB, free: 12.12 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.738692938000895]