Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.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.001842/0.001842, allocations: 77.86 kB / 19.76 MB, free: 2.035 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.002604/0.002604, allocations: 156.8 kB / 23.01 MB, free: 4.941 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.432/1.432, allocations: 177.2 MB / 203.4 MB, free: 8.961 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.947/2.947, allocations: 394.2 MB / 0.6387 GB, free: 11.95 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.VectorFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sine.y|sine1.y|sine2.y|minVec.y|maxVec.y|aveVec.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions") translateModel(Buildings.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sine.y|sine1.y|sine2.y|minVec.y|maxVec.y|aveVec.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions") [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.002998/0.002998, allocations: 63.91 kB / 1.009 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8728/0.8758, allocations: 181.8 MB / 1.187 GB, free: 16.18 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002437/0.8782, allocations: 1.608 MB / 1.188 GB, free: 15.08 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.000848/0.8791, allocations: 0.5655 MB / 1.189 GB, free: 14.71 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.064e-05/0.8792, allocations: 1.344 kB / 1.189 GB, free: 14.71 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 9.001e-05/0.8792, allocations: 19.33 kB / 1.189 GB, free: 14.69 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 3.365e-05/0.8793, allocations: 19.72 kB / 1.189 GB, free: 14.68 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002518/0.8795, allocations: 56.94 kB / 1.189 GB, free: 14.65 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.000132/0.8797, allocations: 86.84 kB / 1.189 GB, free: 14.61 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.8798, allocations: 23.02 kB / 1.189 GB, free: 14.6 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000126/0.8799, allocations: 56.38 kB / 1.189 GB, free: 14.57 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 7.621e-05/0.88, allocations: 41.64 kB / 1.189 GB, free: 14.55 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.88, allocations: 6.312 kB / 1.189 GB, free: 14.55 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 6.582e-05/0.8801, allocations: 18.64 kB / 1.189 GB, free: 14.55 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 4.039e-05/0.8801, allocations: 21.52 kB / 1.189 GB, free: 14.54 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 4.022e-05/0.8802, allocations: 33.11 kB / 1.189 GB, free: 14.52 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.000149/0.8803, allocations: 96.81 kB / 1.189 GB, free: 14.48 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.8803, allocations: 0 / 1.189 GB, free: 14.48 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.533e-06/0.8803, allocations: 3.938 kB / 1.189 GB, free: 14.47 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.8803, allocations: 1.359 kB / 1.189 GB, free: 14.47 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004009/0.8807, allocations: 341.6 kB / 1.19 GB, free: 14.16 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.078e-05/0.8807, allocations: 8.969 kB / 1.19 GB, free: 14.16 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002895/0.881, allocations: 36.05 kB / 1.19 GB, free: 14.16 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/0.8812, allocations: 144.5 kB / 1.19 GB, free: 14.01 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.8812, allocations: 3.906 kB / 1.19 GB, free: 14.01 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.411e-05/0.8812, allocations: 12.59 kB / 1.19 GB, free: 14 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002243/0.8814, allocations: 109.8 kB / 1.19 GB, free: 13.95 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.8815, allocations: 0 / 1.19 GB, free: 13.95 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.8815, allocations: 5.547 kB / 1.19 GB, free: 13.95 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.034e-06/0.8815, allocations: 2.125 kB / 1.19 GB, free: 13.95 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002354/0.8817, allocations: 104.4 kB / 1.19 GB, free: 13.92 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004404/0.8821, allocations: 304.3 kB / 1.19 GB, free: 13.68 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.8823, allocations: 64.03 kB / 1.19 GB, free: 13.64 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.8824, allocations: 43.48 kB / 1.19 GB, free: 13.62 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.932e-05/0.8824, allocations: 8.859 kB / 1.19 GB, free: 13.62 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.326e-05/0.8824, allocations: 32.25 kB / 1.19 GB, free: 13.58 MB / 1.076 GB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.8824, allocations: 0 / 1.19 GB, free: 13.58 MB / 1.076 GB Notification: Performance of matching and sorting (n=6): time 0.0004082/0.8828, allocations: 165.7 kB / 1.191 GB, free: 13.52 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.72e-05/0.8829, allocations: 60.59 kB / 1.191 GB, free: 13.45 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.901e-05/0.8829, allocations: 138.9 kB / 1.191 GB, free: 13.34 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 9.037e-06/0.8829, allocations: 30.95 kB / 1.191 GB, free: 13.3 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.543e-05/0.883, allocations: 108.8 kB / 1.191 GB, free: 13.2 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.349e-05/0.883, allocations: 24.45 kB / 1.191 GB, free: 13.18 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-05/0.883, allocations: 20.67 kB / 1.191 GB, free: 13.16 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.227e-05/0.8831, allocations: 320.8 kB / 1.191 GB, free: 12.84 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.8832, allocations: 39.38 kB / 1.191 GB, free: 12.84 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.818e-05/0.8833, allocations: 41.42 kB / 1.191 GB, free: 12.82 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002139/0.8835, allocations: 92.84 kB / 1.191 GB, free: 12.79 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.8835, allocations: 0 / 1.191 GB, free: 12.79 MB / 1.076 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002561/0.8838, allocations: 127.8 kB / 1.191 GB, free: 12.73 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.8838, allocations: 9.516 kB / 1.191 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.8838, allocations: 3.938 kB / 1.191 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.8838, allocations: 0 / 1.191 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.8839, allocations: 22.77 kB / 1.192 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.8839, allocations: 0.6562 kB / 1.192 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.281e-05/0.884, allocations: 8.047 kB / 1.192 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.947e-05/0.884, allocations: 4.734 kB / 1.192 GB, free: 12.73 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 (6): * Single equations (assignments): 6 * 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.596e-05/0.8841, allocations: 121.5 kB / 1.192 GB, free: 12.61 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.217e-05/0.8841, allocations: 12.62 kB / 1.192 GB, free: 12.6 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003315/0.8844, allocations: 149.6 kB / 1.192 GB, free: 12.52 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.8844, allocations: 1.188 kB / 1.192 GB, free: 12.52 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.8844, allocations: 4 kB / 1.192 GB, free: 12.52 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.8844, allocations: 0.5156 kB / 1.192 GB, free: 12.52 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001356/0.8846, allocations: 145.7 kB / 1.192 GB, free: 12.38 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.8846, allocations: 1.156 kB / 1.192 GB, free: 12.38 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/0.8847, allocations: 18.48 kB / 1.192 GB, free: 12.38 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.8847, allocations: 0 / 1.192 GB, free: 12.38 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.769e-06/0.8847, allocations: 2.438 kB / 1.192 GB, free: 12.38 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.8847, allocations: 3.938 kB / 1.192 GB, free: 12.38 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.8847, allocations: 1.156 kB / 1.192 GB, free: 12.38 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00028/0.885, allocations: 228.5 kB / 1.192 GB, free: 12.21 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.273e-05/0.885, allocations: 8.266 kB / 1.192 GB, free: 12.21 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.885, allocations: 2.141 kB / 1.192 GB, free: 12.21 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.8851, allocations: 11.86 kB / 1.192 GB, free: 12.2 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.573e-05/0.8852, allocations: 8.422 kB / 1.192 GB, free: 12.2 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.8852, allocations: 4.406 kB / 1.192 GB, free: 12.2 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.826e-05/0.8852, allocations: 112.1 kB / 1.192 GB, free: 12.11 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.8852, allocations: 0 / 1.192 GB, free: 12.11 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002556/0.8855, allocations: 21.59 kB / 1.192 GB, free: 12.11 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 (6): * Single equations (assignments): 6 * 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.0001015/0.8856, allocations: 100 kB / 1.192 GB, free: 12.02 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002773/0.8859, allocations: 96.7 kB / 1.193 GB, free: 12 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.8859, allocations: 3.938 kB / 1.193 GB, free: 11.99 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.886, allocations: 47.75 kB / 1.193 GB, free: 11.98 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002244/0.8862, allocations: 6.922 kB / 1.193 GB, free: 11.98 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003779/0.8866, allocations: 230.8 kB / 1.193 GB, free: 11.81 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.993e-05/0.8867, allocations: 87.14 kB / 1.193 GB, free: 11.74 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 5.672e-05/0.8867, allocations: 15.64 kB / 1.193 GB, free: 11.73 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.017e-05/0.8867, allocations: 17.08 kB / 1.193 GB, free: 11.72 MB / 1.076 GB Notification: Performance of SimCode: time 3e-07/0.8867, allocations: 0 / 1.193 GB, free: 11.72 MB / 1.076 GB Notification: Performance of Templates: time 0.003299/0.89, allocations: 0.6977 MB / 1.194 GB, free: 11.61 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_VectorFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.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.777674598037265]