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.0007827/0.0007827, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001152/0.001934, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007652/0.0007652, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001037/0.001802, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.032/1.032, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1133/1.145, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.364/2.364, allocations: 447.1 MB / 0.675 GB, free: 5.902 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.245/2.609, allocations: 146 MB / 0.8176 GB, free: 3.832 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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|polynomial.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|polynomial.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.8189 GB, free: 2.488 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.101e-05/2.25e-05, allocations: 4.844 kB / 0.8189 GB, free: 2.484 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.001918/0.00194, allocations: 1.549 MB / 0.8205 GB, free: 0.918 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0001402/0.002081, allocations: 87.73 kB / 0.8205 GB, free: 0.832 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.199e-05/0.002103, allocations: 0 / 0.8205 GB, free: 0.832 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 4.201e-05/0.002145, allocations: 0 / 0.8205 GB, free: 0.832 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.65e-05/0.002171, allocations: 15.88 kB / 0.8206 GB, free: 0.8164 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.000145/0.002316, allocations: 15.97 kB / 0.8206 GB, free: 0.8008 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 6.614e-05/0.002382, allocations: 23.92 kB / 0.8206 GB, free: 0.7773 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 7.16e-05/0.002454, allocations: 4 kB / 0.8206 GB, free: 0.7734 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 4.947e-05/0.002503, allocations: 19.98 kB / 0.8206 GB, free: 0.7539 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 3.026e-05/0.002534, allocations: 7.922 kB / 0.8206 GB, free: 0.7461 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.002549, allocations: 4 kB / 0.8206 GB, free: 0.7422 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 7.73e-05/0.002626, allocations: 15.98 kB / 0.8206 GB, free: 0.7266 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 3.058e-05/0.002657, allocations: 7.984 kB / 0.8207 GB, free: 0.7188 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.377e-05/0.002671, allocations: 7.938 kB / 0.8207 GB, free: 0.7109 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 9.351e-05/0.002764, allocations: 23.86 kB / 0.8207 GB, free: 0.6875 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.066e-05/0.002775, allocations: 8 kB / 0.8207 GB, free: 0.6797 MB / 0.7917 GB Notification: Performance of FrontEnd: time 7.71e-07/0.002776, allocations: 0 / 0.8207 GB, free: 0.6797 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.215e-05/0.002788, allocations: 0 / 0.8207 GB, free: 0.6797 MB / 0.7917 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.0003347/0.003122, allocations: 244.5 kB / 0.8209 GB, free: 424 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.107e-05/0.003153, allocations: 12.03 kB / 0.8209 GB, free: 412 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.858e-05/0.003182, allocations: 4.922 kB / 0.8209 GB, free: 408 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.003283, allocations: 105.8 kB / 0.821 GB, free: 276 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.003293, allocations: 384 / 0.821 GB, free: 276 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.167e-06/0.003302, allocations: 384 / 0.821 GB, free: 276 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.785e-05/0.0034, allocations: 57.78 kB / 0.8211 GB, free: 208 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.003406, allocations: 4.188 kB / 0.8211 GB, free: 204 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.06e-06/0.003411, allocations: 384 / 0.8211 GB, free: 204 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.003416, allocations: 4.375 kB / 0.8211 GB, free: 200 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.91e-05/0.003435, allocations: 15.8 kB / 0.8211 GB, free: 184 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001867/0.003622, allocations: 150 kB / 0.8213 GB, free: 16 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 6.137e-05/0.003683, allocations: 73.34 kB / 0.8213 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.317e-05/0.003696, allocations: 4.859 kB / 0.8213 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.622e-05/0.003732, allocations: 4.062 kB / 0.8213 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.003753, allocations: 30.56 kB / 0.8214 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 2.284e-06/0.003755, allocations: 4 kB / 0.8214 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 9.644e-05/0.003852, allocations: 41.62 kB / 0.8214 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/0.003879, allocations: 55.34 kB / 0.8215 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.677e-05/0.003935, allocations: 106.7 kB / 0.8216 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.868e-06/0.003945, allocations: 25.7 kB / 0.8216 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.853e-05/0.003974, allocations: 92.08 kB / 0.8217 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.535e-05/0.003989, allocations: 7.938 kB / 0.8217 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.223e-05/0.004021, allocations: 13.72 kB / 0.8217 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.086e-05/0.004082, allocations: 314.8 kB / 0.822 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.086e-05/0.004093, allocations: 2.828 kB / 0.822 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.286e-06/0.004101, allocations: 8.375 kB / 0.822 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.27e-05/0.004124, allocations: 19.61 kB / 0.822 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.004127, allocations: 4 kB / 0.822 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.198e-05/0.004169, allocations: 33.7 kB / 0.8221 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.00418, allocations: 4 kB / 0.8221 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.004184, allocations: 3.984 kB / 0.8221 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.004195, allocations: 0 / 0.8221 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.855e-05/0.004254, allocations: 11.94 kB / 0.8221 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.314e-06/0.004256, allocations: 0 / 0.8221 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.505e-05/0.004271, allocations: 8.047 kB / 0.8221 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.98e-06/0.004276, allocations: 7.984 kB / 0.8221 GB, free: 15.07 MB / 0.8073 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 6.223e-05/0.004338, allocations: 120.7 kB / 0.8222 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.08e-05/0.004349, allocations: 0 / 0.8222 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.171e-05/0.004411, allocations: 45.25 kB / 0.8223 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.004412, allocations: 0 / 0.8223 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.726e-06/0.004415, allocations: 3.938 kB / 0.8223 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.004417, allocations: 0 / 0.8223 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.264e-05/0.00449, allocations: 65.91 kB / 0.8223 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.004491, allocations: 3.984 kB / 0.8223 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.189e-05/0.004513, allocations: 8.031 kB / 0.8223 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.42e-06/0.004519, allocations: 7.938 kB / 0.8223 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.61e-07/0.00452, allocations: 0 / 0.8223 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.777e-06/0.004523, allocations: 4 kB / 0.8223 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.004524, allocations: 0 / 0.8223 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.004526, allocations: 3.938 kB / 0.8224 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.058e-05/0.004597, allocations: 186.2 kB / 0.8225 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.304e-06/0.004604, allocations: 0 / 0.8225 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.955e-05/0.004634, allocations: 7.984 kB / 0.8225 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.375e-05/0.004657, allocations: 0 / 0.8225 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-06/0.004659, allocations: 4.031 kB / 0.8225 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.457e-05/0.004674, allocations: 16.8 kB / 0.8226 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.004674, allocations: 0 / 0.8226 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001142/0.004788, allocations: 8 kB / 0.8226 GB, free: 14.54 MB / 0.8073 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 9.356e-05/0.004882, allocations: 80.41 kB / 0.8226 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.392e-05/0.004936, allocations: 16.86 kB / 0.8227 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.00494, allocations: 0 / 0.8227 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.75e-05/0.004957, allocations: 8.859 kB / 0.8227 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001563/0.005114, allocations: 39.28 kB / 0.8227 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003356/0.005449, allocations: 126.2 kB / 0.8228 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.127e-05/0.00548, allocations: 59.2 kB / 0.8229 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.555e-05/0.005496, allocations: 4 kB / 0.8229 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.857e-05/0.005535, allocations: 51.38 kB / 0.8229 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of SimCode: time 6.61e-07/0.005535, allocations: 0 / 0.8229 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of Templates: time 0.002198/0.007733, allocations: 0.5636 MB / 0.8235 GB, free: 13.53 MB / 0.8073 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial/Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.176289746537805]