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.00268/0.00268, allocations: 87.69 kB / 20.24 MB, free: 4.18 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.003129/0.003129, allocations: 157.3 kB / 23.54 MB, free: 0.875 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 1.62/1.62, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.07/3.07, allocations: 377.8 MB / 0.6232 GB, free: 8.496 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.314e-06/2.314e-06, allocations: 5.031 kB / 0.8108 GB, free: 2.09 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.611e-05/3.842e-05, allocations: 7.25 kB / 0.8108 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002717/0.002755, allocations: 1.267 MB / 0.812 GB, free: 0.8281 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002431/0.005187, allocations: 1.357 MB / 0.8134 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.044e-05/0.005207, allocations: 0 / 0.8134 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 1.68e-05/0.005224, allocations: 0 / 0.8134 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0008605/0.006084, allocations: 216.7 kB / 0.8136 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000109/0.006193, allocations: 31.89 kB / 0.8136 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 7.174e-05/0.006265, allocations: 19.92 kB / 0.8136 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 5.035e-05/0.006316, allocations: 5.031 kB / 0.8136 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 4.488e-05/0.00636, allocations: 7.984 kB / 0.8136 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3891/0.3955, allocations: 51.91 MB / 0.8643 GB, free: 15.8 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.572e-05/0.3955, allocations: 4 kB / 0.8643 GB, free: 15.79 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 1.233e-05/0.3955, allocations: 0 / 0.8643 GB, free: 15.79 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.91e-05/0.3955, allocations: 3.938 kB / 0.8643 GB, free: 15.79 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.367e-05/0.3956, allocations: 4 kB / 0.8643 GB, free: 15.79 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001348/0.3957, allocations: 15.97 kB / 0.8644 GB, free: 15.77 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.3957, allocations: 0 / 0.8644 GB, free: 15.77 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.244e-06/0.3957, allocations: 0 / 0.8644 GB, free: 15.77 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.3957, allocations: 0 / 0.8644 GB, free: 15.77 MB / 0.823 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.0004242/0.3961, allocations: 348.4 kB / 0.8647 GB, free: 15.39 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.3962, allocations: 16.03 kB / 0.8647 GB, free: 15.38 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001118/0.3963, allocations: 124.1 kB / 0.8648 GB, free: 15.26 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001902/0.3965, allocations: 227.8 kB / 0.865 GB, free: 15.01 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001245/0.3966, allocations: 238.8 kB / 0.8653 GB, free: 14.77 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000122/0.3967, allocations: 242.7 kB / 0.8655 GB, free: 14.54 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.3968, allocations: 145.5 kB / 0.8656 GB, free: 14.39 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.498e-05/0.3969, allocations: 123.4 kB / 0.8658 GB, free: 14.27 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001469/0.397, allocations: 246.5 kB / 0.866 GB, free: 14.02 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001306/0.3972, allocations: 242.4 kB / 0.8662 GB, free: 13.79 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.3973, allocations: 238.4 kB / 0.8664 GB, free: 13.55 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004574/0.3978, allocations: 0.5681 MB / 0.867 GB, free: 12.95 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002005/0.398, allocations: 273.4 kB / 0.8673 GB, free: 12.67 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.921e-05/0.398, allocations: 126.9 kB / 0.8674 GB, free: 12.54 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.731e-05/0.3981, allocations: 119.2 kB / 0.8675 GB, free: 12.42 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.668e-05/0.3982, allocations: 152.6 kB / 0.8676 GB, free: 12.26 MB / 0.823 GB Notification: Performance of pre-optimization done (n=0): time 6.91e-07/0.3982, allocations: 4 kB / 0.8676 GB, free: 12.26 MB / 0.823 GB Notification: Performance of matching and sorting (n=0): time 0.0001316/0.3983, allocations: 33.69 kB / 0.8677 GB, free: 12.22 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001659/0.3985, allocations: 255.6 kB / 0.8679 GB, free: 11.94 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.3987, allocations: 157.9 kB / 0.8681 GB, free: 11.77 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.3987, allocations: 25.7 kB / 0.8681 GB, free: 11.73 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 8.004e-05/0.3988, allocations: 134.9 kB / 0.8682 GB, free: 11.6 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.335e-06/0.3988, allocations: 3.938 kB / 0.8682 GB, free: 11.59 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-05/0.3988, allocations: 27.36 kB / 0.8683 GB, free: 11.56 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002629/0.3991, allocations: 492.1 kB / 0.8687 GB, free: 11.07 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.441e-06/0.3991, allocations: 0 / 0.8687 GB, free: 11.07 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001062/0.3992, allocations: 104.4 kB / 0.8688 GB, free: 10.93 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.583e-05/0.3993, allocations: 119.2 kB / 0.8689 GB, free: 10.82 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.098e-05/0.3993, allocations: 123.2 kB / 0.8691 GB, free: 10.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.535e-05/0.3994, allocations: 29.64 kB / 0.8691 GB, free: 10.66 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 7.995e-05/0.3995, allocations: 131.2 kB / 0.8692 GB, free: 10.53 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-05/0.3995, allocations: 119.2 kB / 0.8693 GB, free: 10.41 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000199/0.3997, allocations: 250.4 kB / 0.8696 GB, free: 10.17 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.126e-05/0.3998, allocations: 139.2 kB / 0.8697 GB, free: 10.03 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000127/0.3999, allocations: 238.4 kB / 0.8699 GB, free: 9.797 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.4001, allocations: 127.1 kB / 0.87 GB, free: 9.672 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.113e-05/0.4002, allocations: 119.2 kB / 0.8702 GB, free: 9.555 MB / 0.823 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.000245/0.4004, allocations: 402.9 kB / 0.8705 GB, free: 9.148 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.4005, allocations: 144.9 kB / 0.8707 GB, free: 9 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.632e-05/0.4006, allocations: 156 kB / 0.8708 GB, free: 8.844 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001454/0.4008, allocations: 264.1 kB / 0.8711 GB, free: 8.578 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001429/0.4009, allocations: 272 kB / 0.8713 GB, free: 8.305 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001443/0.4011, allocations: 276.1 kB / 0.8716 GB, free: 8.027 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000384/0.4014, allocations: 495.9 kB / 0.8721 GB, free: 7.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.981e-05/0.4015, allocations: 148.8 kB / 0.8722 GB, free: 7.348 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.903e-05/0.4016, allocations: 148.9 kB / 0.8724 GB, free: 7.195 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001866/0.4018, allocations: 268 kB / 0.8726 GB, free: 6.926 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001584/0.402, allocations: 272.1 kB / 0.8729 GB, free: 6.652 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002705/0.4022, allocations: 268 kB / 0.8731 GB, free: 6.383 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001354/0.4024, allocations: 268.1 kB / 0.8734 GB, free: 6.113 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002851/0.4027, allocations: 451.9 kB / 0.8738 GB, free: 5.645 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.447e-05/0.4027, allocations: 152.8 kB / 0.874 GB, free: 5.488 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001584/0.4029, allocations: 272 kB / 0.8742 GB, free: 5.215 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001707/0.4031, allocations: 156.9 kB / 0.8744 GB, free: 5.055 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/0.4032, allocations: 268.3 kB / 0.8746 GB, free: 4.785 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.916e-05/0.4033, allocations: 148.8 kB / 0.8748 GB, free: 4.633 MB / 0.823 GB Notification: Performance of sorting global known variables: time 8.335e-05/0.4034, allocations: 123.2 kB / 0.8749 GB, free: 4.512 MB / 0.823 GB Notification: Performance of sort global known variables: time 7e-08/0.4034, allocations: 0 / 0.8749 GB, free: 4.512 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003019/0.4037, allocations: 11.94 kB / 0.8749 GB, free: 4.5 MB / 0.823 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.0002031/0.4039, allocations: 218.4 kB / 0.8751 GB, free: 4.277 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 6.191e-05/0.404, allocations: 4.031 kB / 0.8751 GB, free: 4.273 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.404, allocations: 0 / 0.8751 GB, free: 4.273 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 2.154e-06/0.404, allocations: 4 kB / 0.8751 GB, free: 4.27 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005843/0.4045, allocations: 0.71 MB / 0.8758 GB, free: 3.555 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003595/0.4049, allocations: 213.7 kB / 0.876 GB, free: 3.316 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.777e-05/0.405, allocations: 63.2 kB / 0.8761 GB, free: 3.234 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 2.931e-05/0.405, allocations: 0 / 0.8761 GB, free: 3.234 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.028e-05/0.405, allocations: 8.5 kB / 0.8761 GB, free: 3.227 MB / 0.823 GB Notification: Performance of SimCode: time 1.052e-06/0.405, allocations: 0 / 0.8761 GB, free: 3.227 MB / 0.823 GB Notification: Performance of Templates: time 0.003362/0.4084, allocations: 0.5694 MB / 0.8766 GB, free: 2.66 MB / 0.823 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) [Timeout 240] 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/jenkins/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: 8.777585099916905]