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.0009129/0.0009129, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008697/0.0008697, allocations: 178.2 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.8871/0.8871, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 1.698/1.698, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.634e-05/2.782e-05, allocations: 2.281 kB / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.001672/0.0017, allocations: 1.251 MB / 1.002 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001403/0.003102, allocations: 1.327 MB / 1.003 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.508e-05/0.003127, allocations: 0 / 1.003 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.335e-05/0.003151, allocations: 4 kB / 1.003 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0006536/0.003804, allocations: 227.1 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 7.057e-05/0.003875, allocations: 46.14 kB / 1.004 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 5.349e-05/0.003928, allocations: 8 kB / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.419e-05/0.003973, allocations: 7.922 kB / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.086e-05/0.004013, allocations: 11.98 kB / 1.004 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.08287/0.08688, allocations: 31.11 MB / 1.034 GB, free: 13.84 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 2.471e-05/0.08691, allocations: 0 / 1.034 GB, free: 13.84 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 1.31e-05/0.08692, allocations: 0 / 1.034 GB, free: 13.84 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 1.359e-05/0.08694, allocations: 0 / 1.034 GB, free: 13.84 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 3.185e-05/0.08697, allocations: 11.98 kB / 1.034 GB, free: 13.83 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001431/0.08711, allocations: 7.984 kB / 1.034 GB, free: 13.82 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.08712, allocations: 4 kB / 1.034 GB, free: 13.82 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.335e-06/0.08712, allocations: 0 / 1.034 GB, free: 13.82 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.08712, allocations: 4 kB / 1.034 GB, free: 13.81 MB / 0.9948 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.0002645/0.08739, allocations: 250.4 kB / 1.034 GB, free: 13.54 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.08743, allocations: 9.344 kB / 1.034 GB, free: 13.53 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.621e-05/0.08749, allocations: 76.22 kB / 1.034 GB, free: 13.46 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.563e-05/0.08758, allocations: 189 kB / 1.035 GB, free: 13.25 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.657e-05/0.08762, allocations: 150.9 kB / 1.035 GB, free: 13.1 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.397e-05/0.08765, allocations: 154.9 kB / 1.035 GB, free: 12.95 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.465e-05/0.08771, allocations: 109.5 kB / 1.035 GB, free: 12.83 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.017e-05/0.08773, allocations: 79.45 kB / 1.035 GB, free: 12.75 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.557e-05/0.08777, allocations: 154.7 kB / 1.035 GB, free: 12.6 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.28e-05/0.08781, allocations: 154.6 kB / 1.035 GB, free: 12.45 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.78e-05/0.08784, allocations: 154.6 kB / 1.036 GB, free: 12.3 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001806/0.08803, allocations: 393.6 kB / 1.036 GB, free: 11.88 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.015e-05/0.0881, allocations: 173.1 kB / 1.036 GB, free: 11.7 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.651e-05/0.08812, allocations: 80.14 kB / 1.036 GB, free: 11.62 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.08814, allocations: 75.28 kB / 1.036 GB, free: 11.55 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.08818, allocations: 113.8 kB / 1.036 GB, free: 11.43 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.08818, allocations: 0 / 1.036 GB, free: 11.43 MB / 0.9948 GB Notification: Performance of matching and sorting (n=0): time 5.883e-05/0.08824, allocations: 25.7 kB / 1.036 GB, free: 11.39 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.809e-05/0.08832, allocations: 219.7 kB / 1.037 GB, free: 11.15 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.16e-05/0.0884, allocations: 93.86 kB / 1.037 GB, free: 11.05 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 9.377e-06/0.08841, allocations: 29.7 kB / 1.037 GB, free: 11.01 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 3.213e-05/0.08844, allocations: 84.12 kB / 1.037 GB, free: 10.93 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 1.624e-06/0.08844, allocations: 0 / 1.037 GB, free: 10.93 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.054e-05/0.08847, allocations: 17.72 kB / 1.037 GB, free: 10.9 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 7.7e-05/0.08854, allocations: 310.8 kB / 1.037 GB, free: 10.59 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.739e-06/0.08855, allocations: 0 / 1.037 GB, free: 10.59 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.403e-05/0.08859, allocations: 95.69 kB / 1.037 GB, free: 10.47 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.786e-05/0.08862, allocations: 87.2 kB / 1.037 GB, free: 10.38 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.888e-05/0.08864, allocations: 75.28 kB / 1.037 GB, free: 10.31 MB / 0.9948 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.276e-05/0.08867, allocations: 33.7 kB / 1.037 GB, free: 10.27 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/0.0887, allocations: 83.28 kB / 1.037 GB, free: 10.19 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.86e-05/0.08872, allocations: 79.22 kB / 1.037 GB, free: 10.11 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.267e-05/0.08877, allocations: 154.6 kB / 1.038 GB, free: 9.957 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.891e-05/0.08879, allocations: 83.16 kB / 1.038 GB, free: 9.875 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.264e-05/0.08882, allocations: 150.6 kB / 1.038 GB, free: 9.727 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.487e-05/0.08891, allocations: 83.31 kB / 1.038 GB, free: 9.645 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.896e-05/0.08893, allocations: 83.22 kB / 1.038 GB, free: 9.562 MB / 0.9948 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 8.096e-05/0.08901, allocations: 264.4 kB / 1.038 GB, free: 9.293 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.272e-05/0.08905, allocations: 105 kB / 1.038 GB, free: 9.184 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.609e-05/0.08908, allocations: 116 kB / 1.038 GB, free: 9.059 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.736e-05/0.08914, allocations: 180.3 kB / 1.039 GB, free: 8.875 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.91e-05/0.08918, allocations: 184.2 kB / 1.039 GB, free: 8.688 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.686e-05/0.08922, allocations: 188.2 kB / 1.039 GB, free: 8.496 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001199/0.08934, allocations: 352.9 kB / 1.039 GB, free: 8.113 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.296e-05/0.08936, allocations: 104.9 kB / 1.039 GB, free: 8.004 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.305e-05/0.08938, allocations: 101 kB / 1.04 GB, free: 7.898 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.84e-05/0.08942, allocations: 188.2 kB / 1.04 GB, free: 7.707 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.002e-05/0.08946, allocations: 176.3 kB / 1.04 GB, free: 7.527 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.668e-05/0.0895, allocations: 180.3 kB / 1.04 GB, free: 7.344 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.766e-05/0.08953, allocations: 184.2 kB / 1.04 GB, free: 7.156 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001288/0.08966, allocations: 311.7 kB / 1.041 GB, free: 6.828 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.873e-05/0.08969, allocations: 113.4 kB / 1.041 GB, free: 6.711 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.928e-05/0.08974, allocations: 180.2 kB / 1.041 GB, free: 6.527 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.512e-05/0.08981, allocations: 108.9 kB / 1.041 GB, free: 6.414 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.774e-05/0.08985, allocations: 180.2 kB / 1.041 GB, free: 6.23 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.56e-05/0.08988, allocations: 112.9 kB / 1.041 GB, free: 6.113 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 2.758e-05/0.08991, allocations: 83.5 kB / 1.041 GB, free: 6.031 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.08991, allocations: 0 / 1.041 GB, free: 6.031 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001558/0.09006, allocations: 4 kB / 1.041 GB, free: 6.027 MB / 0.9948 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.0001108/0.09017, allocations: 174.5 kB / 1.041 GB, free: 5.848 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 4.542e-05/0.09022, allocations: 0 / 1.041 GB, free: 5.848 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.09022, allocations: 0 / 1.041 GB, free: 5.848 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 9.92e-07/0.09022, allocations: 4 kB / 1.041 GB, free: 5.844 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002467/0.09047, allocations: 461.8 kB / 1.042 GB, free: 5.391 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002279/0.0907, allocations: 193.7 kB / 1.042 GB, free: 5.168 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.806e-05/0.09074, allocations: 55.36 kB / 1.042 GB, free: 5.094 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.33e-05/0.09075, allocations: 8.641 kB / 1.042 GB, free: 5.086 MB / 0.9948 GB Notification: Performance of SimCode: time 4.91e-07/0.09075, allocations: 0 / 1.042 GB, free: 5.086 MB / 0.9948 GB Notification: Performance of Templates: time 0.001364/0.09211, allocations: 487.4 kB / 1.043 GB, free: 4.609 MB / 0.9948 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=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: 6.840389655902982]