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.001527/0.001527, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001673/0.001673, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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 1.512/1.512, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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 2.833/2.833, allocations: 359 MB / 0.6048 GB, free: 10.92 MB / 0.573 GB " [Timeout remaining time 176] 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.933e-06/1.933e-06, allocations: 0 / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.908e-05/3.101e-05, allocations: 7.031 kB / 0.7864 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.002962/0.002993, allocations: 1.326 MB / 0.7877 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001881/0.004874, allocations: 1.133 MB / 0.7888 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001992/0.005073, allocations: 4.969 kB / 0.7888 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001166/0.00519, allocations: 35.53 kB / 0.7889 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002057/0.005396, allocations: 48.09 kB / 0.7889 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004/0.005796, allocations: 124.7 kB / 0.789 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0004641/0.00626, allocations: 344.6 kB / 0.7894 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003408/0.006601, allocations: 151.2 kB / 0.7895 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004201/0.007021, allocations: 216.7 kB / 0.7897 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001801/0.007201, allocations: 99.66 kB / 0.7898 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 6.632e-05/0.007267, allocations: 40 kB / 0.7898 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.658e-05/0.007354, allocations: 43.94 kB / 0.7899 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0005052/0.007859, allocations: 85.27 kB / 0.79 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001318/0.007991, allocations: 99.73 kB / 0.7901 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0006618/0.008653, allocations: 0.4905 MB / 0.7905 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.008656, allocations: 0 / 0.7905 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.133e-06/0.008657, allocations: 5.219 kB / 0.7905 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.147e-05/0.008669, allocations: 0 / 0.7905 GB, free: 8.547 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.001051/0.00972, allocations: 0.51 MB / 0.791 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.00977, allocations: 9.438 kB / 0.791 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002539/0.01002, allocations: 76.69 kB / 0.7911 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006055/0.01063, allocations: 267.8 kB / 0.7914 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.683e-05/0.01068, allocations: 29.91 kB / 0.7914 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.682e-05/0.01072, allocations: 32.31 kB / 0.7914 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006524/0.01138, allocations: 295.9 kB / 0.7917 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.01139, allocations: 1.125 kB / 0.7917 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.16e-05/0.01142, allocations: 12.38 kB / 0.7917 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.224e-05/0.01143, allocations: 9 kB / 0.7917 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006096/0.01204, allocations: 237.5 kB / 0.792 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00168/0.01372, allocations: 0.6663 MB / 0.7926 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008531/0.01457, allocations: 228.7 kB / 0.7928 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004248/0.015, allocations: 106.9 kB / 0.7929 GB, free: 5.992 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.791e-05/0.01505, allocations: 8.234 kB / 0.7929 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.827e-05/0.0151, allocations: 38.78 kB / 0.793 GB, free: 5.938 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=27): time 2.224e-06/0.01511, allocations: 5.062 kB / 0.793 GB, free: 5.934 MB / 0.7448 GB Notification: Performance of matching and sorting (n=27): time 0.001306/0.01641, allocations: 306.7 kB / 0.7933 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.145e-05/0.01648, allocations: 55.41 kB / 0.7933 GB, free: 5.566 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003974/0.01688, allocations: 219.6 kB / 0.7935 GB, free: 5.344 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.758e-05/0.01693, allocations: 29.7 kB / 0.7936 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002165/0.01715, allocations: 172.6 kB / 0.7937 GB, free: 5.137 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001315/0.01728, allocations: 87.27 kB / 0.7938 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001845/0.01746, allocations: 69.92 kB / 0.7939 GB, free: 4.977 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002818/0.01774, allocations: 335.5 kB / 0.7942 GB, free: 4.641 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003125/0.01806, allocations: 85.02 kB / 0.7943 GB, free: 4.559 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002963/0.01835, allocations: 137.7 kB / 0.7944 GB, free: 4.402 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005176/0.01887, allocations: 226.7 kB / 0.7946 GB, free: 4.16 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.01887, allocations: 0 / 0.7946 GB, free: 4.16 MB / 0.7448 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006683/0.01954, allocations: 276 kB / 0.7949 GB, free: 3.887 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.01956, allocations: 7.938 kB / 0.7949 GB, free: 3.879 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.01957, allocations: 10.16 kB / 0.7949 GB, free: 3.871 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.448e-05/0.01959, allocations: 4 kB / 0.7949 GB, free: 3.867 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002764/0.01987, allocations: 55.89 kB / 0.795 GB, free: 3.812 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.01988, allocations: 4 kB / 0.795 GB, free: 3.809 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001563/0.02004, allocations: 32.33 kB / 0.795 GB, free: 3.777 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.4e-05/0.02007, allocations: 19.94 kB / 0.795 GB, free: 3.758 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.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 (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.0002527/0.02032, allocations: 153.7 kB / 0.7952 GB, free: 3.602 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.141e-05/0.0204, allocations: 31.86 kB / 0.7952 GB, free: 3.57 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006396/0.02104, allocations: 248.2 kB / 0.7954 GB, free: 3.324 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/0.02105, allocations: 8.516 kB / 0.7954 GB, free: 3.316 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.02105, allocations: 0.5 kB / 0.7954 GB, free: 3.316 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.02106, allocations: 3.984 kB / 0.7954 GB, free: 3.312 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003998/0.02146, allocations: 241.6 kB / 0.7957 GB, free: 3.047 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.02146, allocations: 0.5625 kB / 0.7957 GB, free: 3.047 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002047/0.02167, allocations: 45.31 kB / 0.7957 GB, free: 3.004 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.02167, allocations: 0 / 0.7957 GB, free: 3.004 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.907e-05/0.02169, allocations: 4 kB / 0.7957 GB, free: 3 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.02169, allocations: 4 kB / 0.7957 GB, free: 2.996 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.02169, allocations: 0.625 kB / 0.7957 GB, free: 2.996 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006246/0.02232, allocations: 349.3 kB / 0.7961 GB, free: 2.641 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.461e-05/0.02235, allocations: 23.8 kB / 0.7961 GB, free: 2.617 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.416e-05/0.02239, allocations: 8 kB / 0.7961 GB, free: 2.609 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001406/0.02254, allocations: 12.89 kB / 0.7961 GB, free: 2.598 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/0.02264, allocations: 23.95 kB / 0.7961 GB, free: 2.574 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.081e-05/0.02266, allocations: 12.53 kB / 0.7961 GB, free: 2.562 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000139/0.0228, allocations: 138.3 kB / 0.7963 GB, free: 2.43 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.0228, allocations: 0 / 0.7963 GB, free: 2.43 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003528/0.02315, allocations: 60.78 kB / 0.7963 GB, free: 2.371 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 0.0001687/0.02332, allocations: 108.5 kB / 0.7964 GB, free: 2.258 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005879/0.0239, allocations: 214.8 kB / 0.7966 GB, free: 2.051 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.02391, allocations: 0 / 0.7966 GB, free: 2.051 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002568/0.02416, allocations: 103.9 kB / 0.7967 GB, free: 1.949 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003693/0.02453, allocations: 32.53 kB / 0.7968 GB, free: 1.922 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/0.02593, allocations: 498.2 kB / 0.7972 GB, free: 1.41 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001995/0.02613, allocations: 158.6 kB / 0.7974 GB, free: 1.234 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001619/0.02629, allocations: 36 kB / 0.7974 GB, free: 1.207 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.395e-05/0.02639, allocations: 29.31 kB / 0.7975 GB, free: 1.18 MB / 0.7448 GB Notification: Performance of SimCode: time 1.072e-06/0.02639, allocations: 4 kB / 0.7975 GB, free: 1.176 MB / 0.7448 GB Notification: Performance of Templates: time 0.00649/0.03288, allocations: 1.846 MB / 0.7993 GB, free: 15.4 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.969868691987358]