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.001284/0.001284, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001367/0.001367, allocations: 210.3 kB / 23.01 MB, free: 4.566 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.412/1.412, allocations: 230.6 MB / 256.8 MB, free: 7.98 MB / 206.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 3.224/3.224, allocations: 0.505 GB / 0.8108 GB, free: 22.02 MB / 0.6231 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.002076/0.002076, allocations: 66.56 kB / 1.178 GB, free: 16.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3574/0.3595, allocations: 180.2 MB / 1.354 GB, free: 7.93 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.002815/0.3623, allocations: 1.566 MB / 1.356 GB, free: 6.355 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0003388/0.3626, allocations: 115.6 kB / 1.356 GB, free: 6.242 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.345e-05/0.3627, allocations: 0 / 1.356 GB, free: 6.242 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001397/0.3628, allocations: 7.875 kB / 1.356 GB, free: 6.234 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 2.585e-05/0.3628, allocations: 7.922 kB / 1.356 GB, free: 6.227 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002522/0.3631, allocations: 39.95 kB / 1.356 GB, free: 6.188 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001007/0.3632, allocations: 55.78 kB / 1.356 GB, free: 6.133 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.514e-05/0.3633, allocations: 19.98 kB / 1.356 GB, free: 6.113 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.297e-05/0.3633, allocations: 23.91 kB / 1.356 GB, free: 6.09 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.099e-05/0.3634, allocations: 31.91 kB / 1.356 GB, free: 6.059 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.3634, allocations: 4 kB / 1.356 GB, free: 6.055 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.427e-05/0.3635, allocations: 12 kB / 1.356 GB, free: 6.043 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.267e-05/0.3635, allocations: 15.92 kB / 1.356 GB, free: 6.027 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.856e-05/0.3635, allocations: 23.86 kB / 1.356 GB, free: 6.004 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000119/0.3636, allocations: 63.67 kB / 1.356 GB, free: 5.941 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.3636, allocations: 7.938 kB / 1.356 GB, free: 5.934 MB / 1.045 GB Notification: Performance of FrontEnd: time 8.02e-07/0.3636, allocations: 4 kB / 1.356 GB, free: 5.93 MB / 1.045 GB Notification: Performance of Transformations before backend: time 3.306e-06/0.3636, allocations: 0 / 1.356 GB, free: 5.93 MB / 1.045 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.0004669/0.3641, allocations: 310 kB / 1.356 GB, free: 5.594 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 2.564e-05/0.3641, allocations: 8.031 kB / 1.356 GB, free: 5.586 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.659e-05/0.3642, allocations: 12.88 kB / 1.356 GB, free: 5.574 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/0.3643, allocations: 122.4 kB / 1.356 GB, free: 5.43 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/0.3643, allocations: 8.375 kB / 1.356 GB, free: 5.422 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.334e-06/0.3643, allocations: 384 / 1.356 GB, free: 5.422 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002418/0.3646, allocations: 94.14 kB / 1.357 GB, free: 5.324 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.991e-06/0.3646, allocations: 192 / 1.357 GB, free: 5.324 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.3646, allocations: 3.938 kB / 1.357 GB, free: 5.32 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.575e-06/0.3646, allocations: 0 / 1.357 GB, free: 5.32 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002897/0.3649, allocations: 83.91 kB / 1.357 GB, free: 5.238 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00047/0.3654, allocations: 291.8 kB / 1.357 GB, free: 4.91 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001944/0.3656, allocations: 58.53 kB / 1.357 GB, free: 4.844 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000143/0.3657, allocations: 40.92 kB / 1.357 GB, free: 4.801 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.324e-05/0.3657, allocations: 7.984 kB / 1.357 GB, free: 4.793 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/0.3657, allocations: 30.56 kB / 1.357 GB, free: 4.754 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.3658, allocations: 0 / 1.357 GB, free: 4.754 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0005023/0.3663, allocations: 149.5 kB / 1.357 GB, free: 4.602 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/0.3663, allocations: 51.41 kB / 1.357 GB, free: 4.539 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.675e-05/0.3664, allocations: 117.8 kB / 1.357 GB, free: 4.414 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.3664, allocations: 29.7 kB / 1.357 GB, free: 4.379 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.011e-05/0.3665, allocations: 92.08 kB / 1.357 GB, free: 4.285 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.928e-05/0.3665, allocations: 11.89 kB / 1.357 GB, free: 4.273 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.178e-05/0.3665, allocations: 13.72 kB / 1.357 GB, free: 4.254 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.3666, allocations: 322.8 kB / 1.358 GB, free: 3.93 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.3668, allocations: 35.97 kB / 1.358 GB, free: 3.895 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.3669, allocations: 31.95 kB / 1.358 GB, free: 3.863 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002588/0.3672, allocations: 80.72 kB / 1.358 GB, free: 3.781 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.3672, allocations: 4 kB / 1.358 GB, free: 3.777 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003101/0.3675, allocations: 101.6 kB / 1.358 GB, free: 3.672 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.3675, allocations: 8 kB / 1.358 GB, free: 3.664 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.935e-06/0.3675, allocations: 0 / 1.358 GB, free: 3.664 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.3675, allocations: 0 / 1.358 GB, free: 3.664 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.3676, allocations: 15.98 kB / 1.358 GB, free: 3.648 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.446e-06/0.3676, allocations: 0 / 1.358 GB, free: 3.648 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.13e-05/0.3677, allocations: 11.98 kB / 1.358 GB, free: 3.637 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.3677, allocations: 4 kB / 1.358 GB, free: 3.633 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 (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 8.899e-05/0.3678, allocations: 126.4 kB / 1.358 GB, free: 3.5 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.559e-05/0.3678, allocations: 3.953 kB / 1.358 GB, free: 3.496 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003681/0.3682, allocations: 125.9 kB / 1.358 GB, free: 3.363 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.3682, allocations: 4.031 kB / 1.358 GB, free: 3.359 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.3682, allocations: 0 / 1.358 GB, free: 3.359 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.3682, allocations: 3.984 kB / 1.358 GB, free: 3.355 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000185/0.3684, allocations: 156.7 kB / 1.358 GB, free: 3.16 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.3684, allocations: 3.984 kB / 1.358 GB, free: 3.156 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.86e-05/0.3685, allocations: 11.98 kB / 1.359 GB, free: 3.145 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3685, allocations: 0 / 1.359 GB, free: 3.145 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.952e-06/0.3685, allocations: 4 kB / 1.359 GB, free: 3.141 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3685, allocations: 0 / 1.359 GB, free: 3.141 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3685, allocations: 7.938 kB / 1.359 GB, free: 3.133 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003564/0.3688, allocations: 203.3 kB / 1.359 GB, free: 2.918 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 8.837e-06/0.3689, allocations: 3.953 kB / 1.359 GB, free: 2.914 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.3689, allocations: 4 kB / 1.359 GB, free: 2.91 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.369, allocations: 11.98 kB / 1.359 GB, free: 2.898 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.548e-05/0.369, allocations: 11.98 kB / 1.359 GB, free: 2.887 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.369, allocations: 0 / 1.359 GB, free: 2.887 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.503e-05/0.3691, allocations: 95.64 kB / 1.359 GB, free: 2.793 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3691, allocations: 0 / 1.359 GB, free: 2.793 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.00022/0.3693, allocations: 12 kB / 1.359 GB, free: 2.781 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 (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.0001329/0.3694, allocations: 95.19 kB / 1.359 GB, free: 2.68 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003342/0.3698, allocations: 83.91 kB / 1.359 GB, free: 2.598 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.3698, allocations: 3.938 kB / 1.359 GB, free: 2.594 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001444/0.3699, allocations: 39.91 kB / 1.359 GB, free: 2.555 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002844/0.3702, allocations: 5.703 kB / 1.359 GB, free: 2.551 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003623/0.3706, allocations: 187.6 kB / 1.359 GB, free: 2.336 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003379/0.3709, allocations: 0.6885 MB / 1.36 GB, free: 1.621 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.357e-05/0.3709, allocations: 11.44 kB / 1.36 GB, free: 1.609 MB / 1.045 GB Notification: Performance of SimCode: time 3.01e-07/0.3709, allocations: 0 / 1.36 GB, free: 1.609 MB / 1.045 GB Notification: Performance of Templates: time 0.002423/0.3734, allocations: 0.93 MB / 1.361 GB, free: 0.6797 MB / 1.045 GB " [Timeout remaining time 300] 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 -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: 11.181843600003049]