Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.000955/0.000955, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001239/0.002194, allocations: 440 kB / 10.41 MB, free: 284 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.0007327/0.0007327, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001014/0.001747, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9844/0.9844, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.118/1.102, allocations: 53.68 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.284/2.284, allocations: 447.1 MB / 0.675 GB, free: 5.887 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2284/2.513, allocations: 146 MB / 0.8176 GB, free: 3.809 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 3.938 kB / 0.8189 GB, free: 2.488 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.593e-05/1.77e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.484 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.00231/0.002328, allocations: 1.341 MB / 0.8202 GB, free: 1.125 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001877/0.004205, allocations: 1.408 MB / 0.8216 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.913e-05/0.004224, allocations: 0 / 0.8216 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 8.807e-06/0.004233, allocations: 7.938 kB / 0.8216 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0005189/0.004752, allocations: 191.1 kB / 0.8218 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 8.667e-05/0.004839, allocations: 31.94 kB / 0.8218 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 4.879e-05/0.004887, allocations: 19.92 kB / 0.8218 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.897e-05/0.004926, allocations: 4 kB / 0.8218 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 5.201e-05/0.004978, allocations: 11.98 kB / 0.8219 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1164/0.1214, allocations: 51.9 MB / 0.8725 GB, free: 440 kB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.1214, allocations: 0 / 0.8725 GB, free: 440 kB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.052e-05/0.1214, allocations: 0 / 0.8725 GB, free: 440 kB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.447e-05/0.1214, allocations: 0 / 0.8725 GB, free: 440 kB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.065e-05/0.1215, allocations: 4 kB / 0.8725 GB, free: 436 kB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.889e-05/0.1216, allocations: 12 kB / 0.8726 GB, free: 424 kB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.137e-05/0.1216, allocations: 0 / 0.8726 GB, free: 424 kB / 0.8386 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1216, allocations: 0 / 0.8726 GB, free: 424 kB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.969e-06/0.1216, allocations: 4 kB / 0.8726 GB, free: 420 kB / 0.8386 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.0002205/0.1218, allocations: 220.6 kB / 0.8728 GB, free: 176 kB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.053e-05/0.1218, allocations: 8.031 kB / 0.8728 GB, free: 168 kB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.981e-05/0.1219, allocations: 84.2 kB / 0.8729 GB, free: 84 kB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.769e-05/0.122, allocations: 185 kB / 0.873 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.464e-05/0.122, allocations: 154.9 kB / 0.8732 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.062e-05/0.1221, allocations: 150.9 kB / 0.8733 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.267e-05/0.1221, allocations: 105.5 kB / 0.8734 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.1221, allocations: 79.47 kB / 0.8735 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.555e-05/0.1221, allocations: 158.7 kB / 0.8737 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.125e-05/0.1222, allocations: 154.5 kB / 0.8738 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.372e-05/0.1222, allocations: 154.5 kB / 0.8739 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001407/0.1224, allocations: 353.3 kB / 0.8743 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 6.294e-05/0.1224, allocations: 173.1 kB / 0.8745 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.106e-05/0.1224, allocations: 80.14 kB / 0.8745 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.1225, allocations: 79.28 kB / 0.8746 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/0.1225, allocations: 109.8 kB / 0.8747 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 6.71e-07/0.1225, allocations: 0 / 0.8747 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 5.371e-05/0.1225, allocations: 33.7 kB / 0.8747 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.856e-05/0.1226, allocations: 126.7 kB / 0.8749 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.102e-05/0.1227, allocations: 106.6 kB / 0.875 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.055e-05/0.1227, allocations: 25.7 kB / 0.875 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.768e-05/0.1227, allocations: 88.12 kB / 0.8751 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.41e-07/0.1227, allocations: 0 / 0.8751 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.153e-05/0.1227, allocations: 17.72 kB / 0.8751 GB, free: 13.67 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.489e-05/0.1228, allocations: 310.8 kB / 0.8754 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.518e-06/0.1228, allocations: 4 kB / 0.8754 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.483e-05/0.1229, allocations: 99.67 kB / 0.8755 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.3e-05/0.1229, allocations: 75.28 kB / 0.8756 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-05/0.1229, allocations: 83.22 kB / 0.8756 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.422e-05/0.1229, allocations: 29.7 kB / 0.8757 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.984e-05/0.123, allocations: 79.28 kB / 0.8757 GB, free: 12.96 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.998e-05/0.123, allocations: 83.33 kB / 0.8758 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.243e-05/0.123, allocations: 158.5 kB / 0.876 GB, free: 12.72 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.795e-05/0.1231, allocations: 75.28 kB / 0.876 GB, free: 12.65 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.334e-05/0.1231, allocations: 158.5 kB / 0.8762 GB, free: 12.49 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.1232, allocations: 83.36 kB / 0.8763 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.878e-05/0.1232, allocations: 83.3 kB / 0.8763 GB, free: 12.33 MB / 0.8542 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.72e-05/0.1233, allocations: 256.4 kB / 0.8766 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.865e-05/0.1233, allocations: 116.9 kB / 0.8767 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.472e-05/0.1234, allocations: 104.1 kB / 0.8768 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.302e-05/0.1234, allocations: 184.2 kB / 0.877 GB, free: 11.65 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4e-05/0.1235, allocations: 176.3 kB / 0.8771 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.394e-05/0.1235, allocations: 196.1 kB / 0.8773 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001154/0.1236, allocations: 317.4 kB / 0.8776 GB, free: 10.94 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.491e-05/0.1236, allocations: 105 kB / 0.8777 GB, free: 10.83 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.595e-05/0.1237, allocations: 104.9 kB / 0.8778 GB, free: 10.72 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.204e-05/0.1237, allocations: 105 kB / 0.8779 GB, free: 10.61 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.775e-05/0.1237, allocations: 180.3 kB / 0.8781 GB, free: 10.43 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.702e-05/0.1238, allocations: 184.4 kB / 0.8783 GB, free: 10.24 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-05/0.1238, allocations: 176.3 kB / 0.8785 GB, free: 10.06 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.708e-05/0.1238, allocations: 192.2 kB / 0.8786 GB, free: 9.863 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.309e-05/0.1239, allocations: 307.7 kB / 0.8789 GB, free: 9.539 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.346e-05/0.124, allocations: 184.2 kB / 0.8791 GB, free: 9.352 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.283e-05/0.124, allocations: 101 kB / 0.8792 GB, free: 9.246 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.249e-05/0.1241, allocations: 188.2 kB / 0.8794 GB, free: 9.055 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-05/0.1241, allocations: 105 kB / 0.8795 GB, free: 8.945 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 1.699e-05/0.1241, allocations: 8.859 kB / 0.8795 GB, free: 8.934 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.1241, allocations: 0 / 0.8795 GB, free: 8.934 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001271/0.1242, allocations: 4 kB / 0.8795 GB, free: 8.93 MB / 0.8542 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.0001007/0.1243, allocations: 159.7 kB / 0.8796 GB, free: 8.762 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 4.208e-05/0.1244, allocations: 16.17 kB / 0.8797 GB, free: 8.746 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.1244, allocations: 0 / 0.8797 GB, free: 8.746 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.304e-06/0.1244, allocations: 0 / 0.8797 GB, free: 8.746 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001808/0.1246, allocations: 463.7 kB / 0.8801 GB, free: 8.289 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002929/0.1249, allocations: 172.1 kB / 0.8803 GB, free: 8.094 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.699e-05/0.1249, allocations: 51.36 kB / 0.8803 GB, free: 8.023 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.372e-05/0.1249, allocations: 8 kB / 0.8803 GB, free: 8.016 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.447e-05/0.125, allocations: 59.36 kB / 0.8804 GB, free: 7.957 MB / 0.8542 GB Notification: Performance of SimCode: time 4.31e-07/0.125, allocations: 0 / 0.8804 GB, free: 7.957 MB / 0.8542 GB Notification: Performance of Templates: time 0.001682/0.1267, allocations: 0.6411 MB / 0.881 GB, free: 7.32 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & ./Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad/Buildings_latest_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: 5.143086357973516]