Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.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.001606/0.001606, allocations: 117.6 kB / 17.13 MB, free: 5.941 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.001607/0.001607, allocations: 197.2 kB / 20.08 MB, free: 3.008 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.436/1.436, allocations: 225.6 MB / 248.5 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.612/2.612, allocations: 443.5 MB / 0.7293 GB, free: 14.5 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|QCoo_flow|QHea_flow|QWatHea_flow",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad") translateModel(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|QCoo_flow|QHea_flow|QWatHea_flow",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 63.89 kB / 1.057 GB, free: 1.977 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.3487, allocations: 160.7 MB / 1.214 GB, free: 0.9531 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.00249/0.3512, allocations: 1.227 MB / 1.215 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002212/0.3534, allocations: 1.259 MB / 1.216 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.115e-05/0.3534, allocations: 7.938 kB / 1.216 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.01e-05/0.3534, allocations: 3.938 kB / 1.216 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0007171/0.3541, allocations: 211.3 kB / 1.217 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001414/0.3543, allocations: 34.69 kB / 1.217 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.959e-05/0.3543, allocations: 15.94 kB / 1.217 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.548e-05/0.3544, allocations: 0 / 1.217 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.531e-05/0.3544, allocations: 8 kB / 1.217 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2506/0.605, allocations: 31.05 MB / 1.247 GB, free: 2.125 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.605, allocations: 8 kB / 1.247 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.523e-05/0.605, allocations: 0 / 1.247 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.954e-05/0.605, allocations: 0 / 1.247 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.111e-05/0.6051, allocations: 11.94 kB / 1.247 GB, free: 2.105 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001434/0.6052, allocations: 11.97 kB / 1.247 GB, free: 2.094 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.6052, allocations: 0 / 1.247 GB, free: 2.094 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.244e-06/0.6052, allocations: 0 / 1.247 GB, free: 2.094 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.6052, allocations: 0 / 1.247 GB, free: 2.094 MB / 0.9825 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.0004354/0.6057, allocations: 323.5 kB / 1.247 GB, free: 1.73 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.6057, allocations: 8.031 kB / 1.247 GB, free: 1.723 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.307e-05/0.6058, allocations: 84.22 kB / 1.247 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001986/0.606, allocations: 239.6 kB / 1.248 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.654e-05/0.6061, allocations: 150.9 kB / 1.248 GB, free: 1.219 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.068e-05/0.6062, allocations: 150.9 kB / 1.248 GB, free: 1.07 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.112e-05/0.6063, allocations: 105.1 kB / 1.248 GB, free: 0.9609 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.465e-05/0.6063, allocations: 75.28 kB / 1.248 GB, free: 0.8867 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.591e-05/0.6064, allocations: 162.5 kB / 1.248 GB, free: 0.7266 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.929e-05/0.6065, allocations: 150.6 kB / 1.248 GB, free: 0.5781 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.897e-05/0.6066, allocations: 158.5 kB / 1.249 GB, free: 432 kB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004106/0.607, allocations: 438 kB / 1.249 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001247/0.6071, allocations: 185.1 kB / 1.249 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.295e-05/0.6072, allocations: 80.14 kB / 1.249 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.514e-05/0.6072, allocations: 75.28 kB / 1.249 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.988e-05/0.6073, allocations: 113.8 kB / 1.249 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.393e-06/0.6073, allocations: 0 / 1.249 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 0.0001035/0.6074, allocations: 37.59 kB / 1.25 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001471/0.6075, allocations: 207.8 kB / 1.25 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.6077, allocations: 97.86 kB / 1.25 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.6077, allocations: 25.7 kB / 1.25 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.181e-05/0.6077, allocations: 84.12 kB / 1.25 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.174e-06/0.6077, allocations: 4 kB / 1.25 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.192e-05/0.6078, allocations: 13.72 kB / 1.25 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.6079, allocations: 314.8 kB / 1.25 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.765e-06/0.608, allocations: 7.938 kB / 1.25 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.414e-05/0.608, allocations: 14.58 kB / 1.25 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.063e-05/0.608, allocations: 79.28 kB / 1.25 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.461e-05/0.6081, allocations: 75.28 kB / 1.25 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.539e-05/0.6082, allocations: 41.56 kB / 1.25 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.834e-05/0.6082, allocations: 79.28 kB / 1.251 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.081e-05/0.6082, allocations: 75.28 kB / 1.251 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.282e-05/0.6083, allocations: 162.5 kB / 1.251 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.067e-05/0.6084, allocations: 83.28 kB / 1.251 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.461e-05/0.6085, allocations: 150.6 kB / 1.251 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001855/0.6086, allocations: 87.2 kB / 1.251 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.028e-05/0.6087, allocations: 75.28 kB / 1.251 GB, free: 13.7 MB / 0.9981 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.0001655/0.6088, allocations: 260.4 kB / 1.251 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.174e-05/0.6089, allocations: 116.9 kB / 1.251 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.393e-05/0.609, allocations: 104.1 kB / 1.252 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.678e-05/0.6091, allocations: 184.2 kB / 1.252 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.11e-05/0.6092, allocations: 180.2 kB / 1.252 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.83e-05/0.6093, allocations: 176.3 kB / 1.252 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003083/0.6096, allocations: 417.2 kB / 1.252 GB, free: 12.19 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.877e-05/0.6096, allocations: 101 kB / 1.253 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.099e-05/0.6097, allocations: 104.9 kB / 1.253 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001018/0.6098, allocations: 180.4 kB / 1.253 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.193e-05/0.6099, allocations: 180.3 kB / 1.253 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001026/0.61, allocations: 196.1 kB / 1.253 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00014/0.6101, allocations: 176.3 kB / 1.253 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002452/0.6104, allocations: 303.8 kB / 1.254 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/0.6105, allocations: 194 kB / 1.254 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.6106, allocations: 180.2 kB / 1.254 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001507/0.6107, allocations: 109 kB / 1.254 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.328e-05/0.6108, allocations: 180.6 kB / 1.254 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.619e-05/0.6109, allocations: 105 kB / 1.254 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.224e-05/0.6109, allocations: 83.28 kB / 1.254 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.6109, allocations: 0 / 1.254 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002768/0.6112, allocations: 4 kB / 1.254 GB, free: 10.02 MB / 0.9981 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.0001788/0.6114, allocations: 174.5 kB / 1.255 GB, free: 9.836 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 5.749e-05/0.6115, allocations: 4 kB / 1.255 GB, free: 9.832 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.6115, allocations: 0 / 1.255 GB, free: 9.832 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.727e-06/0.6115, allocations: 3.938 kB / 1.255 GB, free: 9.828 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004631/0.6119, allocations: 459.7 kB / 1.255 GB, free: 9.375 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000377/0.6123, allocations: 202.5 kB / 1.255 GB, free: 9.145 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003625/0.6127, allocations: 0.6729 MB / 1.256 GB, free: 8.445 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.473e-05/0.6127, allocations: 11.38 kB / 1.256 GB, free: 8.434 MB / 0.9981 GB Notification: Performance of SimCode: time 5.31e-07/0.6127, allocations: 0 / 1.256 GB, free: 8.434 MB / 0.9981 GB Notification: Performance of Templates: time 0.004232/0.6169, allocations: 467.6 kB / 1.256 GB, free: 7.977 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & ./Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Experimental.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: 11.188584355870262]