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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001632/0.001632, allocations: 100.1 kB / 15.88 MB, free: 12 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.001823/0.001823, allocations: 198 kB / 16.79 MB, free: 6.809 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.43/1.43, allocations: 222.9 MB / 240.5 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.46/2.46, allocations: 390.2 MB / 0.6649 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00155/0.00155, allocations: 71.89 kB / 0.8126 GB, free: 14.84 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7473/0.7489, allocations: 140.3 MB / 0.9496 GB, free: 9.254 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.002761/0.7517, allocations: 1.482 MB / 0.9511 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001301/0.753, allocations: 1.077 MB / 0.9521 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001403/0.7532, allocations: 4.125 kB / 0.9521 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.268e-05/0.7533, allocations: 23.72 kB / 0.9522 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000139/0.7535, allocations: 18.56 kB / 0.9522 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002668/0.7537, allocations: 108.4 kB / 0.9523 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000275/0.754, allocations: 308.5 kB / 0.9526 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003358/0.7544, allocations: 199.5 kB / 0.9528 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001958/0.7546, allocations: 120.8 kB / 0.9529 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001329/0.7547, allocations: 126.2 kB / 0.953 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.875e-05/0.7548, allocations: 22.59 kB / 0.953 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.895e-05/0.7548, allocations: 20.41 kB / 0.953 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.148e-05/0.7549, allocations: 64.66 kB / 0.9531 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.00011/0.755, allocations: 136.4 kB / 0.9532 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002563/0.7552, allocations: 378.1 kB / 0.9536 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.7552, allocations: 0 / 0.9536 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.052e-06/0.7552, allocations: 0 / 0.9536 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.766e-06/0.7553, allocations: 0 / 0.9536 GB, free: 6.109 MB / 0.7169 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.0007863/0.7561, allocations: 0.5721 MB / 0.9541 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.7561, allocations: 9.656 kB / 0.9542 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.667e-05/0.7562, allocations: 32.91 kB / 0.9542 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000485/0.7567, allocations: 339.2 kB / 0.9545 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.311e-05/0.7567, allocations: 34.64 kB / 0.9545 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.372e-05/0.7568, allocations: 29.38 kB / 0.9546 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005258/0.7573, allocations: 283.8 kB / 0.9548 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.7573, allocations: 0 / 0.9548 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.575e-05/0.7574, allocations: 14.75 kB / 0.9549 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.7574, allocations: 7.969 kB / 0.9549 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005139/0.7579, allocations: 236.7 kB / 0.9551 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001033/0.7589, allocations: 0.8029 MB / 0.9559 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000461/0.7594, allocations: 235.4 kB / 0.9561 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002372/0.7597, allocations: 109.7 kB / 0.9562 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.799e-05/0.7597, allocations: 2.5 kB / 0.9562 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.7597, allocations: 39.89 kB / 0.9562 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=26): time 1.293e-06/0.7598, allocations: 1.281 kB / 0.9562 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of matching and sorting (n=26): time 0.0007238/0.7605, allocations: 305.8 kB / 0.9565 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.7605, allocations: 54.41 kB / 0.9566 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.7607, allocations: 211.2 kB / 0.9568 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.7607, allocations: 30.95 kB / 0.9568 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.054e-05/0.7608, allocations: 176.8 kB / 0.957 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.69e-05/0.7609, allocations: 83.78 kB / 0.9571 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.711e-05/0.761, allocations: 64 kB / 0.9571 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.058e-05/0.761, allocations: 330.4 kB / 0.9574 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001883/0.7612, allocations: 77.92 kB / 0.9575 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002215/0.7614, allocations: 138.7 kB / 0.9577 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003965/0.7618, allocations: 211.3 kB / 0.9579 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.7619, allocations: 1.375 kB / 0.9579 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005304/0.7624, allocations: 272.5 kB / 0.9581 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.7624, allocations: 6.312 kB / 0.9581 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.7624, allocations: 5.156 kB / 0.9581 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.7625, allocations: 3.906 kB / 0.9581 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002632/0.7627, allocations: 54.72 kB / 0.9582 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/0.7627, allocations: 3.281 kB / 0.9582 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001415/0.7629, allocations: 25.86 kB / 0.9582 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.419e-05/0.7629, allocations: 12.06 kB / 0.9582 GB, free: 2.523 MB / 0.7169 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.0001376/0.7631, allocations: 162.9 kB / 0.9584 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.8e-05/0.7631, allocations: 21 kB / 0.9584 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005126/0.7636, allocations: 253.4 kB / 0.9586 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.7637, allocations: 6.094 kB / 0.9586 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.7637, allocations: 1.094 kB / 0.9586 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.7637, allocations: 4 kB / 0.9586 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003264/0.764, allocations: 347.7 kB / 0.959 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.764, allocations: 0 / 0.959 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000205/0.7642, allocations: 37.41 kB / 0.959 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.7642, allocations: 1.094 kB / 0.959 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/0.7643, allocations: 9.938 kB / 0.959 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.7643, allocations: 1.094 kB / 0.959 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.7643, allocations: 1.094 kB / 0.959 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004539/0.7647, allocations: 328.1 kB / 0.9593 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.807e-05/0.7648, allocations: 95.73 kB / 0.9594 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.855e-05/0.7648, allocations: 13.25 kB / 0.9594 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.7649, allocations: 13.48 kB / 0.9595 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.686e-05/0.765, allocations: 22.97 kB / 0.9595 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-05/0.7651, allocations: 12.55 kB / 0.9595 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.853e-05/0.7652, allocations: 136.9 kB / 0.9596 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7652, allocations: 0 / 0.9596 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003214/0.7655, allocations: 65.64 kB / 0.9597 GB, free: 1.371 MB / 0.7169 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.0001221/0.7656, allocations: 112.9 kB / 0.9598 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005055/0.7661, allocations: 222.3 kB / 0.96 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.7661, allocations: 1.062 kB / 0.96 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002177/0.7664, allocations: 103 kB / 0.9601 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/0.7667, allocations: 28.48 kB / 0.9601 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008194/0.7675, allocations: 0.6077 MB / 0.9607 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002492/0.7678, allocations: 0.7657 MB / 0.9615 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.012e-05/0.7679, allocations: 28.61 kB / 0.9615 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of SimCode: time 5.81e-07/0.7679, allocations: 0 / 0.9615 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of Templates: time 0.005533/0.7734, allocations: 2.975 MB / 0.9644 GB, free: 14.34 MB / 0.7325 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