Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.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.001392/0.001392, allocations: 106.1 kB / 16.45 MB, free: 6.453 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.001577/0.001577, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.477/1.477, allocations: 230.6 MB / 252.8 MB, free: 8.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.212/3.212, allocations: 0.4899 GB / 0.7915 GB, free: 33.58 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Math.Functions.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.002043/0.002043, allocations: 79.81 kB / 1.149 GB, free: 26.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.3218, allocations: 176.1 MB / 1.321 GB, free: 2.77 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001897/0.3237, allocations: 0.5898 MB / 1.322 GB, free: 2.184 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002489/0.324, allocations: 35.88 kB / 1.322 GB, free: 2.148 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.934e-05/0.324, allocations: 0 / 1.322 GB, free: 2.148 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.356e-05/0.324, allocations: 0 / 1.322 GB, free: 2.148 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.713e-06/0.324, allocations: 0 / 1.322 GB, free: 2.148 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002569/0.3243, allocations: 11.98 kB / 1.322 GB, free: 2.137 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 3.983e-05/0.3243, allocations: 3.984 kB / 1.322 GB, free: 2.133 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.398e-05/0.3243, allocations: 7.984 kB / 1.322 GB, free: 2.125 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.196e-05/0.3244, allocations: 0 / 1.322 GB, free: 2.125 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.049e-05/0.3244, allocations: 4 kB / 1.322 GB, free: 2.121 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 9.678e-06/0.3244, allocations: 4 kB / 1.322 GB, free: 2.117 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.983e-05/0.3245, allocations: 19.92 kB / 1.322 GB, free: 2.098 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.416e-05/0.3245, allocations: 3.984 kB / 1.322 GB, free: 2.094 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.485e-05/0.3245, allocations: 0 / 1.322 GB, free: 2.094 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001003/0.3246, allocations: 19.97 kB / 1.322 GB, free: 2.074 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.3246, allocations: 3.938 kB / 1.322 GB, free: 2.07 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.375e-06/0.3246, allocations: 0 / 1.322 GB, free: 2.07 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.3247, allocations: 0 / 1.322 GB, free: 2.07 MB / 1.014 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.0003494/0.325, allocations: 315.5 kB / 1.322 GB, free: 1.711 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.325, allocations: 15.98 kB / 1.322 GB, free: 1.695 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.946e-05/0.3251, allocations: 0.9375 kB / 1.322 GB, free: 1.695 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.3252, allocations: 160.4 kB / 1.322 GB, free: 1.5 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.3252, allocations: 4.375 kB / 1.322 GB, free: 1.496 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.3252, allocations: 4.312 kB / 1.322 GB, free: 1.492 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.667e-05/0.3253, allocations: 26.27 kB / 1.322 GB, free: 1.461 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.3253, allocations: 4.125 kB / 1.322 GB, free: 1.457 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.3253, allocations: 3.938 kB / 1.322 GB, free: 1.453 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.3253, allocations: 4 kB / 1.322 GB, free: 1.449 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.045e-05/0.3253, allocations: 3.984 kB / 1.322 GB, free: 1.445 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001571/0.3255, allocations: 149.7 kB / 1.323 GB, free: 1.25 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 4.143e-05/0.3255, allocations: 18.61 kB / 1.323 GB, free: 1.223 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.72e-05/0.3256, allocations: 4.859 kB / 1.323 GB, free: 1.215 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.6e-05/0.3256, allocations: 0 / 1.323 GB, free: 1.215 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/0.3256, allocations: 34.62 kB / 1.323 GB, free: 1.172 MB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 8.02e-07/0.3256, allocations: 0 / 1.323 GB, free: 1.172 MB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0001443/0.3257, allocations: 49.56 kB / 1.323 GB, free: 1.117 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/0.3258, allocations: 51.41 kB / 1.323 GB, free: 1.055 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.523e-05/0.3258, allocations: 89.86 kB / 1.323 GB, free: 0.957 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.3258, allocations: 25.7 kB / 1.323 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 3.82e-05/0.3259, allocations: 84.14 kB / 1.323 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.81e-05/0.3259, allocations: 3.953 kB / 1.323 GB, free: 0.8359 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.721e-05/0.3259, allocations: 9.719 kB / 1.323 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.3261, allocations: 314.8 kB / 1.323 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.157e-05/0.3261, allocations: 8.125 kB / 1.323 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.481e-06/0.3261, allocations: 0 / 1.323 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.111e-05/0.3261, allocations: 16.78 kB / 1.323 GB, free: 488 kB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3261, allocations: 0 / 1.323 GB, free: 488 kB / 1.014 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.649e-05/0.3262, allocations: 29.7 kB / 1.323 GB, free: 452 kB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.3262, allocations: 8 kB / 1.323 GB, free: 444 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.3262, allocations: 0 / 1.323 GB, free: 444 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.3262, allocations: 7.875 kB / 1.323 GB, free: 436 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.979e-05/0.3263, allocations: 4.094 kB / 1.323 GB, free: 432 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.3263, allocations: 0 / 1.323 GB, free: 432 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.983e-05/0.3263, allocations: 4 kB / 1.323 GB, free: 428 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.3263, allocations: 4 kB / 1.323 GB, free: 424 kB / 1.014 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.692e-05/0.3264, allocations: 114.2 kB / 1.323 GB, free: 300 kB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.462e-06/0.3264, allocations: 0 / 1.323 GB, free: 300 kB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001024/0.3265, allocations: 48.7 kB / 1.324 GB, free: 244 kB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3265, allocations: 0 / 1.324 GB, free: 244 kB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.3265, allocations: 3.984 kB / 1.324 GB, free: 240 kB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.603e-06/0.3265, allocations: 0 / 1.324 GB, free: 240 kB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001051/0.3266, allocations: 141.7 kB / 1.324 GB, free: 48 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.3266, allocations: 4 kB / 1.324 GB, free: 44 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.857e-05/0.3266, allocations: 4 kB / 1.324 GB, free: 40 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.3266, allocations: 0 / 1.324 GB, free: 40 kB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.3266, allocations: 7.875 kB / 1.324 GB, free: 32 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3266, allocations: 0 / 1.324 GB, free: 32 kB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.3266, allocations: 4 kB / 1.324 GB, free: 28 kB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.292e-05/0.3267, allocations: 61.09 kB / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.173e-05/0.3268, allocations: 77.11 kB / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.133e-05/0.3268, allocations: 3.938 kB / 1.324 GB, free: 15.85 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.078e-05/0.3268, allocations: 4 kB / 1.324 GB, free: 15.85 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.491e-05/0.3268, allocations: 0 / 1.324 GB, free: 15.85 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.3268, allocations: 3.984 kB / 1.324 GB, free: 15.84 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.264e-05/0.3268, allocations: 79.28 kB / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3268, allocations: 4.031 kB / 1.324 GB, free: 15.76 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001985/0.327, allocations: 7.938 kB / 1.324 GB, free: 15.75 MB / 1.029 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.0001604/0.3272, allocations: 103.2 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.016e-05/0.3273, allocations: 4 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.3273, allocations: 0 / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.364e-06/0.3273, allocations: 0 / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001309/0.3274, allocations: 5.547 kB / 1.324 GB, free: 15.63 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001888/0.3276, allocations: 96.98 kB / 1.324 GB, free: 15.51 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/0.3279, allocations: 0.6728 MB / 1.325 GB, free: 14.81 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.174e-05/0.3279, allocations: 4 kB / 1.325 GB, free: 14.81 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.118e-05/0.3279, allocations: 11.38 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of SimCode: time 2.7e-07/0.3279, allocations: 0 / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of Templates: time 0.002412/0.3303, allocations: 304.3 kB / 1.325 GB, free: 14.5 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_Polynomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.704042689874768]