Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.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.001924/0.001924, allocations: 102 kB / 16.4 MB, free: 6.508 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.002264/0.002264, allocations: 199.8 kB / 19.35 MB, free: 3.73 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.421/1.421, allocations: 222.9 MB / 245 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.728/2.728, allocations: 469.8 MB / 0.749 GB, free: 3.047 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 67.89 kB / 1.074 GB, free: 15.61 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8152/0.8172, allocations: 159.2 MB / 1.229 GB, free: 4.879 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001653/0.8189, allocations: 0.579 MB / 1.23 GB, free: 4.305 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0002434/0.8192, allocations: 42.09 kB / 1.23 GB, free: 4.266 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.292e-05/0.8192, allocations: 0 / 1.23 GB, free: 4.266 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.26e-05/0.8192, allocations: 3.938 kB / 1.23 GB, free: 4.262 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.065e-06/0.8192, allocations: 0 / 1.23 GB, free: 4.262 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002652/0.8195, allocations: 11.94 kB / 1.23 GB, free: 4.25 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 4.067e-05/0.8195, allocations: 3.984 kB / 1.23 GB, free: 4.246 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.663e-05/0.8196, allocations: 8 kB / 1.23 GB, free: 4.238 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.177e-05/0.8196, allocations: 0 / 1.23 GB, free: 4.238 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.735e-05/0.8196, allocations: 3.984 kB / 1.23 GB, free: 4.234 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.824e-06/0.8197, allocations: 4 kB / 1.23 GB, free: 4.23 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.485e-05/0.8197, allocations: 19.92 kB / 1.23 GB, free: 4.211 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.564e-06/0.8198, allocations: 0 / 1.23 GB, free: 4.211 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 1.402e-05/0.8198, allocations: 0 / 1.23 GB, free: 4.211 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 8.263e-05/0.8199, allocations: 11.98 kB / 1.23 GB, free: 4.199 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.8199, allocations: 4 kB / 1.23 GB, free: 4.195 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.316e-06/0.8199, allocations: 3.984 kB / 1.23 GB, free: 4.191 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.8199, allocations: 0 / 1.23 GB, free: 4.191 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003445/0.8202, allocations: 315.2 kB / 1.23 GB, free: 3.836 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.8203, allocations: 16.03 kB / 1.23 GB, free: 3.82 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.875e-05/0.8203, allocations: 0.9375 kB / 1.23 GB, free: 3.82 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.8204, allocations: 164.4 kB / 1.23 GB, free: 3.621 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.8205, allocations: 384 / 1.23 GB, free: 3.621 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.532e-06/0.8205, allocations: 384 / 1.23 GB, free: 3.621 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.982e-05/0.8206, allocations: 30.27 kB / 1.23 GB, free: 3.586 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.8206, allocations: 4.125 kB / 1.23 GB, free: 3.582 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.8206, allocations: 7.922 kB / 1.23 GB, free: 3.574 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.8206, allocations: 0 / 1.23 GB, free: 3.574 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.951e-05/0.8206, allocations: 3.938 kB / 1.23 GB, free: 3.57 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001657/0.8208, allocations: 157.7 kB / 1.231 GB, free: 3.367 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 3.874e-05/0.8209, allocations: 14.58 kB / 1.231 GB, free: 3.344 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.741e-05/0.8209, allocations: 4.859 kB / 1.231 GB, free: 3.336 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.747e-05/0.8209, allocations: 4.062 kB / 1.231 GB, free: 3.332 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.8209, allocations: 30.56 kB / 1.231 GB, free: 3.293 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.8209, allocations: 0 / 1.231 GB, free: 3.293 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0001305/0.8211, allocations: 45.58 kB / 1.231 GB, free: 3.242 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.8211, allocations: 55.41 kB / 1.231 GB, free: 3.176 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.192e-05/0.8212, allocations: 89.86 kB / 1.231 GB, free: 3.078 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.8212, allocations: 25.7 kB / 1.231 GB, free: 3.047 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.506e-05/0.8212, allocations: 84.12 kB / 1.231 GB, free: 2.961 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.675e-05/0.8213, allocations: 0 / 1.231 GB, free: 2.961 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.15e-05/0.8213, allocations: 13.72 kB / 1.231 GB, free: 2.941 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.8215, allocations: 314.8 kB / 1.231 GB, free: 2.625 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.02e-05/0.8215, allocations: 4.125 kB / 1.231 GB, free: 2.621 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.54e-06/0.8215, allocations: 0 / 1.231 GB, free: 2.621 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.635e-05/0.8215, allocations: 12.8 kB / 1.231 GB, free: 2.605 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.8215, allocations: 0 / 1.231 GB, free: 2.605 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.844e-05/0.8216, allocations: 41.62 kB / 1.231 GB, free: 2.559 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.8216, allocations: 4 kB / 1.231 GB, free: 2.555 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/0.8216, allocations: 0 / 1.231 GB, free: 2.555 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.8216, allocations: 3.938 kB / 1.231 GB, free: 2.551 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.621e-05/0.8217, allocations: 4 kB / 1.231 GB, free: 2.547 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.8217, allocations: 8.094 kB / 1.231 GB, free: 2.539 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.157e-05/0.8217, allocations: 0 / 1.231 GB, free: 2.539 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.8217, allocations: 3.984 kB / 1.231 GB, free: 2.535 MB / 0.9356 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 (1): * Single equations (assignments): 1 * 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 7.302e-05/0.8218, allocations: 109.8 kB / 1.231 GB, free: 2.418 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.672e-06/0.8218, allocations: 4 kB / 1.231 GB, free: 2.414 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001036/0.8219, allocations: 48.69 kB / 1.231 GB, free: 2.359 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.822, allocations: 0 / 1.231 GB, free: 2.359 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.822, allocations: 0 / 1.231 GB, free: 2.359 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.822, allocations: 0 / 1.231 GB, free: 2.359 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001131/0.8221, allocations: 153.6 kB / 1.232 GB, free: 2.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.8221, allocations: 0 / 1.232 GB, free: 2.16 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.578e-05/0.8221, allocations: 0 / 1.232 GB, free: 2.16 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.8221, allocations: 0 / 1.232 GB, free: 2.16 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.8221, allocations: 7.938 kB / 1.232 GB, free: 2.152 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.8221, allocations: 0 / 1.232 GB, free: 2.152 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.8221, allocations: 0 / 1.232 GB, free: 2.152 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.63e-05/0.8222, allocations: 61.16 kB / 1.232 GB, free: 2.074 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.118e-05/0.8223, allocations: 81.11 kB / 1.232 GB, free: 1.977 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.088e-05/0.8223, allocations: 3.938 kB / 1.232 GB, free: 1.973 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.251e-05/0.8223, allocations: 0 / 1.232 GB, free: 1.973 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.808e-06/0.8223, allocations: 3.938 kB / 1.232 GB, free: 1.969 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.8223, allocations: 0 / 1.232 GB, free: 1.969 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.022e-05/0.8224, allocations: 79.28 kB / 1.232 GB, free: 1.891 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8224, allocations: 4.031 kB / 1.232 GB, free: 1.887 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001871/0.8226, allocations: 10.67 kB / 1.232 GB, free: 1.879 MB / 0.9356 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 (1): * Single equations (assignments): 1 * 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.0001557/0.8227, allocations: 107.8 kB / 1.232 GB, free: 1.762 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 6.824e-05/0.8228, allocations: 4 kB / 1.232 GB, free: 1.758 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.8228, allocations: 0 / 1.232 GB, free: 1.758 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.618e-06/0.8228, allocations: 4 kB / 1.232 GB, free: 1.754 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001318/0.823, allocations: 0 / 1.232 GB, free: 1.754 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001771/0.8232, allocations: 81.06 kB / 1.232 GB, free: 1.648 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/0.8235, allocations: 0.6767 MB / 1.233 GB, free: 0.9453 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.158e-05/0.8235, allocations: 4 kB / 1.233 GB, free: 0.9414 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.218e-05/0.8235, allocations: 11.44 kB / 1.233 GB, free: 0.9297 MB / 0.9356 GB Notification: Performance of SimCode: time 3e-07/0.8235, allocations: 3.938 kB / 1.233 GB, free: 0.9258 MB / 0.9356 GB Notification: Performance of Templates: time 0.002426/0.826, allocations: 288.6 kB / 1.233 GB, free: 0.6445 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_Polynomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.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.365422679111362]