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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001552/0.001552, allocations: 100.1 kB / 15.88 MB, free: 12 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.001864/0.001864, allocations: 200 kB / 16.79 MB, free: 6.828 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.412/1.412, allocations: 222.9 MB / 240.5 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.647/2.647, allocations: 437 MB / 0.7106 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 63.91 kB / 0.8693 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7599/0.7612, allocations: 151.6 MB / 1.017 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow): time 0.00266/0.7639, allocations: 1.175 MB / 1.018 GB, free: 1.602 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001159/0.7651, allocations: 0.9947 MB / 1.019 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.822e-05/0.7652, allocations: 4 kB / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 7.047e-05/0.7653, allocations: 19.8 kB / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001171/0.7654, allocations: 19.8 kB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002156/0.7656, allocations: 67.95 kB / 1.02 GB, free: 496 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001937/0.7658, allocations: 204.2 kB / 1.02 GB, free: 292 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002556/0.7661, allocations: 117.8 kB / 1.02 GB, free: 168 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001676/0.7662, allocations: 87.56 kB / 1.02 GB, free: 80 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001314/0.7664, allocations: 87.55 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.541e-05/0.7664, allocations: 12 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.531e-05/0.7665, allocations: 12 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.929e-05/0.7665, allocations: 35.84 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.115e-05/0.7666, allocations: 87.45 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002007/0.7668, allocations: 217.5 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.7668, allocations: 0 / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.02e-07/0.7668, allocations: 0 / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.7668, allocations: 0 / 1.02 GB, free: 15.64 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.0007445/0.7676, allocations: 0.4951 MB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.7676, allocations: 8.031 kB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.347e-05/0.7677, allocations: 24.66 kB / 1.021 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004749/0.7682, allocations: 274.1 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.513e-05/0.7682, allocations: 20.8 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.62e-05/0.7682, allocations: 16.38 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003903/0.7686, allocations: 191.8 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.7687, allocations: 3.938 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.075e-05/0.7687, allocations: 8 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.7687, allocations: 4 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003761/0.7691, allocations: 149.6 kB / 1.022 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007644/0.7698, allocations: 0.5686 MB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003033/0.7702, allocations: 122.6 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001546/0.7703, allocations: 60.86 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/0.7704, allocations: 7.984 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.7704, allocations: 34.56 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.202e-06/0.7704, allocations: 0 / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0005878/0.771, allocations: 207 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/0.771, allocations: 55.34 kB / 1.023 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/0.7712, allocations: 174.3 kB / 1.023 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.7712, allocations: 29.7 kB / 1.023 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.785e-05/0.7713, allocations: 144.1 kB / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.978e-05/0.7713, allocations: 51.39 kB / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.379e-05/0.7714, allocations: 41.7 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.7715, allocations: 330.8 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/0.7717, allocations: 51.91 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001815/0.7719, allocations: 95.17 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003055/0.7722, allocations: 143.1 kB / 1.024 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.7722, allocations: 0 / 1.024 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003857/0.7726, allocations: 189.2 kB / 1.024 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.7726, allocations: 5.25 kB / 1.024 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.7726, allocations: 0 / 1.024 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.7727, allocations: 4 kB / 1.024 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00018/0.7728, allocations: 40.02 kB / 1.024 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.7729, allocations: 3.984 kB / 1.024 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.773, allocations: 19.84 kB / 1.024 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.789e-05/0.773, allocations: 11.98 kB / 1.024 GB, free: 11.84 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.0001233/0.7731, allocations: 138.4 kB / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.629e-05/0.7732, allocations: 11.81 kB / 1.024 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.901e-05/0.7732, allocations: 21.47 kB / 1.024 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.7732, allocations: 11.94 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.7732, allocations: 3.938 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.7732, allocations: 3.984 kB / 1.024 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002599/0.7735, allocations: 257.6 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.7735, allocations: 4 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001254/0.7736, allocations: 23.97 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.7737, allocations: 0 / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.7737, allocations: 4 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.7737, allocations: 7.938 kB / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.7737, allocations: 0 / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003887/0.7741, allocations: 252.7 kB / 1.025 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.61e-05/0.7741, allocations: 92.86 kB / 1.025 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.398e-05/0.7742, allocations: 4 kB / 1.025 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.7743, allocations: 15.92 kB / 1.025 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.038e-05/0.7744, allocations: 19.97 kB / 1.025 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.7744, allocations: 8 kB / 1.025 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.397e-05/0.7745, allocations: 117.8 kB / 1.025 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7745, allocations: 4 kB / 1.025 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002575/0.7748, allocations: 35.84 kB / 1.025 GB, free: 10.74 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.0001269/0.7749, allocations: 111.2 kB / 1.025 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003756/0.7753, allocations: 139.8 kB / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.7753, allocations: 0 / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001643/0.7754, allocations: 67.95 kB / 1.025 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/0.7758, allocations: 20.64 kB / 1.025 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00065/0.7764, allocations: 432.7 kB / 1.026 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/0.7767, allocations: 0.7244 MB / 1.026 GB, free: 9.199 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.393e-05/0.7768, allocations: 23.42 kB / 1.026 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.7768, allocations: 0 / 1.026 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of Templates: time 0.003622/0.7804, allocations: 2.057 MB / 1.028 GB, free: 7.129 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/jenkins1/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