Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.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.001714/0.001714, allocations: 100.8 kB / 19.74 MB, free: 2.066 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.002111/0.002111, allocations: 213.4 kB / 23.04 MB, free: 4.844 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.453/1.453, allocations: 230.6 MB / 256.8 MB, free: 7.746 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.164/3.164, allocations: 0.49 GB / 0.7959 GB, free: 35.34 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Polynomial") [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.002083/0.002083, allocations: 72.27 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3616/0.3637, allocations: 176.1 MB / 1.327 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.003133/0.3668, allocations: 1.455 MB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0003593/0.3671, allocations: 87.77 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.298e-05/0.3672, allocations: 4 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 6.886e-05/0.3672, allocations: 0 / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.301e-05/0.3673, allocations: 11.92 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002942/0.3676, allocations: 15.97 kB / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.512e-05/0.3677, allocations: 23.94 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.606e-05/0.3677, allocations: 3.984 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.177e-05/0.3678, allocations: 11.94 kB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.059e-05/0.3678, allocations: 7.984 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.3678, allocations: 11.88 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.3679, allocations: 27.91 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.964e-05/0.368, allocations: 4 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.467e-05/0.368, allocations: 11.92 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001392/0.3682, allocations: 39.83 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.3682, allocations: 0 / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.263e-06/0.3682, allocations: 0 / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.3682, allocations: 0 / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004701/0.3686, allocations: 266.3 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.3687, allocations: 8.031 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.682e-05/0.3687, allocations: 8.891 kB / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.3688, allocations: 114.5 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.3688, allocations: 4.375 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.226e-06/0.3689, allocations: 384 / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001917/0.369, allocations: 50.23 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.3691, allocations: 4.188 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.3691, allocations: 3.938 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.3691, allocations: 7.938 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001651/0.3692, allocations: 31.97 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003234/0.3696, allocations: 200.6 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001343/0.3697, allocations: 42.55 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.813e-05/0.3698, allocations: 20.91 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.816e-05/0.3698, allocations: 7.938 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.3699, allocations: 34.5 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.3699, allocations: 0 / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0003732/0.3702, allocations: 93.69 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.722e-05/0.3703, allocations: 51.41 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.3704, allocations: 109.8 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.3704, allocations: 25.7 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.622e-05/0.3705, allocations: 88.08 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.239e-05/0.3705, allocations: 7.938 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.125e-05/0.3705, allocations: 13.72 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.3707, allocations: 314.8 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.14e-05/0.3707, allocations: 15.98 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.78e-05/0.3708, allocations: 28 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/0.371, allocations: 40.77 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.371, allocations: 0 / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001968/0.3712, allocations: 73.59 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.3712, allocations: 6.344 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.3712, allocations: 8.031 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.3712, allocations: 0 / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.125e-05/0.3713, allocations: 11.98 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.3713, allocations: 3.938 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.595e-05/0.3714, allocations: 7.984 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.3714, allocations: 4 kB / 1.33 GB, free: 13.36 MB / 1.029 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 (2): * Single equations (assignments): 2 * 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.067e-05/0.3715, allocations: 113 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.905e-05/0.3715, allocations: 7.891 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002418/0.3717, allocations: 81.22 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.3717, allocations: 0 / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.3717, allocations: 4 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.3717, allocations: 3.984 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001356/0.3719, allocations: 105.3 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3719, allocations: 0 / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.551e-05/0.3719, allocations: 11.98 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.177e-06/0.3719, allocations: 4.188 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.3719, allocations: 0 / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.3719, allocations: 4 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.3719, allocations: 8.016 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002623/0.3722, allocations: 167.5 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.461e-05/0.3722, allocations: 15.92 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.3722, allocations: 0 / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.144e-05/0.3723, allocations: 4 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.51e-05/0.3723, allocations: 3.984 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.3724, allocations: 0 / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.856e-05/0.3724, allocations: 87.28 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3724, allocations: 4.031 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002266/0.3726, allocations: 8 kB / 1.331 GB, free: 12.67 MB / 1.029 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 (2): * Single equations (assignments): 2 * 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.0001806/0.3728, allocations: 103.2 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002305/0.3731, allocations: 35.97 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3731, allocations: 0 / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.109e-05/0.3732, allocations: 27.91 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002985/0.3735, allocations: 8.125 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003331/0.3738, allocations: 143.2 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.515e-05/0.3738, allocations: 63.34 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.255e-05/0.3739, allocations: 11.38 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of SimCode: time 2.91e-07/0.3739, allocations: 0 / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of Templates: time 0.002457/0.3763, allocations: 0.6811 MB / 1.332 GB, free: 11.55 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Polynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.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.270497461082414]