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.001963/0.001963, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002137/0.002137, allocations: 202.1 kB / 16.14 MB, free: 6.633 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.582/1.582, allocations: 222.9 MB / 239.8 MB, free: 4.594 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.908/2.908, allocations: 437 MB / 0.7099 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002555/0.002555, allocations: 67.89 kB / 0.8686 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7801/0.7826, allocations: 151.6 MB / 1.017 GB, free: 2.773 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.00349/0.7862, allocations: 1.484 MB / 1.018 GB, free: 1.289 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001794/0.788, allocations: 1.077 MB / 1.019 GB, free: 204 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002299/0.7883, allocations: 4 kB / 1.019 GB, free: 200 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001393/0.7884, allocations: 15.8 kB / 1.019 GB, free: 184 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001947/0.7886, allocations: 23.78 kB / 1.019 GB, free: 160 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003201/0.789, allocations: 107.9 kB / 1.019 GB, free: 52 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0004088/0.7894, allocations: 308.8 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003634/0.7897, allocations: 209.8 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001865/0.7899, allocations: 107.5 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000172/0.7901, allocations: 135.2 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.309e-05/0.7902, allocations: 20 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 3.814e-05/0.7902, allocations: 20 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.558e-05/0.7903, allocations: 63.75 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001385/0.7904, allocations: 139.1 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004324/0.7909, allocations: 436.5 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.937e-06/0.7909, allocations: 7.984 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.896e-06/0.7909, allocations: 0 / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.7909, allocations: 3.938 kB / 1.021 GB, free: 14.63 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.0009634/0.7919, allocations: 0.5771 MB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.7919, allocations: 11.98 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.206e-05/0.792, allocations: 44.41 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006055/0.7926, allocations: 329 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.111e-05/0.7927, allocations: 21.03 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.057e-05/0.7927, allocations: 36.38 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005788/0.7933, allocations: 278.6 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.7933, allocations: 192 / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.793e-05/0.7934, allocations: 19.94 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.7934, allocations: 8 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005512/0.7939, allocations: 230.5 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001294/0.7953, allocations: 0.8191 MB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000488/0.7958, allocations: 232.8 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002465/0.796, allocations: 116.8 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.418e-05/0.7961, allocations: 4 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.058e-05/0.7961, allocations: 34.56 kB / 1.023 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=26): time 1.342e-06/0.7961, allocations: 0 / 1.023 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=26): time 0.0007855/0.7969, allocations: 299 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.328e-05/0.797, allocations: 59.34 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002126/0.7972, allocations: 204.7 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.7972, allocations: 29.7 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.7974, allocations: 176.2 kB / 1.024 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.128e-05/0.7974, allocations: 78.84 kB / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.7975, allocations: 73.91 kB / 1.024 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.7977, allocations: 330.8 kB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002156/0.7979, allocations: 80.45 kB / 1.025 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002598/0.7982, allocations: 143.9 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004506/0.7987, allocations: 222.6 kB / 1.025 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.7987, allocations: 0 / 1.025 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005502/0.7992, allocations: 261.3 kB / 1.025 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.7993, allocations: 12.03 kB / 1.025 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.7993, allocations: 0 / 1.025 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.7993, allocations: 4 kB / 1.025 GB, free: 9.691 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002634/0.7996, allocations: 59.84 kB / 1.025 GB, free: 9.633 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.7996, allocations: 7.938 kB / 1.025 GB, free: 9.625 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.7997, allocations: 23.83 kB / 1.025 GB, free: 9.602 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.078e-05/0.7997, allocations: 8 kB / 1.025 GB, free: 9.594 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.0001739/0.7999, allocations: 162.3 kB / 1.026 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.838e-05/0.8, allocations: 23.72 kB / 1.026 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000578/0.8006, allocations: 249 kB / 1.026 GB, free: 9.156 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.8006, allocations: 7.938 kB / 1.026 GB, free: 9.148 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/0.8006, allocations: 3.984 kB / 1.026 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.8006, allocations: 0 / 1.026 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004296/0.801, allocations: 349.4 kB / 1.026 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.801, allocations: 0 / 1.026 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002027/0.8013, allocations: 43.91 kB / 1.026 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.8013, allocations: 4 kB / 1.026 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.8013, allocations: 4 kB / 1.026 GB, free: 8.703 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.8013, allocations: 3.938 kB / 1.026 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.8013, allocations: 0 / 1.026 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005438/0.8019, allocations: 329.8 kB / 1.026 GB, free: 8.363 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.364e-05/0.8019, allocations: 92.86 kB / 1.027 GB, free: 8.254 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.148e-05/0.802, allocations: 11.94 kB / 1.027 GB, free: 8.242 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.8021, allocations: 19.83 kB / 1.027 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.672e-05/0.8022, allocations: 23.97 kB / 1.027 GB, free: 8.199 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.75e-05/0.8022, allocations: 11.98 kB / 1.027 GB, free: 8.188 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001245/0.8024, allocations: 136.5 kB / 1.027 GB, free: 8.055 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8024, allocations: 4 kB / 1.027 GB, free: 8.051 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003255/0.8027, allocations: 55.78 kB / 1.027 GB, free: 7.996 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.0001472/0.8029, allocations: 115.2 kB / 1.027 GB, free: 7.875 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005303/0.8034, allocations: 213.7 kB / 1.027 GB, free: 7.668 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.8034, allocations: 4 kB / 1.027 GB, free: 7.664 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002533/0.8037, allocations: 111.8 kB / 1.027 GB, free: 7.555 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003734/0.8041, allocations: 24.55 kB / 1.027 GB, free: 7.531 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009862/0.805, allocations: 0.5837 MB / 1.028 GB, free: 6.918 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004282/0.8055, allocations: 0.7597 MB / 1.029 GB, free: 6.133 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001544/0.8056, allocations: 34.28 kB / 1.029 GB, free: 6.102 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.095e-05/0.8057, allocations: 27.42 kB / 1.029 GB, free: 6.078 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.8057, allocations: 0 / 1.029 GB, free: 6.078 MB / 0.7794 GB Notification: Performance of Templates: time 0.005405/0.8111, allocations: 1.693 MB / 1.03 GB, free: 4.43 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=400 -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