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.00158/0.00158, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002355/0.002355, allocations: 214.2 kB / 22.24 MB, free: 5.262 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.597/1.597, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.502/3.502, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002175/0.002175, allocations: 68.59 kB / 1.186 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.469/0.4711, allocations: 181.9 MB / 1.364 GB, free: 13.63 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002705/0.4738, allocations: 1.266 MB / 1.365 GB, free: 12.35 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002371/0.4762, allocations: 1.322 MB / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.397e-05/0.4762, allocations: 0 / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.137e-05/0.4763, allocations: 0 / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0008057/0.4771, allocations: 219.2 kB / 1.367 GB, free: 10.8 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001109/0.4772, allocations: 35.89 kB / 1.367 GB, free: 10.77 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 5.808e-05/0.4772, allocations: 15.98 kB / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.421e-05/0.4773, allocations: 0 / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.684e-05/0.4773, allocations: 8 kB / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2637/0.741, allocations: 31.05 MB / 1.397 GB, free: 14.08 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 2.217e-05/0.741, allocations: 0 / 1.397 GB, free: 14.08 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 1.631e-05/0.741, allocations: 4 kB / 1.397 GB, free: 14.07 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 1.862e-05/0.7411, allocations: 0 / 1.397 GB, free: 14.07 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 4.847e-05/0.7411, allocations: 19.91 kB / 1.397 GB, free: 14.05 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0001465/0.7413, allocations: 11.94 kB / 1.397 GB, free: 14.04 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.7413, allocations: 0 / 1.397 GB, free: 14.04 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.914e-06/0.7413, allocations: 0 / 1.397 GB, free: 14.04 MB / 1.092 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.7413, allocations: 0 / 1.397 GB, free: 14.04 MB / 1.092 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.0003611/0.7416, allocations: 242.5 kB / 1.397 GB, free: 13.78 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.7417, allocations: 11.97 kB / 1.397 GB, free: 13.77 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.839e-05/0.7418, allocations: 80.22 kB / 1.397 GB, free: 13.69 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001727/0.7419, allocations: 181.8 kB / 1.397 GB, free: 13.48 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.975e-05/0.742, allocations: 150.9 kB / 1.398 GB, free: 13.34 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.431e-05/0.7421, allocations: 154.9 kB / 1.398 GB, free: 13.18 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.621e-05/0.7422, allocations: 113.1 kB / 1.398 GB, free: 13.07 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.482e-05/0.7422, allocations: 75.28 kB / 1.398 GB, free: 12.99 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.62e-05/0.7423, allocations: 154.5 kB / 1.398 GB, free: 12.84 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.88e-05/0.7424, allocations: 162.6 kB / 1.398 GB, free: 12.68 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.975e-05/0.7424, allocations: 150.6 kB / 1.398 GB, free: 12.53 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003299/0.7427, allocations: 393.6 kB / 1.399 GB, free: 12.12 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.7429, allocations: 169.1 kB / 1.399 GB, free: 11.94 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.424e-05/0.7429, allocations: 80.14 kB / 1.399 GB, free: 11.86 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 3.595e-05/0.7429, allocations: 83.22 kB / 1.399 GB, free: 11.78 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.975e-05/0.743, allocations: 105.8 kB / 1.399 GB, free: 11.66 MB / 1.092 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.743, allocations: 0 / 1.399 GB, free: 11.66 MB / 1.092 GB Notification: Performance of matching and sorting (n=0): time 0.0001068/0.7431, allocations: 45.62 kB / 1.399 GB, free: 11.61 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001351/0.7432, allocations: 207.7 kB / 1.399 GB, free: 11.38 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.7434, allocations: 101.8 kB / 1.4 GB, free: 11.27 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.7434, allocations: 25.7 kB / 1.4 GB, free: 11.24 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 5.57e-05/0.7434, allocations: 80.14 kB / 1.4 GB, free: 11.16 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 1.894e-06/0.7434, allocations: 0 / 1.4 GB, free: 11.16 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.554e-05/0.7435, allocations: 21.7 kB / 1.4 GB, free: 11.13 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.7436, allocations: 314.8 kB / 1.4 GB, free: 10.81 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.681e-06/0.7436, allocations: 0 / 1.4 GB, free: 10.81 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.64e-05/0.7437, allocations: 99.62 kB / 1.4 GB, free: 10.69 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.055e-05/0.7438, allocations: 79.28 kB / 1.4 GB, free: 10.61 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-05/0.7438, allocations: 75.28 kB / 1.4 GB, free: 10.54 MB / 1.092 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.461e-05/0.7439, allocations: 33.69 kB / 1.4 GB, free: 10.5 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 5.006e-05/0.7439, allocations: 83.22 kB / 1.4 GB, free: 10.41 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.542e-05/0.744, allocations: 83.22 kB / 1.4 GB, free: 10.33 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.972e-05/0.744, allocations: 154.6 kB / 1.401 GB, free: 10.18 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.435e-05/0.7441, allocations: 75.28 kB / 1.401 GB, free: 10.11 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.894e-05/0.7441, allocations: 158.5 kB / 1.401 GB, free: 9.949 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001625/0.7443, allocations: 79.27 kB / 1.401 GB, free: 9.871 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.749e-05/0.7443, allocations: 83.22 kB / 1.401 GB, free: 9.789 MB / 1.092 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.0001702/0.7445, allocations: 265.5 kB / 1.401 GB, free: 9.52 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.47e-05/0.7446, allocations: 108.9 kB / 1.401 GB, free: 9.406 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.966e-05/0.7446, allocations: 104.1 kB / 1.401 GB, free: 9.293 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.871e-05/0.7447, allocations: 188.2 kB / 1.402 GB, free: 9.102 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.186e-05/0.7448, allocations: 180.3 kB / 1.402 GB, free: 8.918 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.053e-05/0.7449, allocations: 184.2 kB / 1.402 GB, free: 8.73 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002298/0.7451, allocations: 356.8 kB / 1.402 GB, free: 8.344 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.075e-05/0.7452, allocations: 109 kB / 1.402 GB, free: 8.23 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.683e-05/0.7452, allocations: 104.9 kB / 1.402 GB, free: 8.121 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.593e-05/0.7453, allocations: 176.3 kB / 1.403 GB, free: 7.941 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.544e-05/0.7454, allocations: 188.1 kB / 1.403 GB, free: 7.75 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.68e-05/0.7455, allocations: 184.3 kB / 1.403 GB, free: 7.562 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.567e-05/0.7456, allocations: 176.3 kB / 1.403 GB, free: 7.383 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001936/0.7458, allocations: 311.8 kB / 1.403 GB, free: 7.055 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 6.779e-05/0.7458, allocations: 104.9 kB / 1.404 GB, free: 6.945 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/0.7459, allocations: 188.2 kB / 1.404 GB, free: 6.754 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.7461, allocations: 101 kB / 1.404 GB, free: 6.648 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.962e-05/0.7462, allocations: 188.1 kB / 1.404 GB, free: 6.457 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.964e-05/0.7462, allocations: 101 kB / 1.404 GB, free: 6.352 MB / 1.092 GB Notification: Performance of sorting global known variables: time 6.47e-05/0.7463, allocations: 87.27 kB / 1.404 GB, free: 6.266 MB / 1.092 GB Notification: Performance of sort global known variables: time 7.1e-08/0.7463, allocations: 0 / 1.404 GB, free: 6.266 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0002683/0.7466, allocations: 8 kB / 1.404 GB, free: 6.258 MB / 1.092 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.0001778/0.7467, allocations: 166.5 kB / 1.404 GB, free: 6.082 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 6.57e-05/0.7468, allocations: 11.94 kB / 1.404 GB, free: 6.07 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.7468, allocations: 0 / 1.404 GB, free: 6.07 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 1.112e-06/0.7468, allocations: 0 / 1.404 GB, free: 6.07 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004289/0.7472, allocations: 459.7 kB / 1.405 GB, free: 5.617 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003551/0.7476, allocations: 164.9 kB / 1.405 GB, free: 5.43 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.037e-05/0.7477, allocations: 51.36 kB / 1.405 GB, free: 5.359 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 3.469e-05/0.7477, allocations: 8 kB / 1.405 GB, free: 5.352 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.712e-05/0.7477, allocations: 7.438 kB / 1.405 GB, free: 5.344 MB / 1.092 GB Notification: Performance of SimCode: time 6.51e-07/0.7477, allocations: 0 / 1.405 GB, free: 5.344 MB / 1.092 GB Notification: Performance of Templates: time 0.006457/0.7542, allocations: 0.5449 MB / 1.406 GB, free: 4.805 MB / 1.092 GB " [Timeout remaining time 299] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.234425900503993]