Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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.DualDuctColdDuctMin.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.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001158, 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.001147/0.001147, allocations: 194.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.392/1.392, allocations: 222.9 MB / 240.2 MB, free: 4.371 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.695/2.695, allocations: 437 MB / 0.7103 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 63.91 kB / 0.8693 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7252/0.7268, allocations: 151.6 MB / 1.017 GB, free: 2.465 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow): time 0.003559/0.7304, allocations: 1.279 MB / 1.019 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001792/0.7322, allocations: 1.076 MB / 1.02 GB, free: 96 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001999/0.7324, allocations: 4 kB / 1.02 GB, free: 92 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0002092/0.7327, allocations: 39.53 kB / 1.02 GB, free: 52 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.983e-05/0.7328, allocations: 27.67 kB / 1.02 GB, free: 24 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003922/0.7332, allocations: 111.8 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000339/0.7335, allocations: 284.4 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003693/0.7339, allocations: 172.8 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001907/0.7341, allocations: 115.6 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001788/0.7343, allocations: 131.3 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.012e-05/0.7344, allocations: 28 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 4.879e-05/0.7344, allocations: 35.94 kB / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.666e-05/0.7345, allocations: 63.77 kB / 1.021 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001322/0.7346, allocations: 123.3 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004129/0.735, allocations: 380.7 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.7351, allocations: 0 / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.094e-06/0.7351, allocations: 0 / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.7351, allocations: 0 / 1.021 GB, free: 14.61 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001046/0.7361, allocations: 0.5419 MB / 1.022 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.683e-05/0.7362, allocations: 12.03 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.427e-05/0.7363, allocations: 28.56 kB / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006363/0.7369, allocations: 317 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.256e-05/0.737, allocations: 16.94 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.839e-05/0.737, allocations: 28.38 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005203/0.7376, allocations: 221.4 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.7376, allocations: 192 / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.512e-05/0.7376, allocations: 15.94 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.7376, allocations: 4 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004729/0.7381, allocations: 182.1 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001128/0.7393, allocations: 0.6702 MB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004536/0.7397, allocations: 146.5 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002095/0.7399, allocations: 69 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.069e-05/0.74, allocations: 8.078 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.302e-05/0.74, allocations: 34.47 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=17): time 1.222e-06/0.74, allocations: 0 / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=17): time 0.0007111/0.7408, allocations: 222.9 kB / 1.024 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.792e-05/0.7408, allocations: 55.34 kB / 1.024 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002236/0.7411, allocations: 204.8 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.154e-05/0.7411, allocations: 33.7 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/0.7413, allocations: 167.9 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.87e-05/0.7413, allocations: 47.36 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.693e-05/0.7414, allocations: 53.69 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.7416, allocations: 330.8 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001824/0.7418, allocations: 55.97 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002374/0.742, allocations: 132.9 kB / 1.025 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003412/0.7424, allocations: 163.9 kB / 1.025 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.7424, allocations: 0 / 1.025 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004524/0.7428, allocations: 230.3 kB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.7429, allocations: 4 kB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.7429, allocations: 4 kB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.7429, allocations: 0 / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.7431, allocations: 35.97 kB / 1.025 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.7431, allocations: 8.156 kB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001367/0.7432, allocations: 35.67 kB / 1.025 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/0.7433, allocations: 15.94 kB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 15 (reaToInt2.y,actAirSet.gre.greHys.y,$PRE.actAirSet.gre.greHys.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 (25): * Single equations (assignments): 25 * 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.0002097/0.7435, allocations: 141.8 kB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.32e-05/0.7435, allocations: 15.81 kB / 1.025 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.215e-05/0.7436, allocations: 29.8 kB / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.7436, allocations: 4 kB / 1.025 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.7436, allocations: 4 kB / 1.025 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.7436, allocations: 0 / 1.025 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003322/0.7439, allocations: 305.3 kB / 1.025 GB, free: 9.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.744, allocations: 0 / 1.025 GB, free: 9.75 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001348/0.7441, allocations: 23.98 kB / 1.026 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.7441, allocations: 0 / 1.026 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.694e-05/0.7441, allocations: 7.984 kB / 1.026 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.7441, allocations: 0 / 1.026 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.7441, allocations: 0 / 1.026 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004358/0.7446, allocations: 272.6 kB / 1.026 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.196e-05/0.7446, allocations: 96.84 kB / 1.026 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.085e-05/0.7447, allocations: 4 kB / 1.026 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.7448, allocations: 15.98 kB / 1.026 GB, free: 9.305 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.316e-05/0.7449, allocations: 19.97 kB / 1.026 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.7449, allocations: 8 kB / 1.026 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001089/0.745, allocations: 144.5 kB / 1.026 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.745, allocations: 0 / 1.026 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002727/0.7453, allocations: 43.84 kB / 1.026 GB, free: 9.094 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: 9 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,actAirSet.gre.greHys.y,reaToInt2.y) * Number of discrete states: 1 (actAirSet.gre.greHys.y) * 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.0001366/0.7455, allocations: 110.4 kB / 1.026 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004552/0.7459, allocations: 173.1 kB / 1.026 GB, free: 8.812 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.7459, allocations: 0 / 1.026 GB, free: 8.812 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001901/0.7461, allocations: 83.89 kB / 1.026 GB, free: 8.73 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000316/0.7465, allocations: 25.95 kB / 1.026 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007077/0.7472, allocations: 398 kB / 1.027 GB, free: 8.285 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002776/0.7475, allocations: 0.7445 MB / 1.028 GB, free: 7.516 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.000128/0.7476, allocations: 25.94 kB / 1.028 GB, free: 7.488 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.7e-05/0.7477, allocations: 31.42 kB / 1.028 GB, free: 7.457 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.7477, allocations: 3.938 kB / 1.028 GB, free: 7.453 MB / 0.7794 GB Notification: Performance of Templates: time 0.005173/0.7529, allocations: 1.922 MB / 1.03 GB, free: 5.594 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches