Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.Average.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.001641/0.001641, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 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.001879/0.001879, allocations: 159.5 kB / 23.01 MB, free: 4.602 MB / 14.72 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.429/1.429, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 178] 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 2.905/2.905, allocations: 394.2 MB / 0.6386 GB, free: 11.94 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|average.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Average") translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|average.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Average") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002088/0.002088, allocations: 63.91 kB / 1.009 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8648/0.8669, allocations: 181.8 MB / 1.187 GB, free: 16.18 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.002957/0.8698, allocations: 1.555 MB / 1.188 GB, free: 15.11 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0004254/0.8702, allocations: 109.1 kB / 1.188 GB, free: 15.04 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.591e-05/0.8703, allocations: 5.594 kB / 1.188 GB, free: 15.04 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001272/0.8704, allocations: 9.844 kB / 1.188 GB, free: 15.03 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 2.734e-05/0.8705, allocations: 10.44 kB / 1.188 GB, free: 15.02 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002526/0.8707, allocations: 32.48 kB / 1.188 GB, free: 15.01 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001072/0.8708, allocations: 55.55 kB / 1.188 GB, free: 14.98 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.871, allocations: 19.38 kB / 1.188 GB, free: 14.98 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 6.364e-05/0.871, allocations: 27.05 kB / 1.188 GB, free: 14.96 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 7.706e-05/0.8711, allocations: 24.67 kB / 1.188 GB, free: 14.96 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.8711, allocations: 4.156 kB / 1.188 GB, free: 14.96 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 6.632e-05/0.8712, allocations: 13.83 kB / 1.188 GB, free: 14.95 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 4.863e-05/0.8712, allocations: 19.94 kB / 1.188 GB, free: 14.94 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.944e-05/0.8713, allocations: 28.2 kB / 1.188 GB, free: 14.92 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001631/0.8714, allocations: 65.09 kB / 1.189 GB, free: 14.89 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.8714, allocations: 0 / 1.189 GB, free: 14.89 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.243e-06/0.8714, allocations: 1.375 kB / 1.189 GB, free: 14.89 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.8714, allocations: 0 / 1.189 GB, free: 14.89 MB / 1.076 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.0004723/0.8719, allocations: 299.8 kB / 1.189 GB, free: 14.61 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.8719, allocations: 8.25 kB / 1.189 GB, free: 14.61 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.925e-05/0.872, allocations: 9.719 kB / 1.189 GB, free: 14.61 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.8721, allocations: 129.3 kB / 1.189 GB, free: 14.47 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.8721, allocations: 3.125 kB / 1.189 GB, free: 14.47 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.227e-05/0.8721, allocations: 3.125 kB / 1.189 GB, free: 14.47 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002935/0.8724, allocations: 94.52 kB / 1.189 GB, free: 14.42 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.8724, allocations: 192 / 1.189 GB, free: 14.42 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.8725, allocations: 3.938 kB / 1.189 GB, free: 14.41 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.8725, allocations: 1.531 kB / 1.189 GB, free: 14.41 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003439/0.8728, allocations: 84.23 kB / 1.189 GB, free: 14.4 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004687/0.8733, allocations: 263.8 kB / 1.189 GB, free: 14.17 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002083/0.8735, allocations: 53.39 kB / 1.189 GB, free: 14.14 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001654/0.8737, allocations: 47.27 kB / 1.189 GB, free: 14.12 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.332e-05/0.8737, allocations: 1.094 kB / 1.189 GB, free: 14.12 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.8737, allocations: 33.33 kB / 1.19 GB, free: 14.09 MB / 1.076 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.8737, allocations: 96 / 1.19 GB, free: 14.09 MB / 1.076 GB Notification: Performance of matching and sorting (n=3): time 0.0005761/0.8743, allocations: 135.2 kB / 1.19 GB, free: 14.04 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.508e-05/0.8743, allocations: 52.47 kB / 1.19 GB, free: 13.98 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.164e-05/0.8744, allocations: 120.8 kB / 1.19 GB, free: 13.87 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.907e-06/0.8744, allocations: 25.7 kB / 1.19 GB, free: 13.84 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.377e-05/0.8744, allocations: 97.2 kB / 1.19 GB, free: 13.74 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-05/0.8744, allocations: 14.88 kB / 1.19 GB, free: 13.73 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.383e-05/0.8745, allocations: 13.7 kB / 1.19 GB, free: 13.71 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.11e-05/0.8745, allocations: 322.7 kB / 1.19 GB, free: 13.39 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001727/0.8747, allocations: 31.81 kB / 1.19 GB, free: 13.39 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001499/0.8749, allocations: 38.23 kB / 1.19 GB, free: 13.38 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002963/0.8751, allocations: 79.53 kB / 1.19 GB, free: 13.36 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.8751, allocations: 0 / 1.19 GB, free: 13.36 MB / 1.076 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003446/0.8755, allocations: 102.5 kB / 1.19 GB, free: 13.32 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.8755, allocations: 10.64 kB / 1.191 GB, free: 13.31 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.8755, allocations: 3.938 kB / 1.191 GB, free: 13.31 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.8755, allocations: 0 / 1.191 GB, free: 13.31 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.8757, allocations: 16.11 kB / 1.191 GB, free: 13.31 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.8757, allocations: 1.125 kB / 1.191 GB, free: 13.31 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.183e-05/0.8757, allocations: 11.14 kB / 1.191 GB, free: 13.31 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.149e-05/0.8758, allocations: 1.906 kB / 1.191 GB, free: 13.31 MB / 1.076 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 5.636e-05/0.8758, allocations: 119.3 kB / 1.191 GB, free: 13.19 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.798e-05/0.8759, allocations: 14.39 kB / 1.191 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003864/0.8762, allocations: 115.5 kB / 1.191 GB, free: 13.12 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.8762, allocations: 4 kB / 1.191 GB, free: 13.11 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.8762, allocations: 1.281 kB / 1.191 GB, free: 13.11 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.8762, allocations: 0.75 kB / 1.191 GB, free: 13.11 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001281/0.8764, allocations: 126 kB / 1.191 GB, free: 12.98 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.8764, allocations: 0 / 1.191 GB, free: 12.98 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.8765, allocations: 19.5 kB / 1.191 GB, free: 12.97 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.8765, allocations: 1.828 kB / 1.191 GB, free: 12.97 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.8765, allocations: 0 / 1.191 GB, free: 12.97 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.8765, allocations: 2.125 kB / 1.191 GB, free: 12.97 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.8765, allocations: 0 / 1.191 GB, free: 12.97 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003638/0.8769, allocations: 207.3 kB / 1.191 GB, free: 12.82 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.034e-05/0.8769, allocations: 2.625 kB / 1.191 GB, free: 12.82 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.8769, allocations: 4.797 kB / 1.191 GB, free: 12.82 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.877, allocations: 12.36 kB / 1.191 GB, free: 12.82 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.686e-05/0.877, allocations: 7.922 kB / 1.191 GB, free: 12.81 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/0.8771, allocations: 1.312 kB / 1.191 GB, free: 12.81 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.444e-05/0.8771, allocations: 91.67 kB / 1.191 GB, free: 12.73 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.8771, allocations: 0 / 1.191 GB, free: 12.73 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002508/0.8773, allocations: 17.02 kB / 1.191 GB, free: 12.73 MB / 1.076 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.0001148/0.8775, allocations: 94.97 kB / 1.191 GB, free: 12.64 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003699/0.8778, allocations: 77.86 kB / 1.191 GB, free: 12.63 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.8778, allocations: 0 / 1.191 GB, free: 12.63 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001641/0.878, allocations: 45.33 kB / 1.191 GB, free: 12.62 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/0.8783, allocations: 8.141 kB / 1.191 GB, free: 12.61 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003639/0.8786, allocations: 148.8 kB / 1.192 GB, free: 12.48 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.437e-05/0.8787, allocations: 77.36 kB / 1.192 GB, free: 12.41 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 4.472e-05/0.8788, allocations: 6.156 kB / 1.192 GB, free: 12.41 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.898e-05/0.8788, allocations: 16.52 kB / 1.192 GB, free: 12.4 MB / 1.076 GB Notification: Performance of SimCode: time 5.21e-07/0.8788, allocations: 0 / 1.192 GB, free: 12.4 MB / 1.076 GB Notification: Performance of Templates: time 0.00368/0.8825, allocations: 0.8224 MB / 1.193 GB, free: 12.28 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Average.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Average.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Average.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Average.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Average.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.610142554040067]