Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001004/0.001004, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008554/0.0008554, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.8886/0.8886, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.754/1.754, allocations: 377.8 MB / 0.6228 GB, free: 8.641 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 0.9822 GB, free: 2.043 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.531e-05/2.734e-05, allocations: 8.953 kB / 0.9822 GB, free: 2.035 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.001834/0.001862, allocations: 1.316 MB / 0.9835 GB, free: 0.7148 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001101/0.002963, allocations: 1.128 MB / 0.9846 GB, free: 15.57 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.003064, allocations: 4 kB / 0.9846 GB, free: 15.57 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 6.38e-05/0.003128, allocations: 43.41 kB / 0.9847 GB, free: 15.53 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001184/0.003247, allocations: 39.61 kB / 0.9847 GB, free: 15.49 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000278/0.003525, allocations: 131.7 kB / 0.9848 GB, free: 15.36 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002299/0.003755, allocations: 340.6 kB / 0.9852 GB, free: 15.03 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002325/0.003987, allocations: 150.4 kB / 0.9853 GB, free: 14.88 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002601/0.004247, allocations: 223.4 kB / 0.9855 GB, free: 14.66 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.004352, allocations: 103.7 kB / 0.9856 GB, free: 14.56 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.766e-05/0.004389, allocations: 40 kB / 0.9856 GB, free: 14.52 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.801e-05/0.004447, allocations: 40 kB / 0.9857 GB, free: 14.48 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 4.291e-05/0.00449, allocations: 87.67 kB / 0.9858 GB, free: 14.39 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 6.167e-05/0.004552, allocations: 99.73 kB / 0.9859 GB, free: 14.3 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003614/0.004913, allocations: 498.2 kB / 0.9863 GB, free: 13.81 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.004915, allocations: 0 / 0.9863 GB, free: 13.81 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.092e-06/0.004917, allocations: 4 kB / 0.9863 GB, free: 13.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.004922, allocations: 0 / 0.9863 GB, free: 13.8 MB / 0.948 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.0005884/0.00551, allocations: 0.5173 MB / 0.9868 GB, free: 13.25 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.005547, allocations: 8.031 kB / 0.9869 GB, free: 13.25 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001421/0.005689, allocations: 48.69 kB / 0.9869 GB, free: 13.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005845/0.006274, allocations: 263.5 kB / 0.9872 GB, free: 12.91 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.319e-05/0.006297, allocations: 25.38 kB / 0.9872 GB, free: 12.89 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.778e-05/0.006325, allocations: 32.38 kB / 0.9872 GB, free: 12.86 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003426/0.006667, allocations: 299 kB / 0.9875 GB, free: 12.56 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.006679, allocations: 4.172 kB / 0.9875 GB, free: 12.56 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.976e-05/0.006699, allocations: 12.38 kB / 0.9875 GB, free: 12.55 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.006706, allocations: 8.375 kB / 0.9875 GB, free: 12.54 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003049/0.007011, allocations: 235.8 kB / 0.9877 GB, free: 12.31 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007052/0.007716, allocations: 0.6623 MB / 0.9884 GB, free: 11.61 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003139/0.00803, allocations: 229.9 kB / 0.9886 GB, free: 11.38 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001351/0.008165, allocations: 101.3 kB / 0.9887 GB, free: 11.28 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.00819, allocations: 4.266 kB / 0.9887 GB, free: 11.28 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.00821, allocations: 38.8 kB / 0.9887 GB, free: 11.23 MB / 0.948 GB Notification: Performance of pre-optimization done (n=27): time 1.543e-06/0.008212, allocations: 0 / 0.9887 GB, free: 11.23 MB / 0.948 GB Notification: Performance of matching and sorting (n=27): time 0.0004436/0.008655, allocations: 307.5 kB / 0.989 GB, free: 10.93 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.029e-05/0.008686, allocations: 55.41 kB / 0.9891 GB, free: 10.86 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.008815, allocations: 215.7 kB / 0.9893 GB, free: 10.64 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.00883, allocations: 33.64 kB / 0.9893 GB, free: 10.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 8.06e-05/0.00891, allocations: 176.5 kB / 0.9895 GB, free: 10.43 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.272e-05/0.008953, allocations: 91.25 kB / 0.9896 GB, free: 10.34 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.2e-05/0.009015, allocations: 65.97 kB / 0.9896 GB, free: 10.27 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.033e-05/0.009095, allocations: 334.8 kB / 0.99 GB, free: 9.93 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/0.009208, allocations: 80.52 kB / 0.99 GB, free: 9.852 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/0.009348, allocations: 148.4 kB / 0.9902 GB, free: 9.684 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002509/0.009599, allocations: 215.7 kB / 0.9904 GB, free: 9.449 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.009601, allocations: 7.938 kB / 0.9904 GB, free: 9.441 MB / 0.948 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000308/0.009909, allocations: 269.3 kB / 0.9907 GB, free: 9.172 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.009922, allocations: 4 kB / 0.9907 GB, free: 9.168 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.009928, allocations: 4 kB / 0.9907 GB, free: 9.164 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.009942, allocations: 4.219 kB / 0.9907 GB, free: 9.16 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/0.01008, allocations: 63.89 kB / 0.9907 GB, free: 9.098 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.01009, allocations: 3.938 kB / 0.9907 GB, free: 9.094 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.29e-05/0.01015, allocations: 27.84 kB / 0.9908 GB, free: 9.066 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.01016, allocations: 19.86 kB / 0.9908 GB, free: 9.047 MB / 0.948 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.0001123/0.01027, allocations: 153.8 kB / 0.9909 GB, free: 8.887 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.568e-05/0.0103, allocations: 19.86 kB / 0.9909 GB, free: 8.867 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003278/0.01063, allocations: 248.2 kB / 0.9912 GB, free: 8.617 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.01063, allocations: 4 kB / 0.9912 GB, free: 8.613 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.01064, allocations: 0 / 0.9912 GB, free: 8.613 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.01064, allocations: 0 / 0.9912 GB, free: 8.613 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001881/0.01083, allocations: 245 kB / 0.9914 GB, free: 8.344 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.01083, allocations: 3.984 kB / 0.9914 GB, free: 8.34 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.72e-05/0.01092, allocations: 39.92 kB / 0.9915 GB, free: 8.301 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.01092, allocations: 0 / 0.9915 GB, free: 8.301 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.01093, allocations: 11.98 kB / 0.9915 GB, free: 8.289 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.01093, allocations: 8 kB / 0.9915 GB, free: 8.281 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.01094, allocations: 0 / 0.9915 GB, free: 8.281 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002823/0.01122, allocations: 335.7 kB / 0.9918 GB, free: 7.938 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.738e-05/0.01124, allocations: 27.78 kB / 0.9918 GB, free: 7.91 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.01125, allocations: 4 kB / 0.9918 GB, free: 7.906 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.871e-05/0.01131, allocations: 12 kB / 0.9918 GB, free: 7.895 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.22e-05/0.01137, allocations: 27.89 kB / 0.9919 GB, free: 7.867 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.01138, allocations: 15.98 kB / 0.9919 GB, free: 7.852 MB / 0.948 GB Notification: Performance of sorting global known variables: time 6.625e-05/0.01145, allocations: 133.5 kB / 0.992 GB, free: 7.723 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.01145, allocations: 0 / 0.992 GB, free: 7.723 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001899/0.01164, allocations: 63.78 kB / 0.9921 GB, free: 7.66 MB / 0.948 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.318e-05/0.01172, allocations: 110.5 kB / 0.9922 GB, free: 7.543 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002989/0.01202, allocations: 215.9 kB / 0.9924 GB, free: 7.332 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01202, allocations: 0 / 0.9924 GB, free: 7.332 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001235/0.01215, allocations: 107.8 kB / 0.9925 GB, free: 7.227 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000212/0.01236, allocations: 30.41 kB / 0.9925 GB, free: 7.199 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005628/0.01292, allocations: 0.492 MB / 0.993 GB, free: 6.676 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.576e-05/0.01302, allocations: 159.7 kB / 0.9931 GB, free: 6.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.32e-05/0.01308, allocations: 32.5 kB / 0.9932 GB, free: 6.465 MB / 0.948 GB Notification: Performance of SimCode: time 3.8e-07/0.01308, allocations: 4 kB / 0.9932 GB, free: 6.461 MB / 0.948 GB Notification: Performance of Templates: time 0.003282/0.01636, allocations: 3.14 MB / 0.9962 GB, free: 3.328 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 6.648796834051609]