Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001746/0.001746, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002017/0.002017, allocations: 198.8 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.579/1.579, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.848/2.848, allocations: 476.7 MB / 0.7645 GB, free: 10.08 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 63.89 kB / 1.109 GB, free: 6.496 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9941/0.9961, allocations: 168.7 MB / 1.274 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow): time 0.003803/0.9999, allocations: 1.14 MB / 1.275 GB, free: 3.418 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001844/1.002, allocations: 1.022 MB / 1.276 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000215/1.002, allocations: 4 kB / 1.276 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001075/1.002, allocations: 23.67 kB / 1.276 GB, free: 2.355 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002124/1.002, allocations: 35.67 kB / 1.276 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004017/1.003, allocations: 83.91 kB / 1.276 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003893/1.003, allocations: 224.2 kB / 1.277 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003216/1.003, allocations: 100.1 kB / 1.277 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002751/1.004, allocations: 91.59 kB / 1.277 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002054/1.004, allocations: 103.5 kB / 1.277 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.77e-05/1.004, allocations: 27.94 kB / 1.277 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 4.563e-05/1.004, allocations: 24 kB / 1.277 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.537e-05/1.004, allocations: 51.84 kB / 1.277 GB, free: 1.625 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001505/1.004, allocations: 107.4 kB / 1.277 GB, free: 1.52 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005285/1.005, allocations: 313.3 kB / 1.277 GB, free: 1.215 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/1.005, allocations: 0 / 1.277 GB, free: 1.215 MB / 0.9669 GB Notification: Performance of FrontEnd: time 4.799e-06/1.005, allocations: 3.984 kB / 1.277 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.209e-05/1.005, allocations: 0 / 1.277 GB, free: 1.211 MB / 0.9669 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.001064/1.006, allocations: 0.4949 MB / 1.278 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/1.006, allocations: 12.03 kB / 1.278 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/1.006, allocations: 24.8 kB / 1.278 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000642/1.007, allocations: 285.7 kB / 1.278 GB, free: 320 kB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.837e-05/1.007, allocations: 16.81 kB / 1.278 GB, free: 304 kB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.842e-05/1.007, allocations: 20.38 kB / 1.278 GB, free: 284 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005984/1.007, allocations: 195.8 kB / 1.278 GB, free: 80 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/1.007, allocations: 192 / 1.278 GB, free: 80 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.163e-05/1.007, allocations: 15.94 kB / 1.278 GB, free: 64 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/1.007, allocations: 4 kB / 1.278 GB, free: 60 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005628/1.008, allocations: 165.6 kB / 1.279 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001235/1.009, allocations: 0.5802 MB / 1.279 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004027/1.01, allocations: 154.6 kB / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001891/1.01, allocations: 60.83 kB / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/1.01, allocations: 0 / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.828e-05/1.01, allocations: 34.56 kB / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=17): time 1.072e-06/1.01, allocations: 0 / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of matching and sorting (n=17): time 0.0006992/1.01, allocations: 227.3 kB / 1.28 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.332e-05/1.011, allocations: 55.41 kB / 1.28 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002821/1.011, allocations: 178.3 kB / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.672e-05/1.011, allocations: 29.7 kB / 1.28 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000128/1.011, allocations: 144.4 kB / 1.28 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.215e-05/1.011, allocations: 47.64 kB / 1.28 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/1.011, allocations: 49.69 kB / 1.28 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001733/1.011, allocations: 330.8 kB / 1.28 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001973/1.011, allocations: 55.95 kB / 1.28 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002153/1.012, allocations: 97.11 kB / 1.28 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004864/1.012, allocations: 147.1 kB / 1.281 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-06/1.012, allocations: 8 kB / 1.281 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004902/1.013, allocations: 197.3 kB / 1.281 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/1.013, allocations: 4 kB / 1.281 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/1.013, allocations: 4 kB / 1.281 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/1.013, allocations: 0 / 1.281 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001929/1.013, allocations: 27.98 kB / 1.281 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.382e-05/1.013, allocations: 11.92 kB / 1.281 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001317/1.013, allocations: 31.94 kB / 1.281 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.939e-05/1.013, allocations: 7.984 kB / 1.281 GB, free: 13.29 MB / 0.9825 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.0002225/1.013, allocations: 137.8 kB / 1.281 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.387e-05/1.013, allocations: 15.84 kB / 1.281 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.572e-05/1.013, allocations: 17.88 kB / 1.281 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/1.013, allocations: 4 kB / 1.281 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/1.013, allocations: 3.938 kB / 1.281 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/1.013, allocations: 3.984 kB / 1.281 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004222/1.014, allocations: 281.4 kB / 1.281 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/1.014, allocations: 3.938 kB / 1.281 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001344/1.014, allocations: 19.98 kB / 1.281 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/1.014, allocations: 0 / 1.281 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/1.014, allocations: 4 kB / 1.281 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/1.014, allocations: 4 kB / 1.281 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/1.014, allocations: 3.984 kB / 1.281 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004907/1.015, allocations: 273 kB / 1.282 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.203e-05/1.015, allocations: 89.02 kB / 1.282 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.408e-05/1.015, allocations: 0 / 1.282 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/1.015, allocations: 11.98 kB / 1.282 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.772e-05/1.015, allocations: 23.97 kB / 1.282 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/1.015, allocations: 4 kB / 1.282 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001076/1.015, allocations: 124.2 kB / 1.282 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.11e-07/1.015, allocations: 4 kB / 1.282 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000292/1.015, allocations: 47.78 kB / 1.282 GB, free: 12.14 MB / 0.9825 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.0001824/1.015, allocations: 106.2 kB / 1.282 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004822/1.016, allocations: 150 kB / 1.282 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.016, allocations: 4 kB / 1.282 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001999/1.016, allocations: 75.89 kB / 1.282 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003242/1.016, allocations: 19.94 kB / 1.282 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008222/1.017, allocations: 348.7 kB / 1.283 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00043/1.018, allocations: 0.7358 MB / 1.283 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.88e-05/1.018, allocations: 21.55 kB / 1.283 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.208e-05/1.018, allocations: 23.42 kB / 1.283 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of SimCode: time 6.51e-07/1.018, allocations: 0 / 1.283 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of Templates: time 0.005716/1.024, allocations: 1.531 MB / 1.285 GB, free: 9.141 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.433284922968596]