Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001401/0.001401, allocations: 107.6 kB / 18.95 MB, free: 2.809 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.001503/0.001503, allocations: 214.5 kB / 22.25 MB, free: 5.117 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.446/1.446, allocations: 230.6 MB / 256 MB, free: 7.801 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.265/3.265, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 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.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x",fileNamePrefix="Buildings_latest_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_latest_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.002042/0.002042, allocations: 73.66 kB / 1.186 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3574, allocations: 181.9 MB / 1.364 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001688/0.359, allocations: 0.5991 MB / 1.364 GB, free: 12.93 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0002337/0.3593, allocations: 19.97 kB / 1.364 GB, free: 12.91 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.172e-05/0.3593, allocations: 0 / 1.364 GB, free: 12.91 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.211e-05/0.3593, allocations: 0 / 1.364 GB, free: 12.91 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.532e-06/0.3593, allocations: 3.938 kB / 1.364 GB, free: 12.91 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002791/0.3596, allocations: 15.92 kB / 1.364 GB, free: 12.89 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 4.502e-05/0.3596, allocations: 4 kB / 1.364 GB, free: 12.89 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.888e-05/0.3597, allocations: 3.984 kB / 1.365 GB, free: 12.89 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.202e-05/0.3597, allocations: 0 / 1.365 GB, free: 12.89 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 2.336e-05/0.3597, allocations: 7.938 kB / 1.365 GB, free: 12.88 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.012e-05/0.3597, allocations: 4 kB / 1.365 GB, free: 12.88 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.438e-05/0.3598, allocations: 12.39 kB / 1.365 GB, free: 12.86 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.388e-06/0.3598, allocations: 7.984 kB / 1.365 GB, free: 12.86 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.469e-05/0.3598, allocations: 0 / 1.365 GB, free: 12.86 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 8.419e-05/0.3599, allocations: 11.98 kB / 1.365 GB, free: 12.84 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3599, allocations: 0 / 1.365 GB, free: 12.84 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.263e-06/0.3599, allocations: 0 / 1.365 GB, free: 12.84 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.3599, allocations: 0 / 1.365 GB, free: 12.84 MB / 1.061 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.0003136/0.3602, allocations: 240.1 kB / 1.365 GB, free: 12.58 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.3603, allocations: 12.03 kB / 1.365 GB, free: 12.57 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.646e-05/0.3603, allocations: 4.938 kB / 1.365 GB, free: 12.56 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.71e-05/0.3604, allocations: 102.5 kB / 1.365 GB, free: 12.44 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.3604, allocations: 384 / 1.365 GB, free: 12.44 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/0.3604, allocations: 384 / 1.365 GB, free: 12.44 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.3605, allocations: 42.2 kB / 1.365 GB, free: 12.39 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.3605, allocations: 4.172 kB / 1.365 GB, free: 12.39 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.3606, allocations: 3.938 kB / 1.365 GB, free: 12.38 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.3606, allocations: 0 / 1.365 GB, free: 12.38 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.161e-05/0.3606, allocations: 4 kB / 1.365 GB, free: 12.38 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001205/0.3607, allocations: 93.33 kB / 1.365 GB, free: 12.26 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.346e-05/0.3608, allocations: 22.61 kB / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.143e-05/0.3608, allocations: 12.8 kB / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.214e-05/0.3608, allocations: 0 / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.3608, allocations: 38.62 kB / 1.365 GB, free: 12.16 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 7.62e-07/0.3608, allocations: 3.938 kB / 1.365 GB, free: 12.16 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0001278/0.361, allocations: 37.62 kB / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/0.361, allocations: 51.41 kB / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.097e-05/0.3611, allocations: 93.86 kB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.3611, allocations: 25.7 kB / 1.365 GB, free: 11.92 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.135e-05/0.3611, allocations: 80.14 kB / 1.365 GB, free: 11.84 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.537e-05/0.3611, allocations: 4.125 kB / 1.365 GB, free: 11.84 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.018e-05/0.3612, allocations: 13.72 kB / 1.365 GB, free: 11.82 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.3613, allocations: 314.8 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.077e-06/0.3613, allocations: 0 / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.691e-06/0.3613, allocations: 3.938 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.896e-05/0.3613, allocations: 12.84 kB / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.3613, allocations: 0 / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.331e-05/0.3614, allocations: 37.64 kB / 1.366 GB, free: 11.44 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.3614, allocations: 4 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.3614, allocations: 4.094 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.3614, allocations: 0 / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.586e-05/0.3615, allocations: 7.938 kB / 1.366 GB, free: 11.42 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.3615, allocations: 0 / 1.366 GB, free: 11.42 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.219e-05/0.3615, allocations: 0 / 1.366 GB, free: 11.42 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.3615, allocations: 0 / 1.366 GB, free: 11.42 MB / 1.061 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 8.04e-05/0.3616, allocations: 122.9 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.131e-06/0.3616, allocations: 0 / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.656e-05/0.3617, allocations: 36.7 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/0.3617, allocations: 7.938 kB / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.3617, allocations: 3.984 kB / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.3617, allocations: 0 / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.367e-05/0.3618, allocations: 97.33 kB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.3618, allocations: 0 / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.8e-05/0.3618, allocations: 4 kB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.3618, allocations: 0 / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.3618, allocations: 0 / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.3618, allocations: 0 / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.155e-06/0.3618, allocations: 3.938 kB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.767e-05/0.3619, allocations: 65.09 kB / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.908e-06/0.3619, allocations: 0 / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.3619, allocations: 7.938 kB / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.031e-05/0.3619, allocations: 4 kB / 1.366 GB, free: 11.01 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.591e-05/0.3619, allocations: 7.938 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-06/0.3619, allocations: 0 / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.662e-05/0.362, allocations: 75.28 kB / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.362, allocations: 0 / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001807/0.3622, allocations: 4 kB / 1.366 GB, free: 10.93 MB / 1.061 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.0001575/0.3623, allocations: 103.3 kB / 1.366 GB, free: 10.81 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 7.842e-05/0.3624, allocations: 4 kB / 1.366 GB, free: 10.81 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3624, allocations: 0 / 1.366 GB, free: 10.81 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.148e-05/0.3624, allocations: 7.938 kB / 1.366 GB, free: 10.8 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001269/0.3625, allocations: 1.562 kB / 1.366 GB, free: 10.8 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002182/0.3628, allocations: 88.86 kB / 1.366 GB, free: 10.69 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.843e-05/0.3628, allocations: 55.34 kB / 1.366 GB, free: 10.61 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.595e-05/0.3628, allocations: 8.125 kB / 1.366 GB, free: 10.61 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.262e-05/0.3628, allocations: 7.438 kB / 1.366 GB, free: 10.6 MB / 1.061 GB Notification: Performance of SimCode: time 2.8e-07/0.3628, allocations: 0 / 1.366 GB, free: 10.6 MB / 1.061 GB Notification: Performance of Templates: time 0.00239/0.3652, allocations: 261.6 kB / 1.367 GB, free: 10.34 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_Polynomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.719562930986285]