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.001108/0.001108, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001423/0.002531, allocations: 449.7 kB / 10.37 MB, free: 328 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.001048/0.001048, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001264/0.002312, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9109/0.9109, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08699/0.9979, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.737/1.737, allocations: 378.2 MB / 0.6076 GB, free: 7.812 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5126/2.249, allocations: 123.3 MB / 0.728 GB, free: 5.82 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.773e-06/1.773e-06, allocations: 0.6562 kB / 0.7293 GB, free: 4.539 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.122e-05/2.299e-05, allocations: 2.312 kB / 0.7293 GB, free: 4.535 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.001796/0.001819, allocations: 1.334 MB / 0.7306 GB, free: 3.211 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001425/0.003244, allocations: 1.404 MB / 0.732 GB, free: 1.809 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.071e-05/0.003265, allocations: 0 / 0.732 GB, free: 1.809 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 8.426e-06/0.003273, allocations: 0 / 0.732 GB, free: 1.809 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0005767/0.00385, allocations: 188.5 kB / 0.7322 GB, free: 1.629 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 7.52e-05/0.003925, allocations: 37.34 kB / 0.7322 GB, free: 1.594 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 4.988e-05/0.003975, allocations: 16.05 kB / 0.7322 GB, free: 1.582 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.881e-05/0.004014, allocations: 8.641 kB / 0.7322 GB, free: 1.574 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.34e-05/0.004067, allocations: 13.64 kB / 0.7323 GB, free: 1.562 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1206/0.1247, allocations: 51.89 MB / 0.7829 GB, free: 2.387 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.316e-05/0.1247, allocations: 0 / 0.7829 GB, free: 2.387 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.13e-05/0.1247, allocations: 0 / 0.7829 GB, free: 2.387 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.163e-05/0.1247, allocations: 0 / 0.7829 GB, free: 2.387 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.838e-05/0.1247, allocations: 4 kB / 0.7829 GB, free: 2.383 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001088/0.1248, allocations: 11.94 kB / 0.7829 GB, free: 2.371 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.607e-05/0.1249, allocations: 4 kB / 0.7829 GB, free: 2.367 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.194e-06/0.1249, allocations: 4 kB / 0.783 GB, free: 2.363 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.255e-05/0.1249, allocations: 0 / 0.783 GB, free: 2.363 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.0002286/0.1251, allocations: 216.7 kB / 0.7832 GB, free: 2.129 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.023e-05/0.1251, allocations: 8.031 kB / 0.7832 GB, free: 2.121 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.28e-05/0.1252, allocations: 84.22 kB / 0.7832 GB, free: 2.039 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.987e-05/0.1253, allocations: 189 kB / 0.7834 GB, free: 1.828 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.6e-05/0.1253, allocations: 154.9 kB / 0.7836 GB, free: 1.676 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.05e-05/0.1253, allocations: 154.9 kB / 0.7837 GB, free: 1.523 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.534e-05/0.1254, allocations: 105.5 kB / 0.7838 GB, free: 1.414 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/0.1254, allocations: 79.47 kB / 0.7839 GB, free: 1.336 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.095e-05/0.1254, allocations: 158.7 kB / 0.7841 GB, free: 1.18 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.34e-05/0.1255, allocations: 154.5 kB / 0.7842 GB, free: 1.027 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.427e-05/0.1255, allocations: 150.6 kB / 0.7843 GB, free: 0.8789 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001456/0.1257, allocations: 353.3 kB / 0.7847 GB, free: 0.5195 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.97e-05/0.1257, allocations: 173.1 kB / 0.7848 GB, free: 348 kB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.972e-05/0.1257, allocations: 80.14 kB / 0.7849 GB, free: 264 kB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/0.1258, allocations: 79.28 kB / 0.785 GB, free: 184 kB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.549e-05/0.1258, allocations: 109.8 kB / 0.7851 GB, free: 64 kB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 7.21e-07/0.1258, allocations: 4 kB / 0.7851 GB, free: 60 kB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 5.001e-05/0.1258, allocations: 29.64 kB / 0.7851 GB, free: 24 kB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.64e-05/0.1259, allocations: 130.7 kB / 0.7853 GB, free: 15.88 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.689e-05/0.126, allocations: 102.7 kB / 0.7854 GB, free: 15.77 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 9.488e-06/0.126, allocations: 25.7 kB / 0.7854 GB, free: 15.74 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 2.667e-05/0.126, allocations: 92.11 kB / 0.7855 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 5.71e-07/0.126, allocations: 0 / 0.7855 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.028e-05/0.126, allocations: 17.72 kB / 0.7855 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 7.357e-05/0.1261, allocations: 310.8 kB / 0.7858 GB, free: 15.31 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.356e-06/0.1261, allocations: 3.938 kB / 0.7858 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.039e-05/0.1262, allocations: 99.67 kB / 0.7859 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.803e-05/0.1262, allocations: 75.28 kB / 0.786 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.949e-05/0.1262, allocations: 75.28 kB / 0.786 GB, free: 15.03 MB / 0.7605 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.805e-05/0.1262, allocations: 37.64 kB / 0.7861 GB, free: 14.99 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.752e-05/0.1263, allocations: 83.28 kB / 0.7861 GB, free: 14.91 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.129e-05/0.1263, allocations: 75.28 kB / 0.7862 GB, free: 14.83 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.811e-05/0.1263, allocations: 154.6 kB / 0.7864 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.956e-05/0.1263, allocations: 79.22 kB / 0.7864 GB, free: 14.6 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.415e-05/0.1264, allocations: 158.5 kB / 0.7866 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.1265, allocations: 87.16 kB / 0.7867 GB, free: 14.36 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/0.1265, allocations: 79.28 kB / 0.7867 GB, free: 14.28 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 8.638e-05/0.1266, allocations: 260.4 kB / 0.787 GB, free: 14.02 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.816e-05/0.1266, allocations: 104.9 kB / 0.7871 GB, free: 13.91 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.317e-05/0.1267, allocations: 112.1 kB / 0.7872 GB, free: 13.79 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.463e-05/0.1267, allocations: 180.3 kB / 0.7874 GB, free: 13.6 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.202e-05/0.1268, allocations: 180.2 kB / 0.7875 GB, free: 13.42 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.453e-05/0.1268, allocations: 188.2 kB / 0.7877 GB, free: 13.23 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001252/0.1269, allocations: 321.4 kB / 0.788 GB, free: 12.89 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.283e-05/0.1269, allocations: 105 kB / 0.7881 GB, free: 12.78 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.349e-05/0.127, allocations: 101 kB / 0.7882 GB, free: 12.67 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 2.926e-05/0.127, allocations: 104.9 kB / 0.7883 GB, free: 12.56 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.271e-05/0.127, allocations: 184.2 kB / 0.7885 GB, free: 12.38 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.968e-05/0.1271, allocations: 180.5 kB / 0.7887 GB, free: 12.19 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.033e-05/0.1271, allocations: 188.3 kB / 0.7889 GB, free: 12 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.681e-05/0.1272, allocations: 184.5 kB / 0.789 GB, free: 11.81 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.319e-05/0.1273, allocations: 311.7 kB / 0.7893 GB, free: 11.48 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.105e-05/0.1273, allocations: 184.2 kB / 0.7895 GB, free: 11.3 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.835e-05/0.1274, allocations: 105 kB / 0.7896 GB, free: 11.19 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.587e-05/0.1274, allocations: 180.3 kB / 0.7898 GB, free: 11 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.512e-05/0.1275, allocations: 112.9 kB / 0.7899 GB, free: 10.89 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 1.469e-05/0.1275, allocations: 8.859 kB / 0.7899 GB, free: 10.88 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.1275, allocations: 0 / 0.7899 GB, free: 10.88 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0001301/0.1276, allocations: 4 kB / 0.7899 GB, free: 10.87 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.0001069/0.1277, allocations: 159.7 kB / 0.79 GB, free: 10.7 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 3.744e-05/0.1277, allocations: 3.938 kB / 0.79 GB, free: 10.7 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.1277, allocations: 3.938 kB / 0.7901 GB, free: 10.7 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 7.11e-07/0.1277, allocations: 0 / 0.7901 GB, free: 10.7 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001856/0.1279, allocations: 475.5 kB / 0.7905 GB, free: 10.23 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003207/0.1283, allocations: 164 kB / 0.7907 GB, free: 10.04 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.803e-05/0.1283, allocations: 55.34 kB / 0.7907 GB, free: 9.965 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 2.735e-05/0.1283, allocations: 4 kB / 0.7907 GB, free: 9.961 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.389e-05/0.1284, allocations: 63.36 kB / 0.7908 GB, free: 9.898 MB / 0.7605 GB Notification: Performance of SimCode: time 8.41e-07/0.1284, allocations: 0 / 0.7908 GB, free: 9.898 MB / 0.7605 GB Notification: Performance of Templates: time 0.001906/0.1303, allocations: 0.6328 MB / 0.7914 GB, free: 9.27 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.820690404623747]