Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001366/0.001366, allocations: 113.3 kB / 17.08 MB, free: 6.012 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.001351/0.001351, allocations: 193.2 kB / 20.03 MB, free: 3.082 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.442/1.442, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.653/2.653, allocations: 437.1 MB / 0.7177 GB, free: 4.531 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings.Utilities.Math.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.Polynomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002033/0.002033, allocations: 67.89 kB / 1.028 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.2968, allocations: 151.6 MB / 1.176 GB, free: 5.906 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002629/0.2994, allocations: 1.42 MB / 1.177 GB, free: 4.465 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0003486/0.2998, allocations: 104.5 kB / 1.177 GB, free: 4.359 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.93e-05/0.2999, allocations: 4 kB / 1.177 GB, free: 4.355 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 6.047e-05/0.2999, allocations: 3.938 kB / 1.177 GB, free: 4.352 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.341e-05/0.3, allocations: 4 kB / 1.177 GB, free: 4.348 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002375/0.3002, allocations: 19.92 kB / 1.177 GB, free: 4.328 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.792e-05/0.3003, allocations: 27.92 kB / 1.177 GB, free: 4.301 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.991e-05/0.3004, allocations: 0 / 1.177 GB, free: 4.301 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.409e-05/0.3005, allocations: 19.91 kB / 1.177 GB, free: 4.281 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.241e-05/0.3005, allocations: 15.92 kB / 1.177 GB, free: 4.266 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.3005, allocations: 4 kB / 1.177 GB, free: 4.262 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.92e-05/0.3006, allocations: 19.98 kB / 1.177 GB, free: 4.242 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.324e-05/0.3007, allocations: 4 kB / 1.177 GB, free: 4.238 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.42e-05/0.3007, allocations: 11.88 kB / 1.177 GB, free: 4.227 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001254/0.3008, allocations: 35.89 kB / 1.177 GB, free: 4.191 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.3008, allocations: 0 / 1.177 GB, free: 4.191 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.883e-06/0.3008, allocations: 0 / 1.177 GB, free: 4.191 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.283e-06/0.3009, allocations: 0 / 1.177 GB, free: 4.191 MB / 0.92 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.0004967/0.3014, allocations: 351.3 kB / 1.178 GB, free: 3.797 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.3014, allocations: 12.02 kB / 1.178 GB, free: 3.785 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.35e-05/0.3014, allocations: 8.922 kB / 1.178 GB, free: 3.777 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/0.3016, allocations: 172.3 kB / 1.178 GB, free: 3.57 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.3016, allocations: 4.375 kB / 1.178 GB, free: 3.566 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.635e-06/0.3016, allocations: 384 / 1.178 GB, free: 3.566 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001959/0.3018, allocations: 54.23 kB / 1.178 GB, free: 3.508 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.3019, allocations: 192 / 1.178 GB, free: 3.508 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.3019, allocations: 3.938 kB / 1.178 GB, free: 3.504 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.3019, allocations: 0 / 1.178 GB, free: 3.504 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001807/0.3021, allocations: 39.95 kB / 1.178 GB, free: 3.465 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003648/0.3024, allocations: 248.9 kB / 1.178 GB, free: 3.172 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001393/0.3026, allocations: 50.47 kB / 1.178 GB, free: 3.113 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.506e-05/0.3027, allocations: 24.91 kB / 1.178 GB, free: 3.086 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.428e-05/0.3027, allocations: 4 kB / 1.178 GB, free: 3.082 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.777e-05/0.3028, allocations: 38.55 kB / 1.178 GB, free: 3.035 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.282e-06/0.3028, allocations: 0 / 1.178 GB, free: 3.035 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003747/0.3032, allocations: 89.58 kB / 1.179 GB, free: 2.941 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/0.3032, allocations: 51.41 kB / 1.179 GB, free: 2.879 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.3033, allocations: 110 kB / 1.179 GB, free: 2.762 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.3034, allocations: 29.7 kB / 1.179 GB, free: 2.727 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.316e-05/0.3034, allocations: 84.14 kB / 1.179 GB, free: 2.641 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.919e-05/0.3034, allocations: 11.89 kB / 1.179 GB, free: 2.629 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.264e-05/0.3035, allocations: 13.72 kB / 1.179 GB, free: 2.609 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.3036, allocations: 310.8 kB / 1.179 GB, free: 2.297 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.14e-05/0.3037, allocations: 19.97 kB / 1.179 GB, free: 2.277 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.057e-05/0.3038, allocations: 23.98 kB / 1.179 GB, free: 2.254 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000164/0.304, allocations: 40.81 kB / 1.179 GB, free: 2.211 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.304, allocations: 0 / 1.179 GB, free: 2.211 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000212/0.3042, allocations: 77.55 kB / 1.179 GB, free: 2.129 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.3042, allocations: 4 kB / 1.179 GB, free: 2.125 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.3043, allocations: 3.984 kB / 1.179 GB, free: 2.121 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.3043, allocations: 8.031 kB / 1.179 GB, free: 2.113 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.65e-05/0.3044, allocations: 8 kB / 1.179 GB, free: 2.105 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.3044, allocations: 0 / 1.179 GB, free: 2.105 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.637e-05/0.3044, allocations: 15.88 kB / 1.179 GB, free: 2.09 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.3045, allocations: 0 / 1.179 GB, free: 2.09 MB / 0.92 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.857e-05/0.3045, allocations: 113.8 kB / 1.179 GB, free: 1.969 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.159e-05/0.3046, allocations: 0 / 1.179 GB, free: 1.969 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002441/0.3048, allocations: 81.17 kB / 1.18 GB, free: 1.879 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.3048, allocations: 0 / 1.18 GB, free: 1.879 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.3048, allocations: 0 / 1.18 GB, free: 1.879 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.3049, allocations: 4 kB / 1.18 GB, free: 1.875 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001828/0.305, allocations: 161.5 kB / 1.18 GB, free: 1.668 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.305, allocations: 3.984 kB / 1.18 GB, free: 1.664 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.756e-05/0.3051, allocations: 8 kB / 1.18 GB, free: 1.656 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.3051, allocations: 0 / 1.18 GB, free: 1.656 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-06/0.3051, allocations: 0 / 1.18 GB, free: 1.656 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.3051, allocations: 4.031 kB / 1.18 GB, free: 1.652 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3051, allocations: 0 / 1.18 GB, free: 1.652 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002717/0.3054, allocations: 171.4 kB / 1.18 GB, free: 1.469 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.16e-05/0.3055, allocations: 81.06 kB / 1.18 GB, free: 1.371 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.134e-05/0.3055, allocations: 0 / 1.18 GB, free: 1.371 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.459e-05/0.3056, allocations: 8.281 kB / 1.18 GB, free: 1.363 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.423e-05/0.3056, allocations: 11.98 kB / 1.18 GB, free: 1.352 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.3056, allocations: 4 kB / 1.18 GB, free: 1.348 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.601e-05/0.3057, allocations: 79.28 kB / 1.18 GB, free: 1.27 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3057, allocations: 0 / 1.18 GB, free: 1.27 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002275/0.3059, allocations: 12 kB / 1.18 GB, free: 1.258 MB / 0.92 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.0001542/0.3061, allocations: 107.2 kB / 1.18 GB, free: 1.145 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002219/0.3063, allocations: 39.97 kB / 1.18 GB, free: 1.105 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.3063, allocations: 0 / 1.18 GB, free: 1.105 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001047/0.3064, allocations: 23.97 kB / 1.18 GB, free: 1.082 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002841/0.3067, allocations: 20.86 kB / 1.18 GB, free: 1.066 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002877/0.307, allocations: 131.1 kB / 1.18 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003332/0.3074, allocations: 0.6768 MB / 1.181 GB, free: 208 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.036e-05/0.3074, allocations: 15.56 kB / 1.181 GB, free: 192 kB / 0.92 GB Notification: Performance of SimCode: time 2.71e-07/0.3074, allocations: 3.938 kB / 1.181 GB, free: 188 kB / 0.92 GB Notification: Performance of Templates: time 0.00224/0.3096, allocations: 0.6663 MB / 1.182 GB, free: 15.52 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_Polynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.371742071933113]