Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 81.95 kB / 21.47 MB, free: 3.031 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 166.2 kB / 24.87 MB, free: 8.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9765/0.9765, allocations: 177.2 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.755/1.755, allocations: 359 MB / 0.6063 GB, free: 10.88 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VHeaMin_flow|actAirSet.VHeaMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_11_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=2500,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VHeaMin_flow|actAirSet.VHeaMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.957e-05/2.142e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.001925/0.001946, allocations: 1.35 MB / 0.7897 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001149/0.003095, allocations: 1.16 MB / 0.7908 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.003199, allocations: 4 kB / 0.7908 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 5.979e-05/0.003259, allocations: 41.94 kB / 0.7908 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001415/0.0034, allocations: 51.42 kB / 0.7909 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000286/0.003686, allocations: 123.9 kB / 0.791 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000258/0.003944, allocations: 340.6 kB / 0.7913 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002839/0.004228, allocations: 154.5 kB / 0.7915 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004035/0.004632, allocations: 229.1 kB / 0.7917 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001142/0.004746, allocations: 91.62 kB / 0.7918 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.053e-05/0.004786, allocations: 32 kB / 0.7918 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.877e-05/0.004855, allocations: 36 kB / 0.7919 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.304e-05/0.004908, allocations: 76.33 kB / 0.7919 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.543e-05/0.004974, allocations: 92.47 kB / 0.792 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002511/0.005225, allocations: 227 kB / 0.7922 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.005227, allocations: 0.5312 kB / 0.7922 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.61e-07/0.005228, allocations: 4 kB / 0.7922 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.471e-06/0.005233, allocations: 1.656 kB / 0.7922 GB, free: 8.227 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.0005558/0.005789, allocations: 0.6093 MB / 0.7928 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.005831, allocations: 16.02 kB / 0.7928 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001343/0.005965, allocations: 65.2 kB / 0.7929 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002165/0.006181, allocations: 241.4 kB / 0.7931 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.23e-05/0.006214, allocations: 26.16 kB / 0.7932 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.23e-05/0.006256, allocations: 32.38 kB / 0.7932 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002586/0.006515, allocations: 213 kB / 0.7934 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.006526, allocations: 192 / 0.7934 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.174e-05/0.006548, allocations: 21.73 kB / 0.7934 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.006557, allocations: 8.375 kB / 0.7934 GB, free: 6.938 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000111/0.006668, allocations: 98.84 kB / 0.7935 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006665/0.007334, allocations: 0.6599 MB / 0.7942 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002068/0.007541, allocations: 167 kB / 0.7943 GB, free: 5.98 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.267e-05/0.007604, allocations: 62.16 kB / 0.7944 GB, free: 5.918 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.742e-05/0.007631, allocations: 8.234 kB / 0.7944 GB, free: 5.91 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.007655, allocations: 33.62 kB / 0.7944 GB, free: 5.867 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=27): time 3.857e-06/0.007658, allocations: 7.984 kB / 0.7944 GB, free: 5.859 MB / 0.7448 GB Notification: Performance of matching and sorting (n=27): time 0.0002787/0.007937, allocations: 184.8 kB / 0.7946 GB, free: 5.676 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/0.00797, allocations: 51.41 kB / 0.7947 GB, free: 5.613 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001501/0.00812, allocations: 268.4 kB / 0.7949 GB, free: 5.336 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.008138, allocations: 29.7 kB / 0.7949 GB, free: 5.301 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.008267, allocations: 243.1 kB / 0.7952 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.563e-05/0.008313, allocations: 75.33 kB / 0.7952 GB, free: 4.984 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001919/0.008505, allocations: 75.58 kB / 0.7953 GB, free: 4.902 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.008647, allocations: 0.5102 MB / 0.7958 GB, free: 4.383 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.269e-05/0.00869, allocations: 28.53 kB / 0.7958 GB, free: 4.355 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.389e-05/0.008773, allocations: 110.6 kB / 0.7959 GB, free: 4.215 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/0.008912, allocations: 156.3 kB / 0.7961 GB, free: 4.031 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.008915, allocations: 0 / 0.7961 GB, free: 4.031 MB / 0.7448 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0001973/0.009112, allocations: 200.8 kB / 0.7963 GB, free: 3.832 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.009126, allocations: 8 kB / 0.7963 GB, free: 3.824 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.00913, allocations: 0 / 0.7963 GB, free: 3.824 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.009142, allocations: 4 kB / 0.7963 GB, free: 3.82 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.009275, allocations: 51.91 kB / 0.7963 GB, free: 3.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.009278, allocations: 0.5312 kB / 0.7963 GB, free: 3.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.836e-05/0.009337, allocations: 36.69 kB / 0.7964 GB, free: 3.734 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.009347, allocations: 8 kB / 0.7964 GB, free: 3.727 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 14 (reaToInt2.y,actAirSet.or1.y,actAirSet.ifSetBac.y,actAirSet.ifWarUp.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or2.y,actAirSet.or3.y,actAirSet.occMod.y,actAirSet.cooDowMod.y,actAirSet.setUpMod.y,actAirSet.setBacMod.y,actAirSet.warUpMod.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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.0001017/0.009449, allocations: 185.7 kB / 0.7966 GB, free: 3.535 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.536e-05/0.009484, allocations: 33.08 kB / 0.7966 GB, free: 3.504 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001907/0.009675, allocations: 161.1 kB / 0.7968 GB, free: 3.34 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.009679, allocations: 4 kB / 0.7968 GB, free: 3.336 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.009681, allocations: 8.625 kB / 0.7968 GB, free: 3.328 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.009685, allocations: 0 / 0.7968 GB, free: 3.328 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001752/0.00986, allocations: 208.1 kB / 0.797 GB, free: 3.102 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.009861, allocations: 0 / 0.797 GB, free: 3.102 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.156e-05/0.009943, allocations: 39.97 kB / 0.797 GB, free: 3.062 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.009945, allocations: 0 / 0.797 GB, free: 3.062 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.009954, allocations: 4 kB / 0.797 GB, free: 3.059 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.009956, allocations: 0 / 0.797 GB, free: 3.059 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.009957, allocations: 0 / 0.797 GB, free: 3.059 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002065/0.01016, allocations: 315.6 kB / 0.7973 GB, free: 2.73 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.725e-05/0.01018, allocations: 25.58 kB / 0.7973 GB, free: 2.707 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.0102, allocations: 4 kB / 0.7973 GB, free: 2.703 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.15e-05/0.01025, allocations: 8 kB / 0.7973 GB, free: 2.695 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.811e-05/0.01031, allocations: 23.95 kB / 0.7974 GB, free: 2.672 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.01031, allocations: 4 kB / 0.7974 GB, free: 2.668 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.941e-05/0.01038, allocations: 174.3 kB / 0.7975 GB, free: 2.5 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01038, allocations: 0 / 0.7975 GB, free: 2.5 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001887/0.01057, allocations: 63.78 kB / 0.7976 GB, free: 2.438 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (actAirSet.or3.y,actAirSet.or2.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 27 * 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 8.747e-05/0.01066, allocations: 116.6 kB / 0.7977 GB, free: 2.32 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001604/0.01082, allocations: 133.5 kB / 0.7978 GB, free: 2.188 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.01082, allocations: 0 / 0.7978 GB, free: 2.188 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.732e-05/0.01089, allocations: 69.45 kB / 0.7979 GB, free: 2.117 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002189/0.01111, allocations: 39.86 kB / 0.7979 GB, free: 2.078 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006405/0.01175, allocations: 469 kB / 0.7984 GB, free: 1.594 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.242e-05/0.0118, allocations: 89.41 kB / 0.7985 GB, free: 1.488 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.602e-05/0.01189, allocations: 39.58 kB / 0.7985 GB, free: 1.449 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.01199, allocations: 110.2 kB / 0.7986 GB, free: 1.34 MB / 0.7448 GB Notification: Performance of SimCode: time 6.62e-07/0.01199, allocations: 0 / 0.7986 GB, free: 1.34 MB / 0.7448 GB Notification: Performance of Templates: time 0.004225/0.01622, allocations: 2.04 MB / 0.8006 GB, free: 15.37 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.957515672314912]