Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.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.Reheat.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VHeaMin_flow|actAirSet.VHeaMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VHeaMin_flow|actAirSet.VHeaMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001514/0.001514, 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.001643/0.001643, allocations: 195.3 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.449/1.449, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.723/2.723, allocations: 437 MB / 0.7103 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 67.91 kB / 0.8693 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8913/0.8927, allocations: 151.6 MB / 1.017 GB, free: 2.516 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.0033/0.8961, allocations: 1.431 MB / 1.019 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001784/0.8979, allocations: 1.097 MB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002677/0.8982, allocations: 8 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001342/0.8983, allocations: 35.53 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002378/0.8986, allocations: 35.53 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000389/0.899, allocations: 115.9 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004145/0.8994, allocations: 332.7 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004074/0.8999, allocations: 217.8 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002955/0.9002, allocations: 139.4 kB / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001963/0.9004, allocations: 147.2 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.738e-05/0.9005, allocations: 36 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 5.398e-05/0.9005, allocations: 40 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.619e-05/0.9006, allocations: 75.77 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001397/0.9007, allocations: 159.1 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004825/0.9012, allocations: 448.2 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.9012, allocations: 4 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.737e-06/0.9012, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.592e-05/0.9013, allocations: 3.938 kB / 1.022 GB, free: 14.21 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001025/0.9023, allocations: 0.5809 MB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.9024, allocations: 8.031 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.747e-05/0.9024, allocations: 32.56 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005716/0.903, allocations: 336.9 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.598e-05/0.9031, allocations: 25.03 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.086e-05/0.9031, allocations: 36.36 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005756/0.9037, allocations: 286.6 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.9037, allocations: 4.188 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.898e-05/0.9038, allocations: 11.94 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.9038, allocations: 8 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005408/0.9043, allocations: 234.5 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001244/0.9056, allocations: 0.8113 MB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005045/0.9061, allocations: 230.7 kB / 1.024 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002543/0.9064, allocations: 125.4 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.016e-05/0.9064, allocations: 7.984 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.9065, allocations: 30.56 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=26): time 1.794e-06/0.9065, allocations: 0 / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of matching and sorting (n=26): time 0.0007762/0.9072, allocations: 299.7 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.9073, allocations: 59.34 kB / 1.025 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002054/0.9075, allocations: 204.7 kB / 1.025 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.9075, allocations: 29.7 kB / 1.025 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.9077, allocations: 172.2 kB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.568e-05/0.9077, allocations: 82.83 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/0.9079, allocations: 73.97 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.908, allocations: 334.7 kB / 1.025 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002122/0.9082, allocations: 72.52 kB / 1.025 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002481/0.9085, allocations: 151.9 kB / 1.026 GB, free: 9.777 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004346/0.9089, allocations: 211.9 kB / 1.026 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.9089, allocations: 4 kB / 1.026 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005535/0.9095, allocations: 262.9 kB / 1.026 GB, free: 9.281 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.9095, allocations: 8.219 kB / 1.026 GB, free: 9.273 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.876e-05/0.9095, allocations: 4 kB / 1.026 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.9096, allocations: 4 kB / 1.026 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000277/0.9099, allocations: 59.84 kB / 1.026 GB, free: 9.207 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.9099, allocations: 3.938 kB / 1.026 GB, free: 9.203 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001484/0.91, allocations: 27.83 kB / 1.026 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.057e-05/0.9101, allocations: 8 kB / 1.026 GB, free: 9.168 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: 13 (reaToInt2.y,actAirSet.ifSetBac.y,actAirSet.ifWarUp.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or2.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 (33): * Single equations (assignments): 33 * 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.000154/0.9102, allocations: 161.7 kB / 1.026 GB, free: 9 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.049e-05/0.9103, allocations: 23.72 kB / 1.026 GB, free: 8.977 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005551/0.9108, allocations: 242 kB / 1.027 GB, free: 8.738 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.9109, allocations: 7.938 kB / 1.027 GB, free: 8.73 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.9109, allocations: 0 / 1.027 GB, free: 8.73 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.208e-06/0.9109, allocations: 3.984 kB / 1.027 GB, free: 8.727 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003761/0.9113, allocations: 345.3 kB / 1.027 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.9113, allocations: 0 / 1.027 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000194/0.9115, allocations: 43.91 kB / 1.027 GB, free: 8.297 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.9115, allocations: 0 / 1.027 GB, free: 8.297 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.787e-05/0.9115, allocations: 4 kB / 1.027 GB, free: 8.293 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.9115, allocations: 3.938 kB / 1.027 GB, free: 8.289 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.9115, allocations: 0 / 1.027 GB, free: 8.289 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005187/0.912, allocations: 333.7 kB / 1.027 GB, free: 7.949 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.413e-05/0.9121, allocations: 96.86 kB / 1.027 GB, free: 7.836 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.025e-05/0.9122, allocations: 7.938 kB / 1.027 GB, free: 7.828 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/0.9123, allocations: 23.92 kB / 1.027 GB, free: 7.805 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.9124, allocations: 19.97 kB / 1.027 GB, free: 7.785 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.9124, allocations: 12 kB / 1.027 GB, free: 7.773 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001134/0.9126, allocations: 140.5 kB / 1.028 GB, free: 7.637 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.5e-07/0.9126, allocations: 4 kB / 1.028 GB, free: 7.633 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003257/0.9129, allocations: 55.75 kB / 1.028 GB, free: 7.578 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.or2.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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.0001535/0.913, allocations: 108.8 kB / 1.028 GB, free: 7.465 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005771/0.9136, allocations: 228 kB / 1.028 GB, free: 7.242 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.9136, allocations: 4 kB / 1.028 GB, free: 7.238 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002608/0.9139, allocations: 114.3 kB / 1.028 GB, free: 7.129 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004152/0.9143, allocations: 21.56 kB / 1.028 GB, free: 7.109 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009407/0.9153, allocations: 482 kB / 1.029 GB, free: 6.605 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/0.9157, allocations: 0.7636 MB / 1.029 GB, free: 5.816 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001511/0.9158, allocations: 34.28 kB / 1.029 GB, free: 5.785 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.601e-05/0.9159, allocations: 23.44 kB / 1.029 GB, free: 5.766 MB / 0.7794 GB Notification: Performance of SimCode: time 4.3e-07/0.9159, allocations: 0 / 1.029 GB, free: 5.766 MB / 0.7794 GB Notification: Performance of Templates: time 0.005561/0.9215, allocations: 1.854 MB / 1.031 GB, free: 3.957 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches