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.001259/0.001259, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001459/0.001459, allocations: 213.3 kB / 23.01 MB, free: 4.566 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.448/1.448, allocations: 230.6 MB / 256.8 MB, free: 8.027 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.206/3.206, allocations: 0.505 GB / 0.8108 GB, free: 22.05 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.002021/0.002021, allocations: 67.7 kB / 1.178 GB, free: 16.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.351/0.353, allocations: 180.2 MB / 1.354 GB, free: 7.93 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001759/0.3548, allocations: 0.5913 MB / 1.355 GB, free: 7.34 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0002118/0.355, allocations: 23.89 kB / 1.355 GB, free: 7.316 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.24e-05/0.355, allocations: 3.938 kB / 1.355 GB, free: 7.312 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.594e-05/0.355, allocations: 0 / 1.355 GB, free: 7.312 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.993e-06/0.355, allocations: 4 kB / 1.355 GB, free: 7.309 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002622/0.3553, allocations: 15.97 kB / 1.355 GB, free: 7.293 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 4.025e-05/0.3553, allocations: 0 / 1.355 GB, free: 7.293 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.549e-05/0.3554, allocations: 8 kB / 1.355 GB, free: 7.285 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 1.464e-05/0.3554, allocations: 4 kB / 1.355 GB, free: 7.281 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 2.057e-05/0.3554, allocations: 0 / 1.355 GB, free: 7.281 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.088e-05/0.3554, allocations: 0 / 1.355 GB, free: 7.281 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.952e-05/0.3555, allocations: 16.38 kB / 1.355 GB, free: 7.266 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.943e-06/0.3555, allocations: 0 / 1.355 GB, free: 7.266 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 1.641e-05/0.3555, allocations: 0 / 1.355 GB, free: 7.266 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 8.388e-05/0.3556, allocations: 11.98 kB / 1.355 GB, free: 7.254 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.3556, allocations: 0 / 1.355 GB, free: 7.254 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.063e-06/0.3556, allocations: 0 / 1.355 GB, free: 7.254 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.3556, allocations: 7.938 kB / 1.355 GB, free: 7.246 MB / 1.045 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.0003002/0.3559, allocations: 242.4 kB / 1.355 GB, free: 6.977 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.3559, allocations: 8.031 kB / 1.355 GB, free: 6.969 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.506e-05/0.356, allocations: 0.9375 kB / 1.355 GB, free: 6.969 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.538e-05/0.356, allocations: 106.5 kB / 1.355 GB, free: 6.84 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.3561, allocations: 8.312 kB / 1.355 GB, free: 6.832 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.3561, allocations: 4.375 kB / 1.355 GB, free: 6.828 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.102e-05/0.3562, allocations: 30.27 kB / 1.355 GB, free: 6.793 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.3562, allocations: 192 / 1.355 GB, free: 6.793 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.729e-06/0.3562, allocations: 3.938 kB / 1.355 GB, free: 6.789 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.3562, allocations: 4 kB / 1.355 GB, free: 6.785 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.039e-05/0.3562, allocations: 7.984 kB / 1.355 GB, free: 6.777 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000129/0.3563, allocations: 112.8 kB / 1.355 GB, free: 6.625 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 5.31e-05/0.3564, allocations: 26.55 kB / 1.355 GB, free: 6.59 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.546e-05/0.3564, allocations: 4.859 kB / 1.355 GB, free: 6.582 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.461e-05/0.3564, allocations: 11.98 kB / 1.355 GB, free: 6.57 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.3565, allocations: 34.56 kB / 1.355 GB, free: 6.527 MB / 1.045 GB Notification: Performance of pre-optimization done (n=1): time 9.11e-07/0.3565, allocations: 0 / 1.355 GB, free: 6.527 MB / 1.045 GB Notification: Performance of matching and sorting (n=1): time 0.0001244/0.3566, allocations: 41.56 kB / 1.355 GB, free: 6.48 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/0.3566, allocations: 51.41 kB / 1.355 GB, free: 6.418 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.789e-05/0.3567, allocations: 89.86 kB / 1.356 GB, free: 6.32 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.3567, allocations: 29.7 kB / 1.356 GB, free: 6.285 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.494e-05/0.3567, allocations: 84.14 kB / 1.356 GB, free: 6.199 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.397e-05/0.3567, allocations: 3.953 kB / 1.356 GB, free: 6.195 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.684e-05/0.3568, allocations: 9.844 kB / 1.356 GB, free: 6.18 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.3569, allocations: 314.8 kB / 1.356 GB, free: 5.863 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.057e-06/0.3569, allocations: 4 kB / 1.356 GB, free: 5.859 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.531e-06/0.3569, allocations: 0 / 1.356 GB, free: 5.859 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.254e-05/0.357, allocations: 12.84 kB / 1.356 GB, free: 5.844 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.357, allocations: 0 / 1.356 GB, free: 5.844 MB / 1.045 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.463e-05/0.357, allocations: 37.64 kB / 1.356 GB, free: 5.801 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.357, allocations: 8 kB / 1.356 GB, free: 5.793 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.357, allocations: 4.094 kB / 1.356 GB, free: 5.789 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.357, allocations: 3.938 kB / 1.356 GB, free: 5.785 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.811e-05/0.3571, allocations: 0 / 1.356 GB, free: 5.785 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.077e-06/0.3571, allocations: 0 / 1.356 GB, free: 5.785 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.478e-05/0.3571, allocations: 4 kB / 1.356 GB, free: 5.781 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/0.3571, allocations: 0 / 1.356 GB, free: 5.781 MB / 1.045 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.363e-05/0.3572, allocations: 114.4 kB / 1.356 GB, free: 5.66 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.042e-06/0.3572, allocations: 0 / 1.356 GB, free: 5.66 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001045/0.3573, allocations: 48.64 kB / 1.356 GB, free: 5.605 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.3573, allocations: 7.922 kB / 1.356 GB, free: 5.598 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.3573, allocations: 0 / 1.356 GB, free: 5.598 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.3573, allocations: 0 / 1.356 GB, free: 5.598 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.373e-05/0.3574, allocations: 116.8 kB / 1.356 GB, free: 5.441 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.3574, allocations: 0 / 1.356 GB, free: 5.441 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.753e-05/0.3574, allocations: 3.938 kB / 1.356 GB, free: 5.438 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-06/0.3574, allocations: 0 / 1.356 GB, free: 5.438 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.3574, allocations: 3.938 kB / 1.356 GB, free: 5.434 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.3574, allocations: 8.031 kB / 1.356 GB, free: 5.426 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.3574, allocations: 4 kB / 1.356 GB, free: 5.422 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001095/0.3575, allocations: 57.12 kB / 1.356 GB, free: 5.348 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.37e-06/0.3576, allocations: 4 kB / 1.356 GB, free: 5.344 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.128e-05/0.3576, allocations: 3.938 kB / 1.356 GB, free: 5.34 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.078e-05/0.3576, allocations: 0 / 1.356 GB, free: 5.34 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.108e-05/0.3576, allocations: 0 / 1.356 GB, free: 5.34 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.3576, allocations: 8.016 kB / 1.356 GB, free: 5.332 MB / 1.045 GB Notification: Performance of sorting global known variables: time 3.163e-05/0.3576, allocations: 79.22 kB / 1.356 GB, free: 5.254 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3576, allocations: 4 kB / 1.356 GB, free: 5.25 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001974/0.3578, allocations: 0 / 1.356 GB, free: 5.25 MB / 1.045 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.0001634/0.358, allocations: 99.23 kB / 1.357 GB, free: 5.141 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 7.379e-05/0.3581, allocations: 11.94 kB / 1.357 GB, free: 5.129 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3581, allocations: 0 / 1.357 GB, free: 5.129 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 9.478e-06/0.3581, allocations: 4.062 kB / 1.357 GB, free: 5.125 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001253/0.3582, allocations: 5.625 kB / 1.357 GB, free: 5.121 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002103/0.3584, allocations: 110.6 kB / 1.357 GB, free: 4.98 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003537/0.3588, allocations: 0.669 MB / 1.357 GB, free: 4.285 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.371e-05/0.3588, allocations: 7.438 kB / 1.357 GB, free: 4.281 MB / 1.045 GB Notification: Performance of SimCode: time 3.11e-07/0.3588, allocations: 0 / 1.357 GB, free: 4.281 MB / 1.045 GB Notification: Performance of Templates: time 0.001841/0.3606, allocations: 436.2 kB / 1.358 GB, free: 3.855 MB / 1.045 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/jenkins1/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: 11.008285734016681]