Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.Average.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.001923/0.001923, 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.002503/0.002503, allocations: 197.3 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.477/1.477, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.891/2.891, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|average.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Average") translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|average.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Average") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002084/0.002084, allocations: 71.88 kB / 1.109 GB, free: 6.535 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8663/0.8684, allocations: 168.7 MB / 1.274 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.00308/0.8714, allocations: 1.559 MB / 1.276 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00037/0.8718, allocations: 119.7 kB / 1.276 GB, free: 2.867 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.256e-05/0.8719, allocations: 0 / 1.276 GB, free: 2.867 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001252/0.872, allocations: 11.88 kB / 1.276 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 2.784e-05/0.872, allocations: 7.922 kB / 1.276 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002439/0.8723, allocations: 27.95 kB / 1.276 GB, free: 2.82 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001154/0.8724, allocations: 51.84 kB / 1.276 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.8725, allocations: 19.92 kB / 1.276 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.783e-05/0.8726, allocations: 23.92 kB / 1.276 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.372e-05/0.8726, allocations: 31.91 kB / 1.276 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.78e-05/0.8727, allocations: 4 kB / 1.276 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.045e-05/0.8727, allocations: 19.97 kB / 1.276 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.929e-05/0.8728, allocations: 11.94 kB / 1.276 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.309e-05/0.8728, allocations: 27.86 kB / 1.276 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001517/0.873, allocations: 62.36 kB / 1.276 GB, free: 2.574 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.873, allocations: 0 / 1.276 GB, free: 2.574 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.573e-06/0.873, allocations: 0 / 1.276 GB, free: 2.574 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.127e-05/0.873, allocations: 0 / 1.276 GB, free: 2.574 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000662/0.8736, allocations: 383.2 kB / 1.276 GB, free: 2.148 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.8737, allocations: 12.03 kB / 1.276 GB, free: 2.137 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.078e-05/0.8737, allocations: 4.891 kB / 1.276 GB, free: 2.133 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002125/0.8739, allocations: 192.2 kB / 1.277 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.8739, allocations: 4.375 kB / 1.277 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.874, allocations: 384 / 1.277 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003456/0.8743, allocations: 94.08 kB / 1.277 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.445e-06/0.8743, allocations: 192 / 1.277 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.8743, allocations: 7.938 kB / 1.277 GB, free: 1.797 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.8743, allocations: 7.984 kB / 1.277 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003356/0.8747, allocations: 79.91 kB / 1.277 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000598/0.8753, allocations: 328.7 kB / 1.277 GB, free: 1.34 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002159/0.8755, allocations: 54.53 kB / 1.277 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001681/0.8757, allocations: 36.92 kB / 1.277 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.098e-05/0.8757, allocations: 7.984 kB / 1.277 GB, free: 1.23 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/0.8757, allocations: 38.56 kB / 1.277 GB, free: 1.184 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.8757, allocations: 0 / 1.277 GB, free: 1.184 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0006001/0.8763, allocations: 133.6 kB / 1.277 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/0.8764, allocations: 51.41 kB / 1.277 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.8765, allocations: 121.8 kB / 1.277 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.8765, allocations: 29.7 kB / 1.277 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.489e-05/0.8766, allocations: 100 kB / 1.278 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.231e-05/0.8766, allocations: 7.953 kB / 1.278 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.8767, allocations: 13.72 kB / 1.278 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.8768, allocations: 326.7 kB / 1.278 GB, free: 372 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001571/0.877, allocations: 31.97 kB / 1.278 GB, free: 340 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001521/0.8771, allocations: 35.95 kB / 1.278 GB, free: 304 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003205/0.8775, allocations: 72.78 kB / 1.278 GB, free: 228 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.8775, allocations: 0 / 1.278 GB, free: 228 kB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004157/0.8779, allocations: 117.5 kB / 1.278 GB, free: 104 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.8779, allocations: 4 kB / 1.278 GB, free: 100 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.8779, allocations: 0 / 1.278 GB, free: 100 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.8779, allocations: 0 / 1.278 GB, free: 100 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.878, allocations: 19.98 kB / 1.278 GB, free: 80 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.878, allocations: 0 / 1.278 GB, free: 80 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.293e-05/0.8781, allocations: 11.98 kB / 1.278 GB, free: 68 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/0.8781, allocations: 0 / 1.278 GB, free: 68 kB / 0.9669 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 (3): * Single equations (assignments): 3 * 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.0001235/0.8783, allocations: 125.8 kB / 1.278 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.287e-05/0.8783, allocations: 7.953 kB / 1.278 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004026/0.8787, allocations: 109.5 kB / 1.278 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.8787, allocations: 0 / 1.278 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.8787, allocations: 0 / 1.278 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.8787, allocations: 7.984 kB / 1.278 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002118/0.8789, allocations: 181.6 kB / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.8789, allocations: 0 / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001013/0.879, allocations: 11.98 kB / 1.279 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.879, allocations: 7.938 kB / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.834e-06/0.879, allocations: 0 / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.879, allocations: 0 / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.879, allocations: 384 / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004214/0.8795, allocations: 215.3 kB / 1.279 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.641e-05/0.8795, allocations: 77.11 kB / 1.279 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.076e-05/0.8795, allocations: 8 kB / 1.279 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.8797, allocations: 7.984 kB / 1.279 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.109e-05/0.8797, allocations: 7.984 kB / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.8797, allocations: 0 / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.025e-05/0.8798, allocations: 91.27 kB / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8798, allocations: 7.938 kB / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002412/0.88, allocations: 15.94 kB / 1.279 GB, free: 15.1 MB / 0.9825 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 (3): * Single equations (assignments): 3 * 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.0002056/0.8802, allocations: 103.7 kB / 1.279 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003829/0.8806, allocations: 75.91 kB / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.8806, allocations: 0 / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001715/0.8808, allocations: 43.91 kB / 1.279 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003307/0.8811, allocations: 5.875 kB / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004042/0.8815, allocations: 169.3 kB / 1.279 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003882/0.8819, allocations: 0.6885 MB / 1.28 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.811e-05/0.8819, allocations: 12 kB / 1.28 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.725e-05/0.882, allocations: 7.438 kB / 1.28 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of SimCode: time 3.91e-07/0.882, allocations: 0 / 1.28 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of Templates: time 0.003631/0.8856, allocations: 0.7842 MB / 1.281 GB, free: 13.16 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.Average.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Average.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Average.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Average.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Average.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.Average.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.799030796159059]