Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00131/0.00131, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.00132/0.00132, allocations: 186 kB / 20.78 MB, free: 1.547 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.446/1.446, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.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.81/2.81, allocations: 476.7 MB / 0.7629 GB, free: 15.18 MB / 0.6075 GB " [Timeout remaining time 176] 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.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Polynomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002291/0.002291, allocations: 63.89 kB / 1.107 GB, free: 4.613 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.018/1.02, allocations: 168.7 MB / 1.272 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002555/1.023, allocations: 1.451 MB / 1.273 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003114/1.023, allocations: 107.4 kB / 1.273 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.513e-05/1.023, allocations: 0 / 1.273 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 6.235e-05/1.023, allocations: 2.031 kB / 1.273 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.566e-05/1.023, allocations: 5.5 kB / 1.273 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002489/1.023, allocations: 15.09 kB / 1.274 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.247e-05/1.023, allocations: 25.27 kB / 1.274 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.445e-05/1.023, allocations: 3.703 kB / 1.274 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.668e-05/1.023, allocations: 16.83 kB / 1.274 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.111e-05/1.023, allocations: 10.23 kB / 1.274 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.151e-05/1.023, allocations: 9.875 kB / 1.274 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.156e-05/1.024, allocations: 22.86 kB / 1.274 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.854e-05/1.024, allocations: 7.406 kB / 1.274 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.508e-05/1.024, allocations: 11.8 kB / 1.274 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001195/1.024, allocations: 37.03 kB / 1.274 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/1.024, allocations: 0 / 1.274 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.212e-06/1.024, allocations: 0.9688 kB / 1.274 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.719e-06/1.024, allocations: 0 / 1.274 GB, free: 6.789 MB / 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.0003853/1.024, allocations: 342.2 kB / 1.274 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/1.024, allocations: 13.88 kB / 1.274 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.816e-05/1.024, allocations: 6.906 kB / 1.274 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.751e-05/1.024, allocations: 175.7 kB / 1.274 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/1.024, allocations: 1.406 kB / 1.274 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.677e-06/1.024, allocations: 1.438 kB / 1.274 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/1.024, allocations: 55.64 kB / 1.274 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/1.024, allocations: 1.125 kB / 1.274 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/1.024, allocations: 3.938 kB / 1.274 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/1.024, allocations: 1.094 kB / 1.274 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001734/1.025, allocations: 43.11 kB / 1.274 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002837/1.025, allocations: 249.2 kB / 1.275 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001306/1.025, allocations: 41.52 kB / 1.275 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.417e-05/1.025, allocations: 29.22 kB / 1.275 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.882e-05/1.025, allocations: 7.859 kB / 1.275 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.675e-05/1.025, allocations: 31.53 kB / 1.275 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/1.025, allocations: 0.7812 kB / 1.275 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003496/1.026, allocations: 87.11 kB / 1.275 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/1.026, allocations: 51.41 kB / 1.275 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.792e-05/1.026, allocations: 108.1 kB / 1.275 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.124e-06/1.026, allocations: 26.42 kB / 1.275 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.134e-05/1.026, allocations: 86.45 kB / 1.275 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.583e-05/1.026, allocations: 6.297 kB / 1.275 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.75e-05/1.026, allocations: 12.19 kB / 1.275 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.937e-05/1.026, allocations: 316.3 kB / 1.275 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.451e-05/1.026, allocations: 20.14 kB / 1.275 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.491e-05/1.026, allocations: 24.81 kB / 1.275 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/1.026, allocations: 41.28 kB / 1.275 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/1.026, allocations: 3.938 kB / 1.275 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001876/1.026, allocations: 75.86 kB / 1.275 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/1.026, allocations: 5.156 kB / 1.275 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/1.026, allocations: 4.094 kB / 1.275 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/1.026, allocations: 0.875 kB / 1.275 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.651e-05/1.026, allocations: 7.906 kB / 1.275 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/1.026, allocations: 3.938 kB / 1.275 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.64e-05/1.026, allocations: 5.781 kB / 1.275 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/1.026, allocations: 5.062 kB / 1.275 GB, free: 5.059 MB / 0.9981 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 4.596e-05/1.027, allocations: 116.8 kB / 1.276 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/1.027, allocations: 1.781 kB / 1.276 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002228/1.027, allocations: 80 kB / 1.276 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/1.027, allocations: 0.9062 kB / 1.276 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.368e-05/1.027, allocations: 256 / 1.276 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/1.027, allocations: 1.484 kB / 1.276 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001288/1.027, allocations: 167.4 kB / 1.276 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/1.027, allocations: 0 / 1.276 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.758e-05/1.027, allocations: 8.516 kB / 1.276 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/1.027, allocations: 0.8125 kB / 1.276 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/1.027, allocations: 4.906 kB / 1.276 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/1.027, allocations: 2.016 kB / 1.276 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/1.027, allocations: 0.9062 kB / 1.276 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002067/1.027, allocations: 172.3 kB / 1.276 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.808e-05/1.027, allocations: 79.77 kB / 1.276 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/1.027, allocations: 1.094 kB / 1.276 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.509e-05/1.027, allocations: 9.594 kB / 1.276 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.132e-05/1.027, allocations: 6.812 kB / 1.276 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/1.027, allocations: 0.8125 kB / 1.276 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.258e-05/1.027, allocations: 88.2 kB / 1.276 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/1.027, allocations: 0 / 1.276 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002364/1.028, allocations: 11.59 kB / 1.276 GB, free: 4.352 MB / 0.9981 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.0001308/1.028, allocations: 99.66 kB / 1.276 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000222/1.028, allocations: 51.23 kB / 1.276 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/1.028, allocations: 0 / 1.276 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.775e-05/1.028, allocations: 16.88 kB / 1.276 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/1.028, allocations: 14.88 kB / 1.276 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000301/1.029, allocations: 120.8 kB / 1.276 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001312/1.029, allocations: 0.6821 MB / 1.277 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.412e-05/1.029, allocations: 2.156 kB / 1.277 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.973e-05/1.029, allocations: 8.5 kB / 1.277 GB, free: 3.422 MB / 0.9981 GB Notification: Performance of SimCode: time 6.32e-07/1.029, allocations: 0.8438 kB / 1.277 GB, free: 3.422 MB / 0.9981 GB Notification: Performance of Templates: time 0.003134/1.032, allocations: 0.5471 MB / 1.278 GB, free: 3.348 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Polynomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.921105341985822]