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.001423/0.001423, allocations: 106.2 kB / 16.27 MB, free: 6.414 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.00159/0.00159, allocations: 191.2 kB / 17.2 MB, free: 5.953 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.391/1.391, allocations: 222.9 MB / 240.9 MB, free: 15.22 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.431/2.431, allocations: 390.3 MB / 0.6653 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 68.14 kB / 0.8132 GB, free: 33.06 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.3259, allocations: 140.4 MB / 0.9503 GB, free: 8.805 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.003369/0.3293, allocations: 1.426 MB / 0.9517 GB, free: 7.363 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00173/0.331, allocations: 1.092 MB / 0.9528 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002746/0.3313, allocations: 4 kB / 0.9528 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001306/0.3315, allocations: 39.47 kB / 0.9528 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002457/0.3318, allocations: 39.59 kB / 0.9529 GB, free: 6.176 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003555/0.3321, allocations: 111.8 kB / 0.953 GB, free: 6.066 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004264/0.3326, allocations: 340.7 kB / 0.9533 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003905/0.333, allocations: 210 kB / 0.9535 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002576/0.3333, allocations: 131.4 kB / 0.9536 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000197/0.3335, allocations: 151.2 kB / 0.9538 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.913e-05/0.3335, allocations: 40 kB / 0.9538 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.219e-05/0.3336, allocations: 36 kB / 0.9538 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.879e-05/0.3337, allocations: 79.75 kB / 0.9539 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001406/0.3338, allocations: 159.1 kB / 0.9541 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004329/0.3343, allocations: 458.8 kB / 0.9545 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.3343, allocations: 0 / 0.9545 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3343, allocations: 0 / 0.9545 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.173e-05/0.3343, allocations: 0 / 0.9545 GB, free: 4.492 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.0009683/0.3353, allocations: 0.5848 MB / 0.9551 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.3353, allocations: 11.97 kB / 0.9551 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.297e-05/0.3354, allocations: 32.56 kB / 0.9551 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006084/0.3361, allocations: 337 kB / 0.9554 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.229e-05/0.3361, allocations: 21.03 kB / 0.9555 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.446e-05/0.3362, allocations: 32.38 kB / 0.9555 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005768/0.3367, allocations: 290.1 kB / 0.9558 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.3368, allocations: 0 / 0.9558 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.026e-05/0.3368, allocations: 16 kB / 0.9558 GB, free: 3.09 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.3368, allocations: 8 kB / 0.9558 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005405/0.3374, allocations: 230.5 kB / 0.956 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001219/0.3386, allocations: 0.8075 MB / 0.9568 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004903/0.3391, allocations: 234.7 kB / 0.957 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002481/0.3394, allocations: 108.8 kB / 0.9571 GB, free: 1.645 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.385e-05/0.3394, allocations: 4 kB / 0.9571 GB, free: 1.641 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.3394, allocations: 38.55 kB / 0.9572 GB, free: 1.594 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=26): time 3.216e-06/0.3394, allocations: 0 / 0.9572 GB, free: 1.594 MB / 0.7325 GB Notification: Performance of matching and sorting (n=26): time 0.0007851/0.3402, allocations: 307.6 kB / 0.9575 GB, free: 1.289 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.3403, allocations: 55.41 kB / 0.9575 GB, free: 1.223 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002327/0.3405, allocations: 215.6 kB / 0.9577 GB, free: 1.004 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.3406, allocations: 25.7 kB / 0.9577 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.3407, allocations: 180.2 kB / 0.9579 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.885e-05/0.3408, allocations: 70.91 kB / 0.958 GB, free: 0.7227 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.3409, allocations: 73.97 kB / 0.9581 GB, free: 0.6445 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.341, allocations: 330.8 kB / 0.9584 GB, free: 320 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002128/0.3412, allocations: 76.52 kB / 0.9584 GB, free: 244 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002381/0.3415, allocations: 143.9 kB / 0.9586 GB, free: 76 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000455/0.3419, allocations: 209.8 kB / 0.9588 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/0.3419, allocations: 0 / 0.9588 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005594/0.3425, allocations: 269.2 kB / 0.959 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.3425, allocations: 12.03 kB / 0.959 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.3426, allocations: 7.875 kB / 0.9591 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.3426, allocations: 4 kB / 0.9591 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002587/0.3429, allocations: 55.91 kB / 0.9591 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.392e-05/0.3429, allocations: 7.984 kB / 0.9591 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001548/0.343, allocations: 23.78 kB / 0.9591 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.999e-05/0.3431, allocations: 8 kB / 0.9592 GB, free: 15.46 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.0001647/0.3432, allocations: 158.3 kB / 0.9593 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.482e-05/0.3433, allocations: 27.66 kB / 0.9593 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005634/0.3439, allocations: 247.5 kB / 0.9596 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/0.3439, allocations: 4 kB / 0.9596 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3439, allocations: 0 / 0.9596 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.3439, allocations: 0 / 0.9596 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003686/0.3443, allocations: 349.3 kB / 0.9599 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.3443, allocations: 0 / 0.9599 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001971/0.3445, allocations: 43.91 kB / 0.9599 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.3445, allocations: 0 / 0.9599 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/0.3445, allocations: 11.94 kB / 0.96 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.3445, allocations: 0 / 0.96 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.3445, allocations: 3.984 kB / 0.96 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004864/0.345, allocations: 325.8 kB / 0.9603 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 5.139e-05/0.3451, allocations: 92.86 kB / 0.9604 GB, free: 14.13 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.385e-05/0.3451, allocations: 11.94 kB / 0.9604 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.3453, allocations: 11.98 kB / 0.9604 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.196e-05/0.3454, allocations: 23.97 kB / 0.9604 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.3454, allocations: 8 kB / 0.9604 GB, free: 14.08 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 9.819e-05/0.3455, allocations: 137.5 kB / 0.9605 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3455, allocations: 4 kB / 0.9605 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003195/0.3458, allocations: 59.69 kB / 0.9606 GB, free: 13.88 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.0001591/0.346, allocations: 121 kB / 0.9607 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005683/0.3466, allocations: 222 kB / 0.9609 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.3466, allocations: 4 kB / 0.9609 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002224/0.3468, allocations: 107.9 kB / 0.961 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003707/0.3472, allocations: 36.23 kB / 0.9611 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009476/0.3481, allocations: 0.4931 MB / 0.9616 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003647/0.3485, allocations: 0.7636 MB / 0.9623 GB, free: 12.08 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.106e-05/0.3486, allocations: 31.36 kB / 0.9623 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of SimCode: time 6.51e-07/0.3486, allocations: 3.938 kB / 0.9623 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of Templates: time 0.006061/0.3547, allocations: 2.99 MB / 0.9653 GB, free: 9.062 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