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.001773/0.001772, allocations: 110.1 kB / 16.37 MB, free: 6.012 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.001789/0.00179, allocations: 194.7 kB / 17.31 MB, free: 5.613 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.431/1.431, allocations: 222.9 MB / 241 MB, free: 4.219 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.505/2.505, allocations: 390.3 MB / 0.6655 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001282, allocations: 59.89 kB / 0.8141 GB, free: 13.46 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7879/0.7892, allocations: 140.4 MB / 0.9512 GB, free: 9.477 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.002627/0.7919, allocations: 1.432 MB / 0.9526 GB, free: 8.348 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001159/0.7931, allocations: 1.096 MB / 0.9537 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001264/0.7932, allocations: 3.812 kB / 0.9537 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.044e-05/0.7933, allocations: 35.53 kB / 0.9537 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001326/0.7934, allocations: 43.27 kB / 0.9537 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002566/0.7937, allocations: 119 kB / 0.9538 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002698/0.794, allocations: 340.2 kB / 0.9542 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003237/0.7943, allocations: 205 kB / 0.9544 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001649/0.7945, allocations: 128.5 kB / 0.9545 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001237/0.7946, allocations: 153.1 kB / 0.9546 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.921e-05/0.7947, allocations: 38.16 kB / 0.9547 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.427e-05/0.7947, allocations: 38.16 kB / 0.9547 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.082e-05/0.7948, allocations: 81.02 kB / 0.9548 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.489e-05/0.7949, allocations: 155.8 kB / 0.9549 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003257/0.7952, allocations: 479.5 kB / 0.9554 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.7952, allocations: 0.9062 kB / 0.9554 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.424e-06/0.7953, allocations: 0 / 0.9554 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.228e-05/0.7953, allocations: 0 / 0.9554 GB, free: 6.125 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.0007309/0.796, allocations: 0.5778 MB / 0.956 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.796, allocations: 9 kB / 0.956 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.648e-05/0.7961, allocations: 34.06 kB / 0.956 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004579/0.7966, allocations: 342.5 kB / 0.9563 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.15e-05/0.7966, allocations: 22.31 kB / 0.9563 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.722e-05/0.7967, allocations: 33.53 kB / 0.9564 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000481/0.7972, allocations: 287.8 kB / 0.9566 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.7972, allocations: 0 / 0.9566 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.536e-05/0.7972, allocations: 15.75 kB / 0.9567 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.7972, allocations: 6.719 kB / 0.9567 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004571/0.7977, allocations: 233.1 kB / 0.9569 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000943/0.7986, allocations: 0.8054 MB / 0.9577 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004088/0.7991, allocations: 226 kB / 0.9579 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002112/0.7993, allocations: 108.2 kB / 0.958 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.524e-05/0.7993, allocations: 6.938 kB / 0.958 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/0.7994, allocations: 37.44 kB / 0.958 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=26): time 1.483e-06/0.7994, allocations: 0 / 0.958 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of matching and sorting (n=26): time 0.0006962/0.8001, allocations: 302.8 kB / 0.9583 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/0.8001, allocations: 54.25 kB / 0.9584 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.8003, allocations: 214.9 kB / 0.9586 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.8003, allocations: 30.42 kB / 0.9586 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.975e-05/0.8004, allocations: 183.9 kB / 0.9588 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.142e-05/0.8004, allocations: 77.28 kB / 0.9589 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.896e-05/0.8005, allocations: 66.94 kB / 0.9589 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.166e-05/0.8006, allocations: 327.2 kB / 0.9592 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001892/0.8008, allocations: 82.06 kB / 0.9593 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002092/0.801, allocations: 137.7 kB / 0.9594 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003571/0.8014, allocations: 212 kB / 0.9597 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.8014, allocations: 1.375 kB / 0.9597 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005027/0.8019, allocations: 271.6 kB / 0.9599 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.8019, allocations: 6.281 kB / 0.9599 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/0.8019, allocations: 5.656 kB / 0.9599 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/0.802, allocations: 3.281 kB / 0.9599 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002513/0.8022, allocations: 55.5 kB / 0.96 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.8022, allocations: 2.844 kB / 0.96 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001301/0.8024, allocations: 29.98 kB / 0.96 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.084e-05/0.8024, allocations: 8.656 kB / 0.96 GB, free: 2.535 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.0001232/0.8025, allocations: 158 kB / 0.9602 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.329e-05/0.8026, allocations: 25.55 kB / 0.9602 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005099/0.8031, allocations: 245.2 kB / 0.9604 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.8031, allocations: 11.39 kB / 0.9604 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.8031, allocations: 0 / 0.9604 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.8031, allocations: 1.25 kB / 0.9604 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003207/0.8034, allocations: 347.1 kB / 0.9608 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.8035, allocations: 0 / 0.9608 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001817/0.8036, allocations: 41.94 kB / 0.9608 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.8037, allocations: 1.031 kB / 0.9608 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.8037, allocations: 8.969 kB / 0.9608 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.8037, allocations: 5.25 kB / 0.9608 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.8037, allocations: 0 / 0.9608 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004549/0.8041, allocations: 330 kB / 0.9611 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.586e-05/0.8042, allocations: 91.17 kB / 0.9612 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.789e-05/0.8042, allocations: 9.344 kB / 0.9612 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/0.8044, allocations: 17.23 kB / 0.9613 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.33e-05/0.8044, allocations: 22.78 kB / 0.9613 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/0.8045, allocations: 9.75 kB / 0.9613 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.028e-05/0.8046, allocations: 140.4 kB / 0.9614 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8046, allocations: 0 / 0.9614 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003118/0.8049, allocations: 60.56 kB / 0.9615 GB, free: 1.391 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.0001218/0.805, allocations: 115 kB / 0.9616 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004742/0.8055, allocations: 221.8 kB / 0.9618 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.8055, allocations: 0 / 0.9618 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002024/0.8057, allocations: 112.4 kB / 0.9619 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003435/0.8061, allocations: 28.02 kB / 0.9619 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007694/0.8068, allocations: 480 kB / 0.9624 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001915/0.807, allocations: 0.7655 MB / 0.9631 GB, free: 64 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001158/0.8072, allocations: 29.78 kB / 0.9632 GB, free: 48 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.861e-05/0.8072, allocations: 28.31 kB / 0.9632 GB, free: 36 kB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.8072, allocations: 4 kB / 0.9632 GB, free: 32 kB / 0.7169 GB Notification: Performance of Templates: time 0.005455/0.8127, allocations: 1.848 MB / 0.965 GB, free: 15.15 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 -s cvode -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