Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001345/0.001345, allocations: 79.52 kB / 19.18 MB, free: 2.516 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.001471/0.001471, allocations: 163 kB / 22.46 MB, free: 5.375 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.465/1.465, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 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 2.852/2.852, allocations: 377.8 MB / 0.6221 GB, free: 12.57 MB / 0.5919 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.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|average.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Average") translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|average.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Average") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 0.9814 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.551e-05/2.734e-05, allocations: 6.281 kB / 0.9814 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.002683/0.002711, allocations: 1.548 MB / 0.9829 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0003205/0.003031, allocations: 123.5 kB / 0.9831 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.179e-05/0.003083, allocations: 0 / 0.9831 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001148/0.003198, allocations: 7.875 kB / 0.9831 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 2.819e-05/0.003226, allocations: 11.94 kB / 0.9831 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002448/0.003471, allocations: 35.88 kB / 0.9831 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001104/0.003581, allocations: 51.84 kB / 0.9832 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.003687, allocations: 15.98 kB / 0.9832 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.213e-05/0.003769, allocations: 39.89 kB / 0.9832 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.243e-05/0.003831, allocations: 23.92 kB / 0.9832 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.124e-05/0.003853, allocations: 4 kB / 0.9832 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 5.946e-05/0.003912, allocations: 11.98 kB / 0.9833 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.507e-05/0.003957, allocations: 15.92 kB / 0.9833 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.473e-05/0.003992, allocations: 19.94 kB / 0.9833 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001414/0.004133, allocations: 63.84 kB / 0.9834 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.004136, allocations: 3.938 kB / 0.9834 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of FrontEnd: time 7.31e-07/0.004137, allocations: 0 / 0.9834 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.067e-06/0.004141, allocations: 0 / 0.9834 GB, free: 9.973 MB / 0.9356 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.0005335/0.004674, allocations: 302.1 kB / 0.9836 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.004717, allocations: 8.031 kB / 0.9837 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.786e-05/0.004755, allocations: 8.891 kB / 0.9837 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001736/0.004929, allocations: 129.7 kB / 0.9838 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.00494, allocations: 8.375 kB / 0.9838 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.00495, allocations: 384 / 0.9838 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002911/0.005241, allocations: 90.19 kB / 0.9839 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.00525, allocations: 192 / 0.9839 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.00526, allocations: 384 / 0.9839 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.005267, allocations: 4.375 kB / 0.9839 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003222/0.00559, allocations: 87.8 kB / 0.984 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005032/0.006093, allocations: 256.4 kB / 0.9842 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002123/0.006305, allocations: 62.56 kB / 0.9843 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001613/0.006466, allocations: 44.84 kB / 0.9843 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.083e-05/0.006497, allocations: 0 / 0.9843 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.006526, allocations: 38.56 kB / 0.9844 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.006526, allocations: 0 / 0.9844 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.000563/0.007089, allocations: 137.7 kB / 0.9845 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.007134, allocations: 51.41 kB / 0.9845 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.83e-05/0.007232, allocations: 117.8 kB / 0.9846 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.007251, allocations: 29.7 kB / 0.9847 GB, free: 8.477 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.982e-05/0.007311, allocations: 96.08 kB / 0.9848 GB, free: 8.379 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.065e-05/0.007332, allocations: 11.95 kB / 0.9848 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.528e-05/0.007367, allocations: 9.719 kB / 0.9848 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.00752, allocations: 322.8 kB / 0.9851 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001517/0.007672, allocations: 27.97 kB / 0.9851 GB, free: 8 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001443/0.007816, allocations: 39.94 kB / 0.9852 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002959/0.008112, allocations: 84.72 kB / 0.9852 GB, free: 7.875 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.008113, allocations: 0 / 0.9852 GB, free: 7.875 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003485/0.008462, allocations: 105.5 kB / 0.9853 GB, free: 7.766 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.008477, allocations: 8 kB / 0.9853 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.008481, allocations: 0 / 0.9853 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.008494, allocations: 7.938 kB / 0.9854 GB, free: 7.75 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.008619, allocations: 15.98 kB / 0.9854 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.008623, allocations: 0 / 0.9854 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.471e-05/0.008708, allocations: 19.91 kB / 0.9854 GB, free: 7.715 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.586e-05/0.008724, allocations: 4 kB / 0.9854 GB, free: 7.711 MB / 0.9356 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 9.42e-05/0.008818, allocations: 113.8 kB / 0.9855 GB, free: 7.59 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.871e-05/0.008846, allocations: 7.891 kB / 0.9855 GB, free: 7.582 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003853/0.009232, allocations: 117.6 kB / 0.9856 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.009233, allocations: 0 / 0.9856 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.009237, allocations: 0 / 0.9856 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.728e-06/0.009242, allocations: 4 kB / 0.9856 GB, free: 7.457 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001622/0.009404, allocations: 113.3 kB / 0.9857 GB, free: 7.316 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.009405, allocations: 0 / 0.9857 GB, free: 7.316 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.009505, allocations: 23.91 kB / 0.9858 GB, free: 7.293 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.009509, allocations: 3.938 kB / 0.9858 GB, free: 7.289 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.383e-06/0.009517, allocations: 4 kB / 0.9858 GB, free: 7.285 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.009518, allocations: 0 / 0.9858 GB, free: 7.285 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.009522, allocations: 7.938 kB / 0.9858 GB, free: 7.277 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004021/0.009924, allocations: 195.4 kB / 0.986 GB, free: 7.07 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.178e-05/0.009936, allocations: 7.938 kB / 0.986 GB, free: 7.062 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.00995, allocations: 0 / 0.986 GB, free: 7.062 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.01006, allocations: 15.98 kB / 0.986 GB, free: 7.047 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.422e-05/0.01011, allocations: 7.984 kB / 0.986 GB, free: 7.039 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.01011, allocations: 0 / 0.986 GB, free: 7.039 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.974e-05/0.01017, allocations: 95.64 kB / 0.9861 GB, free: 6.945 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.01017, allocations: 0 / 0.9861 GB, free: 6.945 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002305/0.0104, allocations: 8 kB / 0.9861 GB, free: 6.938 MB / 0.9356 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.0001473/0.01055, allocations: 99.25 kB / 0.9862 GB, free: 6.828 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003958/0.01095, allocations: 83.84 kB / 0.9863 GB, free: 6.746 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.01095, allocations: 0 / 0.9863 GB, free: 6.746 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000249/0.0112, allocations: 35.97 kB / 0.9863 GB, free: 6.711 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/0.01155, allocations: 8 kB / 0.9863 GB, free: 6.703 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003865/0.01194, allocations: 153.2 kB / 0.9864 GB, free: 6.527 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.759e-05/0.01203, allocations: 75.33 kB / 0.9865 GB, free: 6.434 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.932e-05/0.01207, allocations: 15.94 kB / 0.9865 GB, free: 6.418 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.995e-05/0.0121, allocations: 8.5 kB / 0.9865 GB, free: 6.41 MB / 0.9356 GB Notification: Performance of SimCode: time 6.31e-07/0.0121, allocations: 0 / 0.9865 GB, free: 6.41 MB / 0.9356 GB Notification: Performance of Templates: time 0.003528/0.01563, allocations: 0.8212 MB / 0.9873 GB, free: 5.598 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.Average.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Average.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Average.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Average.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Average.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.946977507323027]