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.001531/0.001531, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002392/0.003922, allocations: 435.8 kB / 10.33 MB, free: 368 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.00186/0.00186, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002135/0.003994, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1.299/1.299, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1292/1.428, allocations: 53.65 MB / 243.2 MB, free: 15.58 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.676/2.676, allocations: 446.7 MB / 0.6745 GB, free: 6.191 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.3226/2.998, allocations: 145.9 MB / 0.817 GB, free: 4.188 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.623e-06/1.623e-06, allocations: 0 / 0.8183 GB, free: 2.891 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.615e-05/2.777e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.887 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002273/0.002301, allocations: 1.331 MB / 0.8196 GB, free: 1.543 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001766/0.004066, allocations: 1.403 MB / 0.821 GB, free: 136 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.923e-05/0.004086, allocations: 0 / 0.821 GB, free: 136 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 1.113e-05/0.004097, allocations: 0 / 0.821 GB, free: 136 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0008349/0.004932, allocations: 195.2 kB / 0.8212 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 8.899e-05/0.005021, allocations: 31.89 kB / 0.8212 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 5.844e-05/0.005079, allocations: 15.92 kB / 0.8212 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 5.151e-05/0.005131, allocations: 4 kB / 0.8212 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 6.108e-05/0.005192, allocations: 15.98 kB / 0.8212 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1227/0.1279, allocations: 51.88 MB / 0.8719 GB, free: 0.8516 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.893e-05/0.1279, allocations: 8 kB / 0.8719 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.13e-05/0.1279, allocations: 0 / 0.8719 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.361e-05/0.1279, allocations: 0 / 0.8719 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.496e-05/0.128, allocations: 4 kB / 0.8719 GB, free: 0.8398 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001469/0.1281, allocations: 11.97 kB / 0.8719 GB, free: 0.8281 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.406e-05/0.1281, allocations: 0 / 0.8719 GB, free: 0.8281 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.134e-06/0.1281, allocations: 0 / 0.8719 GB, free: 0.8281 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.734e-05/0.1282, allocations: 0 / 0.8719 GB, free: 0.8281 MB / 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.000316/0.1285, allocations: 224.7 kB / 0.8721 GB, free: 0.5859 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.1285, allocations: 8.031 kB / 0.8721 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.292e-05/0.1286, allocations: 80.22 kB / 0.8722 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.1287, allocations: 189 kB / 0.8724 GB, free: 296 kB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.31e-05/0.1287, allocations: 154.9 kB / 0.8725 GB, free: 140 kB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.16e-05/0.1288, allocations: 150.9 kB / 0.8727 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.166e-05/0.1289, allocations: 109.5 kB / 0.8728 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.448e-05/0.1289, allocations: 75.47 kB / 0.8729 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.817e-05/0.129, allocations: 162.7 kB / 0.873 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.342e-05/0.129, allocations: 150.6 kB / 0.8732 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.468e-05/0.129, allocations: 150.6 kB / 0.8733 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000178/0.1292, allocations: 357.3 kB / 0.8736 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 7.55e-05/0.1293, allocations: 169.1 kB / 0.8738 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.322e-05/0.1293, allocations: 88.14 kB / 0.8739 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.1293, allocations: 75.28 kB / 0.874 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.781e-05/0.1294, allocations: 105.8 kB / 0.8741 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 1.753e-06/0.1294, allocations: 0 / 0.8741 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 7.108e-05/0.1295, allocations: 37.69 kB / 0.8741 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.047e-05/0.1295, allocations: 130.6 kB / 0.8742 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.414e-05/0.1296, allocations: 102.7 kB / 0.8743 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/0.1296, allocations: 25.7 kB / 0.8743 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.885e-05/0.1296, allocations: 84.14 kB / 0.8744 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 9.12e-07/0.1296, allocations: 0 / 0.8744 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.546e-05/0.1297, allocations: 17.69 kB / 0.8744 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.144e-05/0.1297, allocations: 318.8 kB / 0.8747 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.907e-06/0.1298, allocations: 0 / 0.8747 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.372e-05/0.1298, allocations: 99.69 kB / 0.8748 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.377e-05/0.1298, allocations: 75.28 kB / 0.8749 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.949e-05/0.1299, allocations: 75.28 kB / 0.875 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.23e-05/0.1299, allocations: 33.69 kB / 0.875 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.061e-05/0.1299, allocations: 83.22 kB / 0.8751 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.403e-05/0.13, allocations: 79.33 kB / 0.8752 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.116e-05/0.13, allocations: 154.6 kB / 0.8753 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.408e-05/0.13, allocations: 79.45 kB / 0.8754 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.539e-05/0.1301, allocations: 158.6 kB / 0.8755 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001234/0.1302, allocations: 87.28 kB / 0.8756 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.882e-05/0.1302, allocations: 79.3 kB / 0.8757 GB, free: 12.75 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 0.0001003/0.1303, allocations: 264.4 kB / 0.876 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.798e-05/0.1303, allocations: 109 kB / 0.8761 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.817e-05/0.1304, allocations: 112 kB / 0.8762 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.192e-05/0.1304, allocations: 184.2 kB / 0.8763 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.376e-05/0.1305, allocations: 180.2 kB / 0.8765 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.561e-05/0.1305, allocations: 180.2 kB / 0.8767 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001377/0.1307, allocations: 321.4 kB / 0.877 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.02e-05/0.1307, allocations: 112.9 kB / 0.8771 GB, free: 11.24 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.746e-05/0.1307, allocations: 105 kB / 0.8772 GB, free: 11.13 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.702e-05/0.1308, allocations: 104.9 kB / 0.8773 GB, free: 11.02 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-05/0.1308, allocations: 184.3 kB / 0.8775 GB, free: 10.83 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.597e-05/0.1308, allocations: 176.3 kB / 0.8776 GB, free: 10.65 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.497e-05/0.1309, allocations: 184.2 kB / 0.8778 GB, free: 10.46 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.386e-05/0.1309, allocations: 180.3 kB / 0.878 GB, free: 10.28 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001096/0.131, allocations: 311.7 kB / 0.8783 GB, free: 9.953 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.49e-05/0.1311, allocations: 184.2 kB / 0.8785 GB, free: 9.766 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.143e-05/0.1312, allocations: 104.9 kB / 0.8786 GB, free: 9.656 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.057e-05/0.1312, allocations: 180.3 kB / 0.8787 GB, free: 9.473 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.653e-05/0.1313, allocations: 108.9 kB / 0.8788 GB, free: 9.359 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 1.908e-05/0.1313, allocations: 12.84 kB / 0.8788 GB, free: 9.344 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.1313, allocations: 0 / 0.8788 GB, free: 9.344 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001357/0.1314, allocations: 4 kB / 0.8789 GB, free: 9.34 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.0001532/0.1316, allocations: 151.7 kB / 0.879 GB, free: 9.18 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 5.645e-05/0.1316, allocations: 7.938 kB / 0.879 GB, free: 9.172 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.1316, allocations: 0 / 0.879 GB, free: 9.172 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.633e-06/0.1316, allocations: 0 / 0.879 GB, free: 9.172 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002466/0.1319, allocations: 467.6 kB / 0.8795 GB, free: 8.711 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004389/0.1323, allocations: 176.4 kB / 0.8796 GB, free: 8.512 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.762e-05/0.1324, allocations: 55.34 kB / 0.8797 GB, free: 8.438 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.556e-05/0.1324, allocations: 4 kB / 0.8797 GB, free: 8.434 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.84e-05/0.1324, allocations: 59.36 kB / 0.8797 GB, free: 8.375 MB / 0.8542 GB Notification: Performance of SimCode: time 1.072e-06/0.1324, allocations: 4 kB / 0.8797 GB, free: 8.371 MB / 0.8542 GB Notification: Performance of Templates: time 0.002295/0.1347, allocations: 0.6275 MB / 0.8803 GB, free: 7.746 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.119036014191806]