Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.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.001805/0.001805, allocations: 79.86 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001978/0.001978, allocations: 166 kB / 22.46 MB, free: 5.359 MB / 14.72 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.523/1.523, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] 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 2.812/2.812, allocations: 377.8 MB / 0.6221 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 176] 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.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|QCoo_flow|QHea_flow|QWatHea_flow",fileNamePrefix="Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad") translateModel(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|QCoo_flow|QHea_flow|QWatHea_flow",fileNamePrefix="Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 0.9814 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.433e-05/3.615e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002651/0.002688, allocations: 1.251 MB / 0.9826 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002423/0.005111, allocations: 1.342 MB / 0.984 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.478e-05/0.005136, allocations: 0 / 0.984 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.629e-05/0.005152, allocations: 0 / 0.984 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.000816/0.005968, allocations: 215.1 kB / 0.9842 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001074/0.006076, allocations: 43.12 kB / 0.9842 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.912e-05/0.006135, allocations: 23.92 kB / 0.9842 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.376e-05/0.006178, allocations: 0 / 0.9842 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.984e-05/0.006218, allocations: 4 kB / 0.9842 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2693/0.2755, allocations: 31.12 MB / 1.015 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.961e-05/0.2755, allocations: 3.938 kB / 1.015 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.176e-05/0.2755, allocations: 4 kB / 1.015 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.649e-05/0.2756, allocations: 3.984 kB / 1.015 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.693e-05/0.2756, allocations: 8 kB / 1.015 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001274/0.2757, allocations: 7.984 kB / 1.015 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.2757, allocations: 0 / 1.015 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.843e-06/0.2757, allocations: 4 kB / 1.015 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.2757, allocations: 0 / 1.015 GB, free: 13.2 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003567/0.2761, allocations: 248.6 kB / 1.015 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.2761, allocations: 8.031 kB / 1.015 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000138/0.2763, allocations: 76.22 kB / 1.015 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001934/0.2765, allocations: 189 kB / 1.015 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.754e-05/0.2765, allocations: 150.9 kB / 1.015 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/0.2767, allocations: 154.9 kB / 1.015 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.524e-05/0.2768, allocations: 109.5 kB / 1.016 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.593e-05/0.2768, allocations: 75.47 kB / 1.016 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.163e-05/0.2769, allocations: 154.7 kB / 1.016 GB, free: 12 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-05/0.277, allocations: 150.6 kB / 1.016 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7e-05/0.277, allocations: 158.5 kB / 1.016 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003937/0.2774, allocations: 393.6 kB / 1.016 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.2776, allocations: 173.1 kB / 1.017 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.282e-05/0.2776, allocations: 80.14 kB / 1.017 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.935e-05/0.2777, allocations: 79.28 kB / 1.017 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.718e-05/0.2777, allocations: 109.8 kB / 1.017 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.2777, allocations: 0 / 1.017 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 8.524e-05/0.2778, allocations: 29.64 kB / 1.017 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001392/0.278, allocations: 219.7 kB / 1.017 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.2781, allocations: 93.8 kB / 1.017 GB, free: 10.44 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.2781, allocations: 29.7 kB / 1.017 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.364e-05/0.2781, allocations: 80.14 kB / 1.017 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.853e-06/0.2781, allocations: 0 / 1.017 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.545e-05/0.2782, allocations: 17.72 kB / 1.017 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.2783, allocations: 314.8 kB / 1.018 GB, free: 9.98 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.31e-06/0.2783, allocations: 4 kB / 1.018 GB, free: 9.977 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.353e-05/0.2784, allocations: 95.69 kB / 1.018 GB, free: 9.855 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.241e-05/0.2785, allocations: 79.28 kB / 1.018 GB, free: 9.777 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.578e-05/0.2785, allocations: 75.28 kB / 1.018 GB, free: 9.703 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.76e-05/0.2786, allocations: 33.64 kB / 1.018 GB, free: 9.664 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 5.829e-05/0.2786, allocations: 87.27 kB / 1.018 GB, free: 9.578 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.276e-05/0.2787, allocations: 75.28 kB / 1.018 GB, free: 9.504 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.032e-05/0.2788, allocations: 154.6 kB / 1.018 GB, free: 9.352 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.593e-05/0.2788, allocations: 87.09 kB / 1.018 GB, free: 9.266 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.016e-05/0.2789, allocations: 154.6 kB / 1.018 GB, free: 9.113 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001809/0.279, allocations: 87.22 kB / 1.018 GB, free: 9.027 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.768e-05/0.2791, allocations: 75.28 kB / 1.019 GB, free: 8.953 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.0001783/0.2793, allocations: 268.4 kB / 1.019 GB, free: 8.68 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.841e-05/0.2793, allocations: 105.2 kB / 1.019 GB, free: 8.57 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.149e-05/0.2794, allocations: 108.1 kB / 1.019 GB, free: 8.461 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.329e-05/0.2795, allocations: 180.2 kB / 1.019 GB, free: 8.277 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.413e-05/0.2796, allocations: 192.1 kB / 1.019 GB, free: 8.082 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.508e-05/0.2797, allocations: 180.3 kB / 1.02 GB, free: 7.898 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002882/0.28, allocations: 348.9 kB / 1.02 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.92e-05/0.28, allocations: 104.9 kB / 1.02 GB, free: 7.41 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.2802, allocations: 109 kB / 1.02 GB, free: 7.297 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.396e-05/0.2803, allocations: 184.2 kB / 1.02 GB, free: 7.109 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001019/0.2804, allocations: 184.3 kB / 1.02 GB, free: 6.922 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.424e-05/0.2804, allocations: 176.3 kB / 1.021 GB, free: 6.742 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.564e-05/0.2805, allocations: 184.2 kB / 1.021 GB, free: 6.555 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002293/0.2808, allocations: 311.7 kB / 1.021 GB, free: 6.227 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/0.2809, allocations: 109 kB / 1.021 GB, free: 6.113 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.359e-05/0.281, allocations: 176.3 kB / 1.021 GB, free: 5.934 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000165/0.2811, allocations: 113.3 kB / 1.021 GB, free: 5.816 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.35e-05/0.2812, allocations: 180.2 kB / 1.022 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.789e-05/0.2813, allocations: 116.9 kB / 1.022 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.013e-05/0.2813, allocations: 79.28 kB / 1.022 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.2813, allocations: 0 / 1.022 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002787/0.2816, allocations: 4 kB / 1.022 GB, free: 5.43 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0001685/0.2818, allocations: 174.5 kB / 1.022 GB, free: 5.25 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 5.661e-05/0.2818, allocations: 8 kB / 1.022 GB, free: 5.242 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.2818, allocations: 0 / 1.022 GB, free: 5.242 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.693e-06/0.2819, allocations: 0 / 1.022 GB, free: 5.242 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004462/0.2823, allocations: 459.6 kB / 1.022 GB, free: 4.789 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003431/0.2826, allocations: 172.2 kB / 1.023 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.364e-05/0.2827, allocations: 59.34 kB / 1.023 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.868e-05/0.2827, allocations: 0 / 1.023 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.703e-05/0.2827, allocations: 12.5 kB / 1.023 GB, free: 4.504 MB / 0.9669 GB Notification: Performance of SimCode: time 9.12e-07/0.2827, allocations: 0 / 1.023 GB, free: 4.504 MB / 0.9669 GB Notification: Performance of Templates: time 0.005229/0.288, allocations: 0.545 MB / 1.023 GB, free: 3.965 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & ./Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.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: 8.498290702700615]