Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.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.001841/0.001841, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.002123/0.002123, allocations: 190.8 kB / 22.23 MB, free: 5.105 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.77/1.77, allocations: 225.6 MB / 251 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.612/2.612, allocations: 443.4 MB / 0.7321 GB, free: 12.34 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x",fileNamePrefix="Buildings_10_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_10_Buildings.Utilities.Math.Functions.Examples.Polynomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 68.12 kB / 1.062 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7961/0.7981, allocations: 160.8 MB / 1.218 GB, free: 3.73 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001984/0.8001, allocations: 0.5817 MB / 1.219 GB, free: 3.301 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0002787/0.8004, allocations: 36.28 kB / 1.219 GB, free: 3.273 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.439e-05/0.8004, allocations: 1.5 kB / 1.219 GB, free: 3.273 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.715e-05/0.8004, allocations: 7.875 kB / 1.219 GB, free: 3.266 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.621e-06/0.8004, allocations: 0 / 1.219 GB, free: 3.266 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003196/0.8007, allocations: 14.23 kB / 1.219 GB, free: 3.258 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 4.29e-05/0.8008, allocations: 1.438 kB / 1.219 GB, free: 3.258 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.673e-05/0.8008, allocations: 5.078 kB / 1.219 GB, free: 3.254 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.487e-05/0.8009, allocations: 9.062 kB / 1.219 GB, free: 3.246 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 2.547e-05/0.8009, allocations: 1.344 kB / 1.219 GB, free: 3.246 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.278e-06/0.8009, allocations: 0 / 1.219 GB, free: 3.246 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.902e-05/0.801, allocations: 23.5 kB / 1.219 GB, free: 3.23 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.099e-05/0.801, allocations: 7.922 kB / 1.219 GB, free: 3.223 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 1.785e-05/0.801, allocations: 1.188 kB / 1.219 GB, free: 3.223 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001061/0.8011, allocations: 18.59 kB / 1.219 GB, free: 3.211 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.8011, allocations: 0 / 1.219 GB, free: 3.211 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.403e-06/0.8011, allocations: 0 / 1.219 GB, free: 3.211 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.006e-05/0.8011, allocations: 1.125 kB / 1.219 GB, free: 3.211 MB / 0.92 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.0004087/0.8015, allocations: 323 kB / 1.219 GB, free: 2.852 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.8016, allocations: 9.25 kB / 1.22 GB, free: 2.852 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.702e-05/0.8016, allocations: 2.062 kB / 1.22 GB, free: 2.852 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.8017, allocations: 160.4 kB / 1.22 GB, free: 2.656 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.8017, allocations: 384 / 1.22 GB, free: 2.656 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.105e-05/0.8018, allocations: 1.625 kB / 1.22 GB, free: 2.656 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/0.8019, allocations: 32.53 kB / 1.22 GB, free: 2.621 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.8019, allocations: 192 / 1.22 GB, free: 2.621 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.8019, allocations: 3.938 kB / 1.22 GB, free: 2.617 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.8019, allocations: 5.094 kB / 1.22 GB, free: 2.613 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.137e-05/0.8019, allocations: 5.125 kB / 1.22 GB, free: 2.609 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001745/0.8021, allocations: 150.8 kB / 1.22 GB, free: 2.414 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 4.877e-05/0.8021, allocations: 16.86 kB / 1.22 GB, free: 2.391 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.883e-05/0.8022, allocations: 5.953 kB / 1.22 GB, free: 2.383 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.991e-05/0.8022, allocations: 5.297 kB / 1.22 GB, free: 2.379 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.8022, allocations: 31.53 kB / 1.22 GB, free: 2.34 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 1.312e-06/0.8022, allocations: 4 kB / 1.22 GB, free: 2.336 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0001545/0.8024, allocations: 47.5 kB / 1.22 GB, free: 2.289 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.757e-05/0.8024, allocations: 52.53 kB / 1.22 GB, free: 2.227 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.842e-05/0.8025, allocations: 89.86 kB / 1.22 GB, free: 2.129 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.8025, allocations: 25.7 kB / 1.22 GB, free: 2.098 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.104e-05/0.8025, allocations: 80.14 kB / 1.22 GB, free: 2.016 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.894e-05/0.8026, allocations: 1.188 kB / 1.22 GB, free: 2.016 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.949e-05/0.8026, allocations: 12.41 kB / 1.22 GB, free: 2 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.8027, allocations: 319 kB / 1.221 GB, free: 1.68 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.095e-05/0.8027, allocations: 1.5 kB / 1.221 GB, free: 1.68 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.716e-06/0.8027, allocations: 5.469 kB / 1.221 GB, free: 1.676 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.889e-05/0.8028, allocations: 15.39 kB / 1.221 GB, free: 1.66 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.8028, allocations: 0 / 1.221 GB, free: 1.66 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.471e-05/0.8028, allocations: 39.28 kB / 1.221 GB, free: 1.621 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.8028, allocations: 5.406 kB / 1.221 GB, free: 1.621 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.8029, allocations: 0 / 1.221 GB, free: 1.621 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.8029, allocations: 13.42 kB / 1.221 GB, free: 1.609 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.402e-05/0.8029, allocations: 1.031 kB / 1.221 GB, free: 1.609 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.8029, allocations: 1.094 kB / 1.221 GB, free: 1.609 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.193e-05/0.8029, allocations: 0 / 1.221 GB, free: 1.609 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.803, allocations: 2.344 kB / 1.221 GB, free: 1.609 MB / 0.92 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.743e-05/0.803, allocations: 110.9 kB / 1.221 GB, free: 1.492 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.462e-06/0.803, allocations: 0 / 1.221 GB, free: 1.492 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001323/0.8032, allocations: 54.34 kB / 1.221 GB, free: 1.441 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.8032, allocations: 1.219 kB / 1.221 GB, free: 1.441 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.8032, allocations: 0 / 1.221 GB, free: 1.441 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.8032, allocations: 1.375 kB / 1.221 GB, free: 1.441 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001242/0.8033, allocations: 141.7 kB / 1.221 GB, free: 1.254 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.8033, allocations: 1.25 kB / 1.221 GB, free: 1.254 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.977e-05/0.8033, allocations: 5.266 kB / 1.221 GB, free: 1.25 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.8033, allocations: 1.156 kB / 1.221 GB, free: 1.25 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.098e-06/0.8033, allocations: 7.875 kB / 1.221 GB, free: 1.242 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.8033, allocations: 5.125 kB / 1.221 GB, free: 1.238 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.8034, allocations: 0 / 1.221 GB, free: 1.238 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.781e-05/0.8034, allocations: 55.02 kB / 1.221 GB, free: 1.172 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.223e-05/0.8035, allocations: 82.12 kB / 1.221 GB, free: 1.074 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.8035, allocations: 5.031 kB / 1.221 GB, free: 1.07 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.142e-05/0.8035, allocations: 0 / 1.221 GB, free: 1.07 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.86e-05/0.8035, allocations: 1.156 kB / 1.221 GB, free: 1.07 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.8035, allocations: 1.375 kB / 1.221 GB, free: 1.07 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.701e-05/0.8036, allocations: 83.22 kB / 1.221 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8036, allocations: 0 / 1.221 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002112/0.8038, allocations: 7.766 kB / 1.221 GB, free: 0.9883 MB / 0.92 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.0001393/0.8039, allocations: 100.5 kB / 1.221 GB, free: 0.8945 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 8.039e-05/0.804, allocations: 12.39 kB / 1.221 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.804, allocations: 0 / 1.221 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 7.594e-06/0.804, allocations: 2.5 kB / 1.221 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001328/0.8042, allocations: 9.188 kB / 1.221 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002071/0.8044, allocations: 79.3 kB / 1.221 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003484/0.8047, allocations: 0.6702 MB / 1.222 GB, free: 88 kB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.666e-05/0.8047, allocations: 9.172 kB / 1.222 GB, free: 80 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.304e-05/0.8048, allocations: 12.62 kB / 1.222 GB, free: 72 kB / 0.92 GB Notification: Performance of SimCode: time 3.3e-07/0.8048, allocations: 3.938 kB / 1.222 GB, free: 68 kB / 0.92 GB Notification: Performance of Templates: time 0.002696/0.8075, allocations: 295.2 kB / 1.222 GB, free: 15.91 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_Polynomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.815227745100856]