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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00179/0.00179, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00188/0.00188, allocations: 190.9 kB / 22.23 MB, free: 5.098 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 225.6 MB / 251 MB, free: 13.21 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.15/3.15, allocations: 496 MB / 0.7835 GB, free: 33.56 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 61.12 kB / 1.138 GB, free: 33.91 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.364/0.366, allocations: 173.6 MB / 1.307 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002901/0.3689, allocations: 1.459 MB / 1.309 GB, free: 340 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003268/0.3692, allocations: 99.72 kB / 1.309 GB, free: 240 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.975e-05/0.3693, allocations: 3.938 kB / 1.309 GB, free: 236 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 6.953e-05/0.3693, allocations: 0 / 1.309 GB, free: 236 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.899e-05/0.3694, allocations: 3.938 kB / 1.309 GB, free: 232 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002745/0.3697, allocations: 19.98 kB / 1.309 GB, free: 212 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.253e-05/0.3697, allocations: 23.92 kB / 1.309 GB, free: 188 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.67e-05/0.3698, allocations: 7.984 kB / 1.309 GB, free: 180 kB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.75e-05/0.3698, allocations: 8 kB / 1.309 GB, free: 172 kB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.773e-05/0.3699, allocations: 19.91 kB / 1.309 GB, free: 152 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.087e-05/0.3699, allocations: 0 / 1.309 GB, free: 152 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.893e-05/0.37, allocations: 27.91 kB / 1.309 GB, free: 124 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.14e-05/0.37, allocations: 4 kB / 1.309 GB, free: 120 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.242e-05/0.3701, allocations: 11.94 kB / 1.309 GB, free: 108 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001273/0.3702, allocations: 35.83 kB / 1.309 GB, free: 72 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.3702, allocations: 8 kB / 1.309 GB, free: 64 kB / 0.9981 GB Notification: Performance of FrontEnd: time 1.794e-06/0.3702, allocations: 0 / 1.309 GB, free: 64 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.3702, allocations: 0 / 1.309 GB, free: 64 kB / 0.9981 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.0004801/0.3707, allocations: 266.3 kB / 1.309 GB, free: 15.77 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.3707, allocations: 8.922 kB / 1.309 GB, free: 15.76 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.27e-05/0.3708, allocations: 4.875 kB / 1.309 GB, free: 15.76 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.3709, allocations: 118.5 kB / 1.309 GB, free: 15.62 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.3709, allocations: 4.375 kB / 1.309 GB, free: 15.61 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.143e-05/0.3709, allocations: 4.375 kB / 1.309 GB, free: 15.61 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.3711, allocations: 58.17 kB / 1.309 GB, free: 15.55 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.3711, allocations: 192 / 1.309 GB, free: 15.55 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.3711, allocations: 3.938 kB / 1.309 GB, free: 15.54 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.3711, allocations: 0 / 1.309 GB, free: 15.54 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001798/0.3713, allocations: 31.97 kB / 1.309 GB, free: 15.51 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003526/0.3717, allocations: 228 kB / 1.31 GB, free: 15.25 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001446/0.3718, allocations: 46.48 kB / 1.31 GB, free: 15.19 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.516e-05/0.3719, allocations: 24.91 kB / 1.31 GB, free: 15.16 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.442e-05/0.3719, allocations: 7.875 kB / 1.31 GB, free: 15.16 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.372, allocations: 34.56 kB / 1.31 GB, free: 15.11 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.372, allocations: 0 / 1.31 GB, free: 15.11 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0003964/0.3724, allocations: 89.64 kB / 1.31 GB, free: 15.02 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.938e-05/0.3724, allocations: 51.41 kB / 1.31 GB, free: 14.96 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.077e-05/0.3725, allocations: 105.8 kB / 1.31 GB, free: 14.84 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.3725, allocations: 25.7 kB / 1.31 GB, free: 14.81 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.559e-05/0.3726, allocations: 84.08 kB / 1.31 GB, free: 14.73 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.235e-05/0.3726, allocations: 15.94 kB / 1.31 GB, free: 14.71 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.974e-05/0.3726, allocations: 13.84 kB / 1.31 GB, free: 14.69 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.3727, allocations: 310.8 kB / 1.31 GB, free: 14.38 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.881e-05/0.3728, allocations: 19.98 kB / 1.31 GB, free: 14.36 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.689e-05/0.3729, allocations: 27.91 kB / 1.31 GB, free: 14.33 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/0.3731, allocations: 40.89 kB / 1.311 GB, free: 14.29 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3731, allocations: 0 / 1.311 GB, free: 14.29 MB / 1.014 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002192/0.3733, allocations: 77.55 kB / 1.311 GB, free: 14.21 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.3733, allocations: 5.719 kB / 1.311 GB, free: 14.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.3733, allocations: 0 / 1.311 GB, free: 14.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.3733, allocations: 0 / 1.311 GB, free: 14.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.178e-05/0.3734, allocations: 11.98 kB / 1.311 GB, free: 14.19 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.3734, allocations: 0 / 1.311 GB, free: 14.19 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.345e-05/0.3735, allocations: 12.02 kB / 1.311 GB, free: 14.18 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.3735, allocations: 0 / 1.311 GB, free: 14.18 MB / 1.014 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 8.894e-05/0.3736, allocations: 125.7 kB / 1.311 GB, free: 14.05 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.328e-05/0.3736, allocations: 3.938 kB / 1.311 GB, free: 14.04 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002489/0.3739, allocations: 73.28 kB / 1.311 GB, free: 13.96 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.3739, allocations: 0 / 1.311 GB, free: 13.96 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.3739, allocations: 4 kB / 1.311 GB, free: 13.96 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.3739, allocations: 4.031 kB / 1.311 GB, free: 13.95 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001623/0.374, allocations: 132.7 kB / 1.311 GB, free: 13.78 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.374, allocations: 256 / 1.311 GB, free: 13.78 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.005e-05/0.3741, allocations: 15.97 kB / 1.311 GB, free: 13.77 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.3741, allocations: 4 kB / 1.311 GB, free: 13.76 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.3741, allocations: 0 / 1.311 GB, free: 13.76 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3741, allocations: 0 / 1.311 GB, free: 13.76 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.3741, allocations: 4 kB / 1.311 GB, free: 13.76 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002651/0.3744, allocations: 175.3 kB / 1.311 GB, free: 13.57 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.105e-06/0.3744, allocations: 4 kB / 1.311 GB, free: 13.57 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.183e-05/0.3744, allocations: 0 / 1.311 GB, free: 13.57 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.984e-05/0.3745, allocations: 7.984 kB / 1.311 GB, free: 13.56 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.962e-05/0.3745, allocations: 0 / 1.311 GB, free: 13.56 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-06/0.3745, allocations: 0 / 1.311 GB, free: 13.56 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.008e-05/0.3746, allocations: 95.2 kB / 1.311 GB, free: 13.46 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/0.3746, allocations: 4.031 kB / 1.311 GB, free: 13.46 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000221/0.3748, allocations: 4 kB / 1.311 GB, free: 13.46 MB / 1.014 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.0001457/0.3749, allocations: 104 kB / 1.311 GB, free: 13.35 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002382/0.3752, allocations: 47.89 kB / 1.311 GB, free: 13.3 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3752, allocations: 0 / 1.311 GB, free: 13.3 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 9.798e-05/0.3753, allocations: 20.05 kB / 1.311 GB, free: 13.28 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003003/0.3756, allocations: 3.938 kB / 1.311 GB, free: 13.28 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003485/0.3759, allocations: 117.5 kB / 1.312 GB, free: 13.14 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003746/0.3763, allocations: 0.6807 MB / 1.312 GB, free: 12.43 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.57e-05/0.3763, allocations: 0 / 1.312 GB, free: 12.43 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.528e-05/0.3763, allocations: 7.438 kB / 1.312 GB, free: 12.42 MB / 1.014 GB Notification: Performance of SimCode: time 3.01e-07/0.3763, allocations: 0 / 1.312 GB, free: 12.42 MB / 1.014 GB Notification: Performance of Templates: time 0.003975/0.3803, allocations: 0.5508 MB / 1.313 GB, free: 11.88 MB / 1.014 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/jenkins/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: 8.886344605125487]