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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001951/0.001951, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001664/0.001664, allocations: 198 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.121/3.121, allocations: 497.2 MB / 0.7845 GB, free: 33.5 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001842/0.001842, allocations: 64.91 kB / 1.139 GB, free: 33.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.3214, allocations: 173.9 MB / 1.309 GB, free: 4 kB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002443/0.3239, allocations: 1.247 MB / 1.31 GB, free: 14.74 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002246/0.3261, allocations: 1.353 MB / 1.312 GB, free: 13.38 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.943e-05/0.3261, allocations: 3.938 kB / 1.312 GB, free: 13.38 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.127e-05/0.3262, allocations: 7.984 kB / 1.312 GB, free: 13.37 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0007208/0.3269, allocations: 203.3 kB / 1.312 GB, free: 13.17 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001382/0.327, allocations: 39.94 kB / 1.312 GB, free: 13.13 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.153e-05/0.3271, allocations: 11.94 kB / 1.312 GB, free: 13.12 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.168e-05/0.3271, allocations: 3.984 kB / 1.312 GB, free: 13.12 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.173e-05/0.3271, allocations: 8 kB / 1.312 GB, free: 13.11 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2545/0.5816, allocations: 31.04 MB / 1.342 GB, free: 0.7695 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.5816, allocations: 0 / 1.342 GB, free: 0.7695 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.002e-05/0.5816, allocations: 4 kB / 1.342 GB, free: 0.7656 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.844e-05/0.5816, allocations: 11.92 kB / 1.342 GB, free: 0.7539 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.465e-05/0.5817, allocations: 0 / 1.342 GB, free: 0.7539 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001108/0.5818, allocations: 11.98 kB / 1.342 GB, free: 0.7422 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.5818, allocations: 4 kB / 1.342 GB, free: 0.7383 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5818, allocations: 0 / 1.342 GB, free: 0.7383 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.5818, allocations: 0 / 1.342 GB, free: 0.7383 MB / 1.029 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.0003515/0.5821, allocations: 323.4 kB / 1.343 GB, free: 384 kB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.5822, allocations: 12.03 kB / 1.343 GB, free: 372 kB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.279e-05/0.5822, allocations: 84.22 kB / 1.343 GB, free: 288 kB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.5824, allocations: 243.7 kB / 1.343 GB, free: 4 kB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.339e-05/0.5825, allocations: 150.9 kB / 1.343 GB, free: 15.86 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.071e-05/0.5825, allocations: 150.9 kB / 1.343 GB, free: 15.71 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.887e-05/0.5826, allocations: 109 kB / 1.343 GB, free: 15.59 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.393e-05/0.5826, allocations: 79.22 kB / 1.343 GB, free: 15.52 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.004e-05/0.5827, allocations: 154.6 kB / 1.344 GB, free: 15.36 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.936e-05/0.5828, allocations: 150.6 kB / 1.344 GB, free: 15.21 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.721e-05/0.5828, allocations: 162.5 kB / 1.344 GB, free: 15.05 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003043/0.5831, allocations: 445.9 kB / 1.344 GB, free: 14.57 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 9.167e-05/0.5832, allocations: 169.1 kB / 1.345 GB, free: 14.39 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.782e-05/0.5833, allocations: 80.14 kB / 1.345 GB, free: 14.31 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.63e-05/0.5833, allocations: 79.28 kB / 1.345 GB, free: 14.23 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.475e-05/0.5834, allocations: 117.7 kB / 1.345 GB, free: 14.11 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.5834, allocations: 0 / 1.345 GB, free: 14.11 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 7.75e-05/0.5834, allocations: 29.7 kB / 1.345 GB, free: 14.07 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001268/0.5836, allocations: 211.8 kB / 1.345 GB, free: 13.84 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.5837, allocations: 105.8 kB / 1.345 GB, free: 13.72 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.5837, allocations: 25.7 kB / 1.345 GB, free: 13.69 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.762e-05/0.5838, allocations: 80.14 kB / 1.345 GB, free: 13.61 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.693e-06/0.5838, allocations: 0 / 1.345 GB, free: 13.61 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.069e-05/0.5838, allocations: 13.72 kB / 1.345 GB, free: 13.59 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.584, allocations: 314.8 kB / 1.346 GB, free: 13.27 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.429e-06/0.584, allocations: 0 / 1.346 GB, free: 13.27 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.815e-05/0.584, allocations: 26.56 kB / 1.346 GB, free: 13.24 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.409e-05/0.584, allocations: 79.28 kB / 1.346 GB, free: 13.16 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.159e-05/0.5841, allocations: 79.22 kB / 1.346 GB, free: 13.08 MB / 1.045 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.369e-05/0.5841, allocations: 33.64 kB / 1.346 GB, free: 13.04 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.401e-05/0.5842, allocations: 83.28 kB / 1.346 GB, free: 12.96 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.128e-05/0.5842, allocations: 75.28 kB / 1.346 GB, free: 12.89 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.595e-05/0.5843, allocations: 158.5 kB / 1.346 GB, free: 12.73 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.274e-05/0.5843, allocations: 79.27 kB / 1.346 GB, free: 12.65 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.62e-05/0.5844, allocations: 158.5 kB / 1.346 GB, free: 12.5 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001645/0.5846, allocations: 79.28 kB / 1.346 GB, free: 12.42 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.029e-05/0.5846, allocations: 75.28 kB / 1.346 GB, free: 12.34 MB / 1.045 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.0001408/0.5847, allocations: 264.4 kB / 1.347 GB, free: 12.07 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.592e-05/0.5848, allocations: 116.8 kB / 1.347 GB, free: 11.95 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.666e-05/0.5849, allocations: 108.1 kB / 1.347 GB, free: 11.84 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.978e-05/0.5849, allocations: 180.2 kB / 1.347 GB, free: 11.66 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.533e-05/0.585, allocations: 180.3 kB / 1.347 GB, free: 11.47 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-05/0.5851, allocations: 180.3 kB / 1.347 GB, free: 11.29 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002789/0.5854, allocations: 413.1 kB / 1.348 GB, free: 10.83 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-05/0.5854, allocations: 101 kB / 1.348 GB, free: 10.72 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.116e-05/0.5855, allocations: 116.8 kB / 1.348 GB, free: 10.6 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.939e-05/0.5856, allocations: 176.3 kB / 1.348 GB, free: 10.42 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.969e-05/0.5857, allocations: 176.3 kB / 1.348 GB, free: 10.24 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.331e-05/0.5858, allocations: 184.1 kB / 1.349 GB, free: 10.05 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.977e-05/0.5858, allocations: 188.3 kB / 1.349 GB, free: 9.863 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001798/0.586, allocations: 307.7 kB / 1.349 GB, free: 9.539 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 9.991e-05/0.5861, allocations: 182 kB / 1.349 GB, free: 9.336 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.5862, allocations: 188.2 kB / 1.349 GB, free: 9.145 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/0.5864, allocations: 109 kB / 1.349 GB, free: 9.031 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.355e-05/0.5865, allocations: 180.2 kB / 1.35 GB, free: 8.848 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.495e-05/0.5865, allocations: 105 kB / 1.35 GB, free: 8.738 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.857e-05/0.5866, allocations: 75.28 kB / 1.35 GB, free: 8.664 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.5866, allocations: 0 / 1.35 GB, free: 8.664 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002542/0.5868, allocations: 4 kB / 1.35 GB, free: 8.66 MB / 1.045 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.0001642/0.587, allocations: 182.5 kB / 1.35 GB, free: 8.473 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 5.149e-05/0.587, allocations: 7.938 kB / 1.35 GB, free: 8.465 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.587, allocations: 0 / 1.35 GB, free: 8.465 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.373e-06/0.587, allocations: 0 / 1.35 GB, free: 8.465 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003838/0.5874, allocations: 461.2 kB / 1.35 GB, free: 8.012 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007732/0.5882, allocations: 172.7 kB / 1.351 GB, free: 7.816 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002952/0.5885, allocations: 0.6729 MB / 1.351 GB, free: 7.117 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.567e-05/0.5885, allocations: 4 kB / 1.351 GB, free: 7.113 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.227e-05/0.5885, allocations: 7.438 kB / 1.351 GB, free: 7.105 MB / 1.045 GB Notification: Performance of SimCode: time 4.41e-07/0.5885, allocations: 0 / 1.351 GB, free: 7.105 MB / 1.045 GB Notification: Performance of Templates: time 0.00431/0.5928, allocations: 0.4966 MB / 1.352 GB, free: 6.609 MB / 1.045 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 8.890685303136706]