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.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.001544/0.001544, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001885/0.001885, allocations: 213.4 kB / 22.25 MB, free: 5.262 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.494/1.494, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.786/2.786, allocations: 476 MB / 0.7699 GB, free: 4.762 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.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: 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.002158/0.002158, allocations: 63.88 kB / 1.117 GB, free: 9.121 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3506/0.3527, allocations: 169.9 MB / 1.283 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002815/0.3556, allocations: 1.466 MB / 1.284 GB, free: 2.336 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003207/0.3559, allocations: 87.75 kB / 1.285 GB, free: 2.25 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.707e-05/0.3559, allocations: 0 / 1.285 GB, free: 2.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.938e-05/0.356, allocations: 4 kB / 1.285 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.324e-05/0.356, allocations: 7.922 kB / 1.285 GB, free: 2.238 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002488/0.3563, allocations: 19.98 kB / 1.285 GB, free: 2.219 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.383e-05/0.3563, allocations: 19.92 kB / 1.285 GB, free: 2.199 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.783e-05/0.3564, allocations: 8 kB / 1.285 GB, free: 2.191 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.745e-05/0.3565, allocations: 7.922 kB / 1.285 GB, free: 2.184 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.82e-05/0.3565, allocations: 11.98 kB / 1.285 GB, free: 2.172 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.268e-05/0.3565, allocations: 8 kB / 1.285 GB, free: 2.164 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.329e-05/0.3566, allocations: 19.92 kB / 1.285 GB, free: 2.145 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.05e-05/0.3566, allocations: 11.92 kB / 1.285 GB, free: 2.133 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.177e-05/0.3567, allocations: 7.938 kB / 1.285 GB, free: 2.125 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.3568, allocations: 39.88 kB / 1.285 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.3568, allocations: 0 / 1.285 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.263e-06/0.3568, allocations: 0 / 1.285 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.3568, allocations: 3.938 kB / 1.285 GB, free: 2.082 MB / 0.9825 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.000443/0.3572, allocations: 268.2 kB / 1.285 GB, free: 1.793 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.3573, allocations: 16.03 kB / 1.285 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.402e-05/0.3573, allocations: 4.938 kB / 1.285 GB, free: 1.773 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.3574, allocations: 110.5 kB / 1.285 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.3574, allocations: 384 / 1.285 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.825e-06/0.3575, allocations: 384 / 1.285 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.3576, allocations: 50.23 kB / 1.285 GB, free: 1.586 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.3576, allocations: 3.938 kB / 1.285 GB, free: 1.582 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.3577, allocations: 11.94 kB / 1.285 GB, free: 1.57 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.3577, allocations: 0 / 1.285 GB, free: 1.57 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001804/0.3578, allocations: 43.94 kB / 1.285 GB, free: 1.527 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003236/0.3582, allocations: 196.6 kB / 1.285 GB, free: 1.305 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001834/0.3583, allocations: 38.56 kB / 1.285 GB, free: 1.258 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/0.3585, allocations: 32.83 kB / 1.285 GB, free: 1.223 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.776e-05/0.3585, allocations: 0 / 1.285 GB, free: 1.223 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.3585, allocations: 38.5 kB / 1.285 GB, free: 1.176 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.3585, allocations: 0 / 1.285 GB, free: 1.176 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003841/0.3589, allocations: 85.64 kB / 1.286 GB, free: 1.086 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.796e-05/0.3589, allocations: 55.41 kB / 1.286 GB, free: 1.02 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.977e-05/0.359, allocations: 105.8 kB / 1.286 GB, free: 0.9062 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.3591, allocations: 29.64 kB / 1.286 GB, free: 0.8711 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.588e-05/0.3591, allocations: 84.09 kB / 1.286 GB, free: 0.7852 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.339e-05/0.3592, allocations: 15.89 kB / 1.286 GB, free: 0.7695 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.192e-05/0.3592, allocations: 9.719 kB / 1.286 GB, free: 0.7539 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.3594, allocations: 318.8 kB / 1.286 GB, free: 444 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.972e-05/0.3594, allocations: 20.11 kB / 1.286 GB, free: 424 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.097e-05/0.3595, allocations: 19.98 kB / 1.286 GB, free: 404 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001586/0.3597, allocations: 44.75 kB / 1.286 GB, free: 356 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3597, allocations: 0 / 1.286 GB, free: 356 kB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002201/0.3599, allocations: 73.69 kB / 1.286 GB, free: 276 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.3599, allocations: 8 kB / 1.286 GB, free: 268 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.3599, allocations: 0 / 1.286 GB, free: 268 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.3599, allocations: 0 / 1.286 GB, free: 268 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.957e-05/0.36, allocations: 11.98 kB / 1.286 GB, free: 256 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.36, allocations: 3.938 kB / 1.286 GB, free: 252 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.698e-05/0.3601, allocations: 4 kB / 1.286 GB, free: 248 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.3601, allocations: 0 / 1.286 GB, free: 248 kB / 0.9825 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 8.865e-05/0.3602, allocations: 117.8 kB / 1.286 GB, free: 120 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.493e-05/0.3602, allocations: 3.938 kB / 1.286 GB, free: 116 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002551/0.3604, allocations: 85.22 kB / 1.287 GB, free: 24 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.3604, allocations: 0 / 1.287 GB, free: 24 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.3604, allocations: 0 / 1.287 GB, free: 24 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.3605, allocations: 256 / 1.287 GB, free: 24 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001578/0.3606, allocations: 109.3 kB / 1.287 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.3606, allocations: 4 kB / 1.287 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.185e-05/0.3607, allocations: 11.92 kB / 1.287 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3607, allocations: 0 / 1.287 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.3607, allocations: 4.031 kB / 1.287 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.089e-06/0.3607, allocations: 7.984 kB / 1.287 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.3607, allocations: 0 / 1.287 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002747/0.361, allocations: 167.4 kB / 1.287 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.045e-05/0.361, allocations: 7.938 kB / 1.287 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.171e-05/0.361, allocations: 0 / 1.287 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.268e-05/0.3611, allocations: 7.984 kB / 1.287 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.492e-05/0.3611, allocations: 0 / 1.287 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.3611, allocations: 4 kB / 1.287 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.042e-05/0.3612, allocations: 91.3 kB / 1.287 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3612, allocations: 0 / 1.287 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002415/0.3614, allocations: 8 kB / 1.287 GB, free: 15.56 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.0001537/0.3616, allocations: 101.2 kB / 1.287 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00022/0.3618, allocations: 39.95 kB / 1.287 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.3618, allocations: 0 / 1.287 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001269/0.3619, allocations: 31.92 kB / 1.287 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000279/0.3622, allocations: 10.48 kB / 1.287 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003333/0.3625, allocations: 121.4 kB / 1.287 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.724e-05/0.3626, allocations: 63.34 kB / 1.287 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.27e-05/0.3626, allocations: 0 / 1.287 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.311e-05/0.3627, allocations: 11.44 kB / 1.287 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of SimCode: time 4.51e-07/0.3627, allocations: 0 / 1.287 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of Templates: time 0.002941/0.3656, allocations: 0.5686 MB / 1.288 GB, free: 14.59 MB / 0.9981 GB " [Timeout remaining time 300] 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.840011833235621]