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.001665/0.001665, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001948/0.001948, allocations: 210.1 kB / 22.99 MB, free: 4.957 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.489/1.489, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.23/3.23, allocations: 0.49 GB / 0.7959 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002051/0.002051, allocations: 74.52 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3433, allocations: 176.1 MB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002455/0.3458, allocations: 1.25 MB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002228/0.348, allocations: 1.33 MB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.119e-05/0.348, allocations: 0 / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.093e-05/0.348, allocations: 3.938 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0007441/0.3488, allocations: 222.3 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001202/0.3489, allocations: 31.95 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 5.027e-05/0.349, allocations: 11.94 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.291e-05/0.349, allocations: 4 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.823e-05/0.349, allocations: 11.98 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2626/0.6116, allocations: 31.06 MB / 1.36 GB, free: 1.559 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.002e-05/0.6117, allocations: 0 / 1.36 GB, free: 1.559 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.074e-05/0.6117, allocations: 0 / 1.36 GB, free: 1.559 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.581e-05/0.6117, allocations: 0 / 1.36 GB, free: 1.559 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.984e-05/0.6117, allocations: 8 kB / 1.36 GB, free: 1.551 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001241/0.6118, allocations: 15.91 kB / 1.36 GB, free: 1.535 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.6118, allocations: 0 / 1.36 GB, free: 1.535 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.134e-06/0.6118, allocations: 0 / 1.36 GB, free: 1.535 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.231e-06/0.6119, allocations: 0 / 1.36 GB, free: 1.535 MB / 1.045 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.0003445/0.6122, allocations: 246.4 kB / 1.36 GB, free: 1.266 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.6122, allocations: 12.03 kB / 1.36 GB, free: 1.254 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.4e-05/0.6123, allocations: 76.22 kB / 1.361 GB, free: 1.18 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/0.6125, allocations: 185.8 kB / 1.361 GB, free: 0.9727 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.117e-05/0.6126, allocations: 154.9 kB / 1.361 GB, free: 0.8203 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.116e-05/0.6126, allocations: 158.9 kB / 1.361 GB, free: 0.6641 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.924e-05/0.6127, allocations: 105.1 kB / 1.361 GB, free: 0.5547 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.807e-05/0.6128, allocations: 83.27 kB / 1.361 GB, free: 484 kB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.218e-05/0.6128, allocations: 154.6 kB / 1.361 GB, free: 328 kB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-05/0.6129, allocations: 150.6 kB / 1.361 GB, free: 176 kB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.734e-05/0.613, allocations: 150.6 kB / 1.362 GB, free: 24 kB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003311/0.6133, allocations: 401.5 kB / 1.362 GB, free: 15.6 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.6134, allocations: 169.1 kB / 1.362 GB, free: 15.43 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.362e-05/0.6135, allocations: 80.14 kB / 1.362 GB, free: 15.34 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.13e-05/0.6135, allocations: 75.28 kB / 1.362 GB, free: 15.27 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.212e-05/0.6136, allocations: 109.8 kB / 1.362 GB, free: 15.15 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.6136, allocations: 8 kB / 1.362 GB, free: 15.14 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 8.547e-05/0.6137, allocations: 41.56 kB / 1.362 GB, free: 15.1 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001357/0.6138, allocations: 203.8 kB / 1.363 GB, free: 14.87 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.6139, allocations: 93.86 kB / 1.363 GB, free: 14.77 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.851e-05/0.6139, allocations: 29.7 kB / 1.363 GB, free: 14.73 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.087e-05/0.614, allocations: 84.14 kB / 1.363 GB, free: 14.64 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.834e-06/0.614, allocations: 3.938 kB / 1.363 GB, free: 14.64 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.078e-05/0.614, allocations: 17.7 kB / 1.363 GB, free: 14.62 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.6142, allocations: 310.8 kB / 1.363 GB, free: 14.3 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.118e-06/0.6142, allocations: 0 / 1.363 GB, free: 14.3 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.284e-05/0.6143, allocations: 103.7 kB / 1.363 GB, free: 14.18 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.688e-05/0.6143, allocations: 75.28 kB / 1.363 GB, free: 14.1 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.296e-05/0.6143, allocations: 79.28 kB / 1.363 GB, free: 14.02 MB / 1.061 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.418e-05/0.6144, allocations: 37.62 kB / 1.363 GB, free: 13.98 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.072e-05/0.6145, allocations: 87.22 kB / 1.364 GB, free: 13.89 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.514e-05/0.6145, allocations: 75.28 kB / 1.364 GB, free: 13.82 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.587e-05/0.6146, allocations: 150.6 kB / 1.364 GB, free: 13.67 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.693e-05/0.6146, allocations: 83.22 kB / 1.364 GB, free: 13.59 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.337e-05/0.6147, allocations: 150.6 kB / 1.364 GB, free: 13.44 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001766/0.6149, allocations: 87.22 kB / 1.364 GB, free: 13.36 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.603e-05/0.6149, allocations: 79.27 kB / 1.364 GB, free: 13.28 MB / 1.061 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.0001546/0.6151, allocations: 264.4 kB / 1.364 GB, free: 13.01 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.924e-05/0.6152, allocations: 112.8 kB / 1.365 GB, free: 12.89 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.569e-05/0.6152, allocations: 108.1 kB / 1.365 GB, free: 12.77 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.907e-05/0.6153, allocations: 180.3 kB / 1.365 GB, free: 12.59 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.739e-05/0.6154, allocations: 192.2 kB / 1.365 GB, free: 12.39 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.804e-05/0.6155, allocations: 180.5 kB / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002554/0.6158, allocations: 356.8 kB / 1.365 GB, free: 11.82 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.714e-05/0.6158, allocations: 105 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.08e-05/0.6159, allocations: 105 kB / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.588e-05/0.6159, allocations: 184.2 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001025/0.6161, allocations: 184.2 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.579e-05/0.6161, allocations: 180.2 kB / 1.366 GB, free: 11.04 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.063e-05/0.6162, allocations: 180.3 kB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001747/0.6164, allocations: 307.8 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.519e-05/0.6165, allocations: 105 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/0.6166, allocations: 184.1 kB / 1.367 GB, free: 10.24 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001676/0.6167, allocations: 113 kB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.278e-05/0.6168, allocations: 176.3 kB / 1.367 GB, free: 9.941 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.547e-05/0.6169, allocations: 108.9 kB / 1.367 GB, free: 9.828 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.562e-05/0.6169, allocations: 75.28 kB / 1.367 GB, free: 9.754 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.6169, allocations: 4 kB / 1.367 GB, free: 9.75 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002679/0.6172, allocations: 4 kB / 1.367 GB, free: 9.746 MB / 1.061 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.0001669/0.6174, allocations: 178.5 kB / 1.368 GB, free: 9.559 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 4.967e-05/0.6174, allocations: 4 kB / 1.368 GB, free: 9.555 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.6174, allocations: 4 kB / 1.368 GB, free: 9.551 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.193e-06/0.6174, allocations: 0 / 1.368 GB, free: 9.551 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004486/0.6179, allocations: 469.2 kB / 1.368 GB, free: 9.09 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002819/0.6182, allocations: 168.9 kB / 1.368 GB, free: 8.898 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.414e-05/0.6182, allocations: 59.36 kB / 1.368 GB, free: 8.82 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.93e-05/0.6182, allocations: 4 kB / 1.368 GB, free: 8.816 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.351e-05/0.6182, allocations: 7.438 kB / 1.368 GB, free: 8.809 MB / 1.061 GB Notification: Performance of SimCode: time 4.31e-07/0.6182, allocations: 0 / 1.368 GB, free: 8.809 MB / 1.061 GB Notification: Performance of Templates: time 0.005148/0.6234, allocations: 0.5533 MB / 1.369 GB, free: 8.266 MB / 1.061 GB " [Timeout remaining time 299] 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=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.188487364997854]