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.001404/0.001404, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.001528/0.001528, allocations: 193.8 kB / 22.17 MB, free: 5.656 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.468/1.468, allocations: 225.6 MB / 250.9 MB, free: 13.29 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.256/3.256, allocations: 497.2 MB / 0.7845 GB, free: 33.63 MB / 0.6231 GB " [Timeout remaining time 176] 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.001991/0.001991, allocations: 70.11 kB / 1.139 GB, free: 33.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3497/0.3517, allocations: 173.9 MB / 1.309 GB, free: 16 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002652/0.3544, allocations: 1.239 MB / 1.31 GB, free: 14.74 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002329/0.3567, allocations: 1.348 MB / 1.312 GB, free: 13.39 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.132e-05/0.3567, allocations: 4 kB / 1.312 GB, free: 13.38 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.953e-05/0.3567, allocations: 0 / 1.312 GB, free: 13.38 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0007658/0.3575, allocations: 203.3 kB / 1.312 GB, free: 13.18 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001105/0.3576, allocations: 35.94 kB / 1.312 GB, free: 13.15 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.774e-05/0.3577, allocations: 19.88 kB / 1.312 GB, free: 13.13 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.231e-05/0.3577, allocations: 4 kB / 1.312 GB, free: 13.12 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.691e-05/0.3577, allocations: 7.984 kB / 1.312 GB, free: 13.12 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2533/0.6111, allocations: 31.04 MB / 1.342 GB, free: 0.793 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.038e-05/0.6111, allocations: 4 kB / 1.342 GB, free: 0.7891 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.042e-05/0.6111, allocations: 0 / 1.342 GB, free: 0.7891 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.582e-05/0.6111, allocations: 0 / 1.342 GB, free: 0.7891 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.829e-05/0.6112, allocations: 15.92 kB / 1.342 GB, free: 0.7734 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001218/0.6113, allocations: 7.984 kB / 1.342 GB, free: 0.7656 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.6113, allocations: 0 / 1.342 GB, free: 0.7656 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.713e-06/0.6113, allocations: 3.938 kB / 1.342 GB, free: 0.7617 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.6113, allocations: 7.938 kB / 1.342 GB, free: 0.7539 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.0003694/0.6117, allocations: 323.5 kB / 1.343 GB, free: 400 kB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.6117, allocations: 12.03 kB / 1.343 GB, free: 388 kB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.399e-05/0.6118, allocations: 80.22 kB / 1.343 GB, free: 308 kB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/0.612, allocations: 235.7 kB / 1.343 GB, free: 32 kB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.502e-05/0.612, allocations: 150.9 kB / 1.343 GB, free: 15.88 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.673e-05/0.6121, allocations: 154.9 kB / 1.343 GB, free: 15.73 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.258e-05/0.6122, allocations: 105.1 kB / 1.343 GB, free: 15.62 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.378e-05/0.6122, allocations: 75.28 kB / 1.343 GB, free: 15.55 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.768e-05/0.6123, allocations: 154.6 kB / 1.344 GB, free: 15.39 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.057e-05/0.6124, allocations: 154.5 kB / 1.344 GB, free: 15.24 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7e-05/0.6124, allocations: 162.5 kB / 1.344 GB, free: 15.08 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003381/0.6128, allocations: 445.9 kB / 1.344 GB, free: 14.6 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/0.6129, allocations: 173.1 kB / 1.345 GB, free: 14.42 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.974e-05/0.6129, allocations: 80.14 kB / 1.345 GB, free: 14.34 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 5.26e-05/0.613, allocations: 75.28 kB / 1.345 GB, free: 14.26 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.322e-05/0.613, allocations: 117.7 kB / 1.345 GB, free: 14.14 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.613, allocations: 0 / 1.345 GB, free: 14.14 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 7.747e-05/0.6131, allocations: 33.69 kB / 1.345 GB, free: 14.1 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001187/0.6132, allocations: 207.8 kB / 1.345 GB, free: 13.86 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.6133, allocations: 97.86 kB / 1.345 GB, free: 13.76 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.6134, allocations: 33.64 kB / 1.345 GB, free: 13.72 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.366e-05/0.6134, allocations: 80.14 kB / 1.345 GB, free: 13.64 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.383e-06/0.6134, allocations: 0 / 1.345 GB, free: 13.64 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.163e-05/0.6134, allocations: 17.7 kB / 1.345 GB, free: 13.61 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.6136, allocations: 314.8 kB / 1.346 GB, free: 13.3 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.669e-06/0.6136, allocations: 4 kB / 1.346 GB, free: 13.29 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.906e-05/0.6136, allocations: 18.58 kB / 1.346 GB, free: 13.27 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.389e-05/0.6137, allocations: 75.28 kB / 1.346 GB, free: 13.19 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.087e-05/0.6137, allocations: 79.22 kB / 1.346 GB, free: 13.11 MB / 1.045 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.609e-05/0.6137, allocations: 37.62 kB / 1.346 GB, free: 13.07 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.367e-05/0.6138, allocations: 79.28 kB / 1.346 GB, free: 12.99 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-05/0.6138, allocations: 79.28 kB / 1.346 GB, free: 12.91 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.672e-05/0.6139, allocations: 158.5 kB / 1.346 GB, free: 12.76 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.234e-05/0.6139, allocations: 79.28 kB / 1.346 GB, free: 12.68 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.887e-05/0.614, allocations: 154.5 kB / 1.346 GB, free: 12.53 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001755/0.6142, allocations: 83.27 kB / 1.346 GB, free: 12.45 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.562e-05/0.6142, allocations: 75.28 kB / 1.346 GB, free: 12.37 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.000145/0.6144, allocations: 264.4 kB / 1.347 GB, free: 12.1 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.359e-05/0.6144, allocations: 112.9 kB / 1.347 GB, free: 11.98 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.208e-05/0.6145, allocations: 108.1 kB / 1.347 GB, free: 11.87 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.97e-05/0.6146, allocations: 188.1 kB / 1.347 GB, free: 11.68 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.011e-05/0.6147, allocations: 180.3 kB / 1.347 GB, free: 11.5 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.294e-05/0.6147, allocations: 176.3 kB / 1.347 GB, free: 11.32 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002693/0.615, allocations: 413.2 kB / 1.348 GB, free: 10.86 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.535e-05/0.6151, allocations: 105 kB / 1.348 GB, free: 10.75 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.57e-05/0.6151, allocations: 112.9 kB / 1.348 GB, free: 10.63 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.276e-05/0.6152, allocations: 176.3 kB / 1.348 GB, free: 10.45 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.932e-05/0.6153, allocations: 176.3 kB / 1.348 GB, free: 10.27 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.759e-05/0.6154, allocations: 192.2 kB / 1.349 GB, free: 10.07 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.754e-05/0.6154, allocations: 180.3 kB / 1.349 GB, free: 9.891 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001701/0.6156, allocations: 303.7 kB / 1.349 GB, free: 9.57 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 9.88e-05/0.6157, allocations: 190 kB / 1.349 GB, free: 9.359 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.611e-05/0.6158, allocations: 180.2 kB / 1.349 GB, free: 9.176 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/0.6159, allocations: 109 kB / 1.349 GB, free: 9.062 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.502e-05/0.616, allocations: 180.2 kB / 1.35 GB, free: 8.879 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.444e-05/0.6161, allocations: 109 kB / 1.35 GB, free: 8.766 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.789e-05/0.6161, allocations: 83.22 kB / 1.35 GB, free: 8.684 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.6161, allocations: 0 / 1.35 GB, free: 8.684 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002729/0.6164, allocations: 4 kB / 1.35 GB, free: 8.68 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.6166, allocations: 174.5 kB / 1.35 GB, free: 8.5 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 5.697e-05/0.6166, allocations: 7.938 kB / 1.35 GB, free: 8.492 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.6166, allocations: 0 / 1.35 GB, free: 8.492 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.303e-06/0.6166, allocations: 0 / 1.35 GB, free: 8.492 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004364/0.6171, allocations: 459.7 kB / 1.35 GB, free: 8.039 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002939/0.6174, allocations: 180.7 kB / 1.351 GB, free: 7.836 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/0.6177, allocations: 0.669 MB / 1.351 GB, free: 7.141 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.149e-05/0.6177, allocations: 4.375 kB / 1.351 GB, free: 7.137 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.304e-05/0.6177, allocations: 7.438 kB / 1.351 GB, free: 7.129 MB / 1.045 GB Notification: Performance of SimCode: time 7.12e-07/0.6177, allocations: 0 / 1.351 GB, free: 7.129 MB / 1.045 GB Notification: Performance of Templates: time 0.004358/0.6221, allocations: 0.5005 MB / 1.352 GB, free: 6.629 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 cvode -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: 9.108851589262486]