Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001641/0.001641, allocations: 110.5 kB / 15.99 MB, free: 6.352 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.001924/0.001925, allocations: 197.2 kB / 16.91 MB, free: 6.184 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.387/1.387, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.248/2.248, allocations: 390.3 MB / 0.665 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 65.11 kB / 0.8127 GB, free: 33.3 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.2729, allocations: 140.4 MB / 0.9498 GB, free: 9.18 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.002958/0.2759, allocations: 1.489 MB / 0.9513 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00148/0.2774, allocations: 1.061 MB / 0.9523 GB, free: 6.605 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002076/0.2776, allocations: 12 kB / 0.9523 GB, free: 6.594 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.000113/0.2777, allocations: 19.78 kB / 0.9523 GB, free: 6.574 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001897/0.2779, allocations: 27.72 kB / 0.9524 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003114/0.2783, allocations: 103.9 kB / 0.9525 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003628/0.2786, allocations: 336.7 kB / 0.9528 GB, free: 6.117 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003466/0.279, allocations: 210 kB / 0.953 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002114/0.2792, allocations: 127.5 kB / 0.9531 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001697/0.2794, allocations: 155.2 kB / 0.9533 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.374e-05/0.2794, allocations: 36 kB / 0.9533 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 4.513e-05/0.2795, allocations: 40 kB / 0.9533 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.87e-05/0.2796, allocations: 79.75 kB / 0.9534 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001238/0.2797, allocations: 155.1 kB / 0.9536 GB, free: 5.328 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000335/0.28, allocations: 375.4 kB / 0.9539 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.28, allocations: 4 kB / 0.9539 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.776e-06/0.2801, allocations: 3.984 kB / 0.9539 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.109e-05/0.2801, allocations: 0 / 0.9539 GB, free: 4.953 MB / 0.7325 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.000855/0.2809, allocations: 0.5692 MB / 0.9545 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.281, allocations: 12.03 kB / 0.9545 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.81e-05/0.2811, allocations: 32.56 kB / 0.9545 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005049/0.2816, allocations: 332.9 kB / 0.9548 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.369e-05/0.2816, allocations: 29.03 kB / 0.9549 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.766e-05/0.2817, allocations: 28.38 kB / 0.9549 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005397/0.2822, allocations: 286.2 kB / 0.9552 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.2822, allocations: 0 / 0.9552 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.749e-05/0.2823, allocations: 12 kB / 0.9552 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.966e-06/0.2823, allocations: 8 kB / 0.9552 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000502/0.2828, allocations: 238.4 kB / 0.9554 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001148/0.2839, allocations: 0.8153 MB / 0.9562 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004693/0.2844, allocations: 230.6 kB / 0.9564 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002219/0.2846, allocations: 112.8 kB / 0.9565 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.767e-05/0.2847, allocations: 0 / 0.9565 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.2847, allocations: 38.56 kB / 0.9566 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=26): time 1.373e-06/0.2847, allocations: 0 / 0.9566 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of matching and sorting (n=26): time 0.0007172/0.2855, allocations: 310.8 kB / 0.9569 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.752e-05/0.2855, allocations: 55.34 kB / 0.9569 GB, free: 1.691 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000184/0.2857, allocations: 211.6 kB / 0.9571 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/0.2857, allocations: 33.7 kB / 0.9572 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.2858, allocations: 180.1 kB / 0.9573 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.205e-05/0.2859, allocations: 70.91 kB / 0.9574 GB, free: 1.188 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.057e-05/0.286, allocations: 69.97 kB / 0.9575 GB, free: 1.113 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.2861, allocations: 330.8 kB / 0.9578 GB, free: 0.7812 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001988/0.2863, allocations: 80.52 kB / 0.9579 GB, free: 0.7031 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000224/0.2866, allocations: 131.9 kB / 0.958 GB, free: 0.5508 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003971/0.287, allocations: 216.9 kB / 0.9582 GB, free: 324 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.287, allocations: 0 / 0.9582 GB, free: 324 kB / 0.7325 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000523/0.2875, allocations: 269.9 kB / 0.9584 GB, free: 48 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.2875, allocations: 4.219 kB / 0.9584 GB, free: 44 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.2875, allocations: 11.94 kB / 0.9585 GB, free: 32 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.2876, allocations: 4 kB / 0.9585 GB, free: 28 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002588/0.2878, allocations: 51.95 kB / 0.9585 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.2878, allocations: 4 kB / 0.9585 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001456/0.288, allocations: 31.72 kB / 0.9585 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.065e-05/0.288, allocations: 16 kB / 0.9586 GB, free: 15.93 MB / 0.7481 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.0001456/0.2882, allocations: 156.2 kB / 0.9587 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.55e-05/0.2882, allocations: 19.72 kB / 0.9587 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005136/0.2888, allocations: 247.5 kB / 0.959 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.2888, allocations: 4 kB / 0.959 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.2888, allocations: 0 / 0.959 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.2888, allocations: 0 / 0.959 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003543/0.2891, allocations: 349.3 kB / 0.9593 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.2892, allocations: 3.938 kB / 0.9593 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001846/0.2893, allocations: 39.97 kB / 0.9593 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.2894, allocations: 0 / 0.9593 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.2894, allocations: 7.938 kB / 0.9594 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.2894, allocations: 7.938 kB / 0.9594 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2894, allocations: 0 / 0.9594 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004804/0.2899, allocations: 333.2 kB / 0.9597 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 5.158e-05/0.2899, allocations: 96.86 kB / 0.9598 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.952e-05/0.29, allocations: 7.938 kB / 0.9598 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.2901, allocations: 15.98 kB / 0.9598 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.543e-05/0.2902, allocations: 23.97 kB / 0.9598 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.2902, allocations: 8 kB / 0.9598 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 9.701e-05/0.2903, allocations: 133.5 kB / 0.9599 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2903, allocations: 0 / 0.9599 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002986/0.2906, allocations: 67.69 kB / 0.96 GB, free: 14.35 MB / 0.7481 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.0001393/0.2908, allocations: 115.2 kB / 0.9601 GB, free: 14.22 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005333/0.2913, allocations: 226.3 kB / 0.9603 GB, free: 14 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.2913, allocations: 4 kB / 0.9603 GB, free: 14 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002104/0.2916, allocations: 107.8 kB / 0.9604 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003635/0.2919, allocations: 27.77 kB / 0.9605 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009048/0.2929, allocations: 0.6012 MB / 0.9611 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.2932, allocations: 0.7636 MB / 0.9618 GB, free: 12.44 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.699e-05/0.2933, allocations: 31.42 kB / 0.9618 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of SimCode: time 4.91e-07/0.2933, allocations: 0 / 0.9618 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of Templates: time 0.004841/0.2981, allocations: 2.993 MB / 0.9648 GB, free: 9.426 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches