Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_10_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=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001789/0.001789, allocations: 196.6 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.703/2.703, allocations: 437 MB / 0.7103 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001399, allocations: 55.91 kB / 0.8693 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7874/0.7888, allocations: 151.6 MB / 1.017 GB, free: 2.52 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow): time 0.002942/0.7918, allocations: 1.11 MB / 1.018 GB, free: 1.406 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00141/0.7932, allocations: 1.014 MB / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001475/0.7934, allocations: 0 / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 8.166e-05/0.7935, allocations: 27.67 kB / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001497/0.7937, allocations: 19.73 kB / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002655/0.7939, allocations: 79.84 kB / 1.02 GB, free: 260 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002783/0.7942, allocations: 216.2 kB / 1.02 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002895/0.7945, allocations: 125.3 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002133/0.7947, allocations: 91.59 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001502/0.7949, allocations: 99.53 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.244e-05/0.795, allocations: 20 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 3.672e-05/0.795, allocations: 24 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.876e-05/0.7951, allocations: 47.83 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.7952, allocations: 103.4 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003153/0.7955, allocations: 277.1 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.7955, allocations: 4 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.714e-06/0.7955, allocations: 0 / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.239e-05/0.7955, allocations: 0 / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.000805/0.7963, allocations: 491 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.7964, allocations: 15.97 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.736e-05/0.7965, allocations: 20.66 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005194/0.797, allocations: 280.3 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.337e-05/0.797, allocations: 12.81 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.267e-05/0.7971, allocations: 20.38 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004155/0.7975, allocations: 187.8 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.7975, allocations: 3.938 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.129e-05/0.7975, allocations: 8 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.7976, allocations: 4 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004043/0.798, allocations: 153.6 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008549/0.7988, allocations: 0.5725 MB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003291/0.7992, allocations: 126.7 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001657/0.7993, allocations: 56.83 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.7994, allocations: 7.938 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.7994, allocations: 42.5 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.393e-06/0.7994, allocations: 0 / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0006306/0.8001, allocations: 199.2 kB / 1.023 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/0.8001, allocations: 55.34 kB / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.8003, allocations: 179.7 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.8003, allocations: 33.7 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.073e-05/0.8004, allocations: 136.2 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.025e-05/0.8005, allocations: 43.45 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.206e-05/0.8005, allocations: 49.69 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.8007, allocations: 326.8 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001669/0.8008, allocations: 47.97 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001945/0.8011, allocations: 102.6 kB / 1.024 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003412/0.8014, allocations: 138.4 kB / 1.024 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.8014, allocations: 0 / 1.024 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004419/0.8019, allocations: 185.2 kB / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.8019, allocations: 9.875 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.8019, allocations: 4 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.8019, allocations: 0 / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001892/0.8021, allocations: 39.84 kB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.506e-05/0.8022, allocations: 4 kB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001259/0.8023, allocations: 23.83 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.35e-05/0.8023, allocations: 4 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 13 (reaToInt2.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 (20): * Single equations (assignments): 20 * 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.000138/0.8025, allocations: 141.8 kB / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.663e-05/0.8025, allocations: 15.81 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.323e-05/0.8026, allocations: 21.47 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.8026, allocations: 15.86 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.8026, allocations: 0 / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.8026, allocations: 0 / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00029/0.8029, allocations: 257.6 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.8029, allocations: 0 / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001441/0.803, allocations: 23.97 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.696e-06/0.8031, allocations: 0 / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.8031, allocations: 8 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.8031, allocations: 3.938 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.8031, allocations: 0 / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000439/0.8035, allocations: 256.9 kB / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.493e-05/0.8036, allocations: 100.8 kB / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.425e-05/0.8036, allocations: 0 / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.8038, allocations: 15.92 kB / 1.025 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.343e-05/0.8039, allocations: 19.98 kB / 1.025 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.8039, allocations: 4 kB / 1.025 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.55e-05/0.804, allocations: 124.2 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.11e-07/0.804, allocations: 0 / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002815/0.8043, allocations: 35.84 kB / 1.025 GB, free: 10.37 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.000143/0.8044, allocations: 115.2 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004369/0.8049, allocations: 143.8 kB / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.8049, allocations: 0 / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001845/0.8051, allocations: 73.16 kB / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003716/0.8054, allocations: 21.33 kB / 1.025 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007106/0.8062, allocations: 321.2 kB / 1.026 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003264/0.8065, allocations: 0.7397 MB / 1.026 GB, free: 8.914 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001085/0.8066, allocations: 17.55 kB / 1.026 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.125e-05/0.8067, allocations: 23.44 kB / 1.026 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of SimCode: time 3.1e-07/0.8067, allocations: 3.938 kB / 1.026 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of Templates: time 0.004767/0.8115, allocations: 1.436 MB / 1.028 GB, free: 7.492 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches