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.0009748/0.0009747, allocations: 92 kB / 16.02 MB, free: 76 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.001261/0.001261, allocations: 184.8 kB / 16.92 MB, free: 6.926 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.467/1.467, allocations: 223.3 MB / 241 MB, free: 5.34 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.507/2.507, allocations: 390.9 MB / 0.667 GB, free: 2.422 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004046/0.0004049, allocations: 8 kB / 0.8167 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7575/0.7579, allocations: 142.4 MB / 0.9558 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.00148/0.7594, allocations: 1.096 MB / 0.9568 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00116/0.7606, allocations: 1.072 MB / 0.9579 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/0.7607, allocations: 3.781 kB / 0.9579 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.771e-05/0.7608, allocations: 19.78 kB / 0.9579 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001369/0.7609, allocations: 23.77 kB / 0.9579 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002394/0.7612, allocations: 102.9 kB / 0.958 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002546/0.7614, allocations: 308.2 kB / 0.9583 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003171/0.7618, allocations: 200 kB / 0.9585 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001558/0.7619, allocations: 88.09 kB / 0.9586 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.762, allocations: 99.53 kB / 0.9587 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.076e-05/0.7621, allocations: 6.969 kB / 0.9587 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.316e-05/0.7621, allocations: 9.219 kB / 0.9587 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.48e-05/0.7622, allocations: 48.75 kB / 0.9588 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.907e-05/0.7622, allocations: 136.2 kB / 0.9589 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002358/0.7625, allocations: 365.8 kB / 0.9592 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.7625, allocations: 0 / 0.9592 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7625, allocations: 0 / 0.9592 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.7625, allocations: 0 / 0.9592 GB, free: 4.906 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.0006492/0.7632, allocations: 0.5186 MB / 0.9597 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.7632, allocations: 9.062 kB / 0.9597 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.005e-05/0.7633, allocations: 37.91 kB / 0.9598 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004895/0.7638, allocations: 338.4 kB / 0.9601 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.846e-05/0.7638, allocations: 22.59 kB / 0.9601 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.918e-05/0.7639, allocations: 37.16 kB / 0.9602 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000527/0.7644, allocations: 297.2 kB / 0.9604 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.7644, allocations: 1.438 kB / 0.9604 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.978e-05/0.7645, allocations: 15 kB / 0.9605 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.7645, allocations: 7.375 kB / 0.9605 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005203/0.765, allocations: 244.2 kB / 0.9607 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001011/0.766, allocations: 0.8108 MB / 0.9615 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004461/0.7665, allocations: 243.2 kB / 0.9617 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002462/0.7667, allocations: 118.4 kB / 0.9618 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.221e-05/0.7668, allocations: 7.156 kB / 0.9618 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.802e-05/0.7668, allocations: 36.75 kB / 0.9619 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=26): time 1.322e-06/0.7668, allocations: 0 / 0.9619 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of matching and sorting (n=26): time 0.0007813/0.7676, allocations: 323.7 kB / 0.9622 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.831e-05/0.7676, allocations: 54.16 kB / 0.9622 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001761/0.7678, allocations: 215.4 kB / 0.9624 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.7678, allocations: 26.83 kB / 0.9625 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.455e-05/0.7679, allocations: 179.7 kB / 0.9626 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.772e-05/0.768, allocations: 77.02 kB / 0.9627 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5e-05/0.768, allocations: 47.53 kB / 0.9628 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.844e-05/0.7681, allocations: 327.4 kB / 0.9631 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002071/0.7683, allocations: 79.45 kB / 0.9632 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002359/0.7686, allocations: 156 kB / 0.9633 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004167/0.769, allocations: 219.1 kB / 0.9635 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.769, allocations: 4.688 kB / 0.9635 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005438/0.7695, allocations: 279.7 kB / 0.9638 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.7696, allocations: 11.17 kB / 0.9638 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.7696, allocations: 5.906 kB / 0.9638 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.7696, allocations: 3.094 kB / 0.9638 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000249/0.7699, allocations: 54.34 kB / 0.9639 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.7699, allocations: 3.781 kB / 0.9639 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001421/0.77, allocations: 40.52 kB / 0.9639 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.147e-05/0.7701, allocations: 12.78 kB / 0.9639 GB, free: 1.344 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.0001277/0.7702, allocations: 146.2 kB / 0.964 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.209e-05/0.7702, allocations: 20.91 kB / 0.9641 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00054/0.7708, allocations: 264.2 kB / 0.9643 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.7708, allocations: 2.5 kB / 0.9643 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.7708, allocations: 1.438 kB / 0.9643 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.7708, allocations: 3.984 kB / 0.9643 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003278/0.7712, allocations: 352 kB / 0.9647 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.7712, allocations: 4 kB / 0.9647 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001859/0.7714, allocations: 43.97 kB / 0.9647 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.7714, allocations: 1.438 kB / 0.9647 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.674e-05/0.7714, allocations: 9.312 kB / 0.9647 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.7714, allocations: 1.5 kB / 0.9647 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.7714, allocations: 0 / 0.9647 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004847/0.7719, allocations: 340.6 kB / 0.965 GB, free: 484 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.569e-05/0.7719, allocations: 99.08 kB / 0.9651 GB, free: 372 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.796e-05/0.772, allocations: 9.344 kB / 0.9651 GB, free: 364 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.7721, allocations: 19.61 kB / 0.9652 GB, free: 352 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.708e-05/0.7722, allocations: 32 kB / 0.9652 GB, free: 332 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.7722, allocations: 5 kB / 0.9652 GB, free: 332 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.219e-05/0.7723, allocations: 135.9 kB / 0.9653 GB, free: 228 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7723, allocations: 0 / 0.9653 GB, free: 228 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002883/0.7726, allocations: 61.94 kB / 0.9654 GB, free: 204 kB / 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.0001192/0.7727, allocations: 108.7 kB / 0.9655 GB, free: 108 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000501/0.7732, allocations: 232.5 kB / 0.9657 GB, free: 12 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.7732, allocations: 1.406 kB / 0.9657 GB, free: 12 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002795/0.7735, allocations: 124 kB / 0.9658 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003408/0.7739, allocations: 30.08 kB / 0.9659 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009301/0.7748, allocations: 0.6133 MB / 0.9665 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003423/0.7752, allocations: 0.7616 MB / 0.9672 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.939e-05/0.7753, allocations: 32.45 kB / 0.9672 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of SimCode: time 4.81e-07/0.7753, allocations: 0.8125 kB / 0.9672 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of Templates: time 0.005337/0.7806, allocations: 2.941 MB / 0.9701 GB, free: 13.19 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