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.0007252/0.0007252, allocations: 81.05 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002045/0.002771, allocations: 449.8 kB / 10.44 MB, free: 248 kB / 10.45 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.001473/0.001473, allocations: 161.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0016/0.003073, allocations: 479.5 kB / 11.82 MB, free: 2.34 MB / 13.93 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.936/0.936, allocations: 177.2 MB / 189.8 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08573/1.022, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.869/1.869, allocations: 378.4 MB / 0.6079 GB, free: 7.688 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5721/2.442, allocations: 123.3 MB / 0.7283 GB, free: 5.715 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.843e-06/1.843e-06, allocations: 0 / 0.7296 GB, free: 4.402 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.443e-05/2.627e-05, allocations: 4.562 kB / 0.7296 GB, free: 4.398 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.00242/0.002446, allocations: 1.347 MB / 0.731 GB, free: 3.066 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001877/0.004323, allocations: 1.408 MB / 0.7323 GB, free: 1.656 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.016e-05/0.004343, allocations: 2.188 kB / 0.7323 GB, free: 1.656 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.164e-05/0.004355, allocations: 8.578 kB / 0.7323 GB, free: 1.648 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0006465/0.005002, allocations: 196.3 kB / 0.7325 GB, free: 1.461 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001022/0.005104, allocations: 27.95 kB / 0.7326 GB, free: 1.434 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.268e-05/0.005166, allocations: 16.73 kB / 0.7326 GB, free: 1.422 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.117e-05/0.005207, allocations: 4 kB / 0.7326 GB, free: 1.418 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.108e-05/0.005269, allocations: 18.34 kB / 0.7326 GB, free: 1.402 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1191/0.1244, allocations: 51.88 MB / 0.7833 GB, free: 2.234 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.519e-05/0.1244, allocations: 0 / 0.7833 GB, free: 2.234 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.272e-05/0.1244, allocations: 0 / 0.7833 GB, free: 2.234 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.685e-05/0.1245, allocations: 4 kB / 0.7833 GB, free: 2.23 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.549e-05/0.1245, allocations: 4 kB / 0.7833 GB, free: 2.227 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001353/0.1246, allocations: 7.938 kB / 0.7833 GB, free: 2.219 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.588e-05/0.1246, allocations: 4 kB / 0.7833 GB, free: 2.215 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1246, allocations: 0 / 0.7833 GB, free: 2.215 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.264e-05/0.1247, allocations: 0 / 0.7833 GB, free: 2.215 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002585/0.1249, allocations: 220.7 kB / 0.7835 GB, free: 1.977 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.125, allocations: 12.03 kB / 0.7835 GB, free: 1.965 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.138e-05/0.125, allocations: 84.16 kB / 0.7836 GB, free: 1.883 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.1251, allocations: 189 kB / 0.7838 GB, free: 1.672 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.469e-05/0.1252, allocations: 154.9 kB / 0.7839 GB, free: 1.52 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.178e-05/0.1252, allocations: 154.9 kB / 0.7841 GB, free: 1.367 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.883e-05/0.1253, allocations: 105.5 kB / 0.7842 GB, free: 1.258 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.048e-05/0.1253, allocations: 79.47 kB / 0.7842 GB, free: 1.18 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.391e-05/0.1254, allocations: 154.7 kB / 0.7844 GB, free: 1.027 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.342e-05/0.1254, allocations: 150.6 kB / 0.7845 GB, free: 0.8789 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.299e-05/0.1254, allocations: 158.5 kB / 0.7847 GB, free: 0.7227 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001702/0.1256, allocations: 353.3 kB / 0.785 GB, free: 372 kB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.902e-05/0.1257, allocations: 169.1 kB / 0.7852 GB, free: 192 kB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.024e-05/0.1257, allocations: 80.14 kB / 0.7853 GB, free: 108 kB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/0.1257, allocations: 75.28 kB / 0.7853 GB, free: 32 kB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.149e-05/0.1258, allocations: 113.8 kB / 0.7854 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=0): time 1.603e-06/0.1258, allocations: 0 / 0.7854 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of matching and sorting (n=0): time 6.035e-05/0.1258, allocations: 33.62 kB / 0.7855 GB, free: 15.87 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.768e-05/0.1259, allocations: 126.7 kB / 0.7856 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.57e-05/0.126, allocations: 110.6 kB / 0.7857 GB, free: 15.61 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.126, allocations: 29.7 kB / 0.7857 GB, free: 15.58 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 3.053e-05/0.126, allocations: 80.14 kB / 0.7858 GB, free: 15.5 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 7.11e-07/0.126, allocations: 0 / 0.7858 GB, free: 15.5 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.159e-05/0.126, allocations: 17.7 kB / 0.7858 GB, free: 15.47 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 8.662e-05/0.1261, allocations: 310.8 kB / 0.7861 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.115e-06/0.1261, allocations: 0 / 0.7861 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.711e-05/0.1262, allocations: 103.6 kB / 0.7862 GB, free: 15.03 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.479e-05/0.1262, allocations: 75.28 kB / 0.7863 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.881e-05/0.1262, allocations: 75.28 kB / 0.7864 GB, free: 14.88 MB / 0.7605 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.311e-05/0.1263, allocations: 37.62 kB / 0.7864 GB, free: 14.84 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.206e-05/0.1263, allocations: 83.28 kB / 0.7865 GB, free: 14.76 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.368e-05/0.1263, allocations: 83.33 kB / 0.7866 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.653e-05/0.1264, allocations: 154.5 kB / 0.7867 GB, free: 14.52 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.941e-05/0.1264, allocations: 79.28 kB / 0.7868 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-05/0.1264, allocations: 154.5 kB / 0.7869 GB, free: 14.29 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.1265, allocations: 83.2 kB / 0.787 GB, free: 14.21 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.803e-05/0.1265, allocations: 79.28 kB / 0.7871 GB, free: 14.13 MB / 0.7605 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 9.32e-05/0.1266, allocations: 268.4 kB / 0.7873 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.121e-05/0.1267, allocations: 104.9 kB / 0.7874 GB, free: 13.75 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.82e-05/0.1267, allocations: 116.1 kB / 0.7875 GB, free: 13.63 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-05/0.1268, allocations: 180.4 kB / 0.7877 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.193e-05/0.1268, allocations: 176.3 kB / 0.7879 GB, free: 13.27 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.331e-05/0.1269, allocations: 188.2 kB / 0.7881 GB, free: 13.07 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001248/0.127, allocations: 313.4 kB / 0.7884 GB, free: 12.74 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.342e-05/0.127, allocations: 109 kB / 0.7885 GB, free: 12.63 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.498e-05/0.127, allocations: 104.9 kB / 0.7886 GB, free: 12.52 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 3.359e-05/0.1271, allocations: 109 kB / 0.7887 GB, free: 12.41 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.54e-05/0.1271, allocations: 180.3 kB / 0.7888 GB, free: 12.22 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.212e-05/0.1272, allocations: 180.5 kB / 0.789 GB, free: 12.04 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-05/0.1272, allocations: 184.2 kB / 0.7892 GB, free: 11.85 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.571e-05/0.1273, allocations: 192.2 kB / 0.7894 GB, free: 11.66 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001034/0.1274, allocations: 299.8 kB / 0.7897 GB, free: 11.34 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.421e-05/0.1274, allocations: 192.2 kB / 0.7898 GB, free: 11.14 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002014/0.1276, allocations: 105 kB / 0.7899 GB, free: 11.04 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.413e-05/0.1277, allocations: 180.2 kB / 0.7901 GB, free: 10.85 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.26e-05/0.1277, allocations: 105 kB / 0.7902 GB, free: 10.74 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 2.059e-05/0.1277, allocations: 12.84 kB / 0.7902 GB, free: 10.73 MB / 0.7605 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1277, allocations: 4 kB / 0.7902 GB, free: 10.72 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0001327/0.1279, allocations: 4 kB / 0.7902 GB, free: 10.72 MB / 0.7605 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.0001347/0.128, allocations: 155.6 kB / 0.7904 GB, free: 10.55 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 5.009e-05/0.128, allocations: 7.875 kB / 0.7904 GB, free: 10.55 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.128, allocations: 4 kB / 0.7904 GB, free: 10.54 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 4.157e-06/0.128, allocations: 7.938 kB / 0.7904 GB, free: 10.54 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.1283, allocations: 459.7 kB / 0.7908 GB, free: 10.08 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000399/0.1287, allocations: 164 kB / 0.791 GB, free: 9.895 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.929e-05/0.1287, allocations: 59.34 kB / 0.7911 GB, free: 9.816 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 3.562e-05/0.1288, allocations: 4 kB / 0.7911 GB, free: 9.812 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.342e-05/0.1288, allocations: 63.36 kB / 0.7911 GB, free: 9.75 MB / 0.7605 GB Notification: Performance of SimCode: time 9.01e-07/0.1288, allocations: 0 / 0.7911 GB, free: 9.75 MB / 0.7605 GB Notification: Performance of Templates: time 0.002181/0.131, allocations: 0.6325 MB / 0.7917 GB, free: 9.121 MB / 0.7605 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad/Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.973175421357155]