Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001756/0.001756, allocations: 102.3 kB / 19.7 MB, free: 2.254 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.001442/0.001442, allocations: 217.8 kB / 23.01 MB, free: 4.609 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.481/1.481, allocations: 230.6 MB / 256.8 MB, free: 8.051 MB / 206.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 3.259/3.259, allocations: 0.505 GB / 0.8108 GB, free: 22.07 MB / 0.6231 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.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_latest_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.002225/0.002225, allocations: 68.5 kB / 1.178 GB, free: 16.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.3262, allocations: 180.2 MB / 1.354 GB, free: 7.992 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002705/0.3289, allocations: 1.473 MB / 1.356 GB, free: 6.512 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0002874/0.3292, allocations: 79.81 kB / 1.356 GB, free: 6.434 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.856e-05/0.3292, allocations: 0 / 1.356 GB, free: 6.434 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.913e-05/0.3293, allocations: 3.938 kB / 1.356 GB, free: 6.43 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 3.588e-05/0.3293, allocations: 8 kB / 1.356 GB, free: 6.422 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002329/0.3295, allocations: 15.92 kB / 1.356 GB, free: 6.406 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.034e-05/0.3296, allocations: 27.92 kB / 1.356 GB, free: 6.379 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 8.189e-05/0.3297, allocations: 11.94 kB / 1.356 GB, free: 6.367 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.789e-05/0.3297, allocations: 11.92 kB / 1.356 GB, free: 6.355 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 3.456e-05/0.3298, allocations: 7.984 kB / 1.356 GB, free: 6.348 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.778e-05/0.3298, allocations: 4 kB / 1.356 GB, free: 6.344 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.989e-05/0.3299, allocations: 15.98 kB / 1.356 GB, free: 6.328 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.022e-05/0.3299, allocations: 11.92 kB / 1.356 GB, free: 6.316 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.43e-05/0.3299, allocations: 7.938 kB / 1.356 GB, free: 6.309 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001122/0.33, allocations: 43.83 kB / 1.356 GB, free: 6.266 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.33, allocations: 0 / 1.356 GB, free: 6.266 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.463e-06/0.33, allocations: 0 / 1.356 GB, free: 6.266 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.33, allocations: 0 / 1.356 GB, free: 6.266 MB / 1.045 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.0004307/0.3305, allocations: 266.3 kB / 1.356 GB, free: 5.973 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.3305, allocations: 8.031 kB / 1.356 GB, free: 5.965 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.335e-05/0.3305, allocations: 8.875 kB / 1.356 GB, free: 5.957 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.3306, allocations: 106.5 kB / 1.356 GB, free: 5.828 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.743e-06/0.3306, allocations: 384 / 1.356 GB, free: 5.828 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.621e-05/0.3307, allocations: 12.38 kB / 1.356 GB, free: 5.816 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/0.3308, allocations: 54.17 kB / 1.356 GB, free: 5.758 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.026e-06/0.3308, allocations: 192 / 1.356 GB, free: 5.758 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.779e-06/0.3309, allocations: 3.938 kB / 1.356 GB, free: 5.754 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.3309, allocations: 0 / 1.356 GB, free: 5.754 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001662/0.331, allocations: 39.95 kB / 1.356 GB, free: 5.715 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003242/0.3313, allocations: 224 kB / 1.356 GB, free: 5.453 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001367/0.3315, allocations: 46.47 kB / 1.356 GB, free: 5.398 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.106e-05/0.3316, allocations: 28.84 kB / 1.357 GB, free: 5.367 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.808e-05/0.3316, allocations: 4 kB / 1.357 GB, free: 5.363 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.3316, allocations: 30.56 kB / 1.357 GB, free: 5.324 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.3316, allocations: 4 kB / 1.357 GB, free: 5.32 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0003459/0.332, allocations: 85.64 kB / 1.357 GB, free: 5.23 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/0.332, allocations: 55.39 kB / 1.357 GB, free: 5.164 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.982e-05/0.3321, allocations: 105.9 kB / 1.357 GB, free: 5.051 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.3321, allocations: 25.7 kB / 1.357 GB, free: 5.02 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.382e-05/0.3322, allocations: 88.12 kB / 1.357 GB, free: 4.93 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.926e-05/0.3322, allocations: 12.08 kB / 1.357 GB, free: 4.918 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.952e-05/0.3322, allocations: 9.719 kB / 1.357 GB, free: 4.902 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.3324, allocations: 318.8 kB / 1.357 GB, free: 4.582 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.679e-05/0.3325, allocations: 19.91 kB / 1.357 GB, free: 4.562 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.244e-05/0.3325, allocations: 23.92 kB / 1.357 GB, free: 4.539 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001489/0.3327, allocations: 40.89 kB / 1.357 GB, free: 4.496 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.3327, allocations: 0 / 1.357 GB, free: 4.496 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001988/0.3329, allocations: 77.59 kB / 1.357 GB, free: 4.414 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.3329, allocations: 4 kB / 1.357 GB, free: 4.41 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.3329, allocations: 3.938 kB / 1.357 GB, free: 4.406 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.3329, allocations: 0 / 1.357 GB, free: 4.406 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.382e-05/0.333, allocations: 11.98 kB / 1.357 GB, free: 4.395 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.177e-06/0.333, allocations: 32 / 1.357 GB, free: 4.395 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.829e-05/0.333, allocations: 15.92 kB / 1.357 GB, free: 4.379 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-06/0.333, allocations: 0 / 1.357 GB, free: 4.379 MB / 1.045 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.083e-05/0.3331, allocations: 122.3 kB / 1.358 GB, free: 4.25 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.435e-05/0.3332, allocations: 3.953 kB / 1.358 GB, free: 4.246 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002257/0.3334, allocations: 73.28 kB / 1.358 GB, free: 4.168 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.3334, allocations: 3.984 kB / 1.358 GB, free: 4.164 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.3334, allocations: 8.031 kB / 1.358 GB, free: 4.156 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.3334, allocations: 0 / 1.358 GB, free: 4.156 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.3335, allocations: 128.7 kB / 1.358 GB, free: 3.988 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.3335, allocations: 4 kB / 1.358 GB, free: 3.984 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.63e-05/0.3336, allocations: 7.984 kB / 1.358 GB, free: 3.977 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.3336, allocations: 0 / 1.358 GB, free: 3.977 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.3336, allocations: 0 / 1.358 GB, free: 3.977 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3336, allocations: 0 / 1.358 GB, free: 3.977 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3336, allocations: 4 kB / 1.358 GB, free: 3.973 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002385/0.3339, allocations: 171.4 kB / 1.358 GB, free: 3.789 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 9.317e-06/0.3339, allocations: 7.953 kB / 1.358 GB, free: 3.781 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.23e-05/0.3339, allocations: 3.984 kB / 1.358 GB, free: 3.777 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.373e-05/0.3339, allocations: 8 kB / 1.358 GB, free: 3.77 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.389e-05/0.334, allocations: 3.984 kB / 1.358 GB, free: 3.766 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-06/0.334, allocations: 256 / 1.358 GB, free: 3.766 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.578e-05/0.334, allocations: 91.31 kB / 1.358 GB, free: 3.676 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.334, allocations: 0 / 1.358 GB, free: 3.676 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002204/0.3343, allocations: 8 kB / 1.358 GB, free: 3.668 MB / 1.045 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.0001319/0.3344, allocations: 99.23 kB / 1.358 GB, free: 3.562 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002113/0.3346, allocations: 43.89 kB / 1.358 GB, free: 3.52 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3346, allocations: 3.938 kB / 1.358 GB, free: 3.516 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 8.014e-05/0.3347, allocations: 24.05 kB / 1.358 GB, free: 3.492 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002641/0.3349, allocations: 7.922 kB / 1.358 GB, free: 3.484 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002996/0.3352, allocations: 135.2 kB / 1.358 GB, free: 3.32 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.3356, allocations: 0.6807 MB / 1.359 GB, free: 2.613 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.433e-05/0.3356, allocations: 7.438 kB / 1.359 GB, free: 2.605 MB / 1.045 GB Notification: Performance of SimCode: time 3e-07/0.3356, allocations: 0 / 1.359 GB, free: 2.605 MB / 1.045 GB Notification: Performance of Templates: time 0.00224/0.3378, allocations: 0.6565 MB / 1.36 GB, free: 1.953 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Polynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.129073055024492]