Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001297/0.001297, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001395/0.001395, allocations: 160.7 kB / 23.01 MB, free: 4.594 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.422/1.422, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.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 2.77/2.77, allocations: 377.9 MB / 0.6228 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 177] 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.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_12_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.002199/0.002199, allocations: 63.91 kB / 0.9819 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8031/0.8053, allocations: 176.1 MB / 1.154 GB, free: 33.31 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002077/0.8074, allocations: 1.459 MB / 1.155 GB, free: 32.31 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0002884/0.8077, allocations: 89.17 kB / 1.155 GB, free: 32.25 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.86e-05/0.8077, allocations: 2.75 kB / 1.155 GB, free: 32.25 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 5.395e-05/0.8077, allocations: 3.281 kB / 1.155 GB, free: 32.25 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 3.067e-05/0.8078, allocations: 3.938 kB / 1.155 GB, free: 32.25 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002371/0.808, allocations: 23.7 kB / 1.155 GB, free: 32.23 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 5.97e-05/0.8081, allocations: 26.97 kB / 1.155 GB, free: 32.22 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 7.631e-05/0.8081, allocations: 9.703 kB / 1.155 GB, free: 32.21 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 2.194e-05/0.8082, allocations: 6.781 kB / 1.155 GB, free: 32.21 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 3.464e-05/0.8082, allocations: 17.11 kB / 1.156 GB, free: 32.2 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.088e-05/0.8082, allocations: 0 / 1.156 GB, free: 32.2 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 7.979e-05/0.8083, allocations: 21.22 kB / 1.156 GB, free: 32.2 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 3.386e-05/0.8083, allocations: 7.219 kB / 1.156 GB, free: 32.2 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.15e-05/0.8083, allocations: 10.69 kB / 1.156 GB, free: 32.19 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 9.95e-05/0.8084, allocations: 33.14 kB / 1.156 GB, free: 32.18 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.8085, allocations: 2.812 kB / 1.156 GB, free: 32.18 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.273e-06/0.8085, allocations: 7.938 kB / 1.156 GB, free: 32.17 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.8085, allocations: 0 / 1.156 GB, free: 32.17 MB / 1.076 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.000335/0.8088, allocations: 265.9 kB / 1.156 GB, free: 31.9 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.8088, allocations: 10.56 kB / 1.156 GB, free: 31.9 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.966e-05/0.8089, allocations: 7.672 kB / 1.156 GB, free: 31.89 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.492e-05/0.8089, allocations: 109.1 kB / 1.156 GB, free: 31.77 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.8089, allocations: 4.312 kB / 1.156 GB, free: 31.76 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.727e-06/0.8089, allocations: 7.375 kB / 1.156 GB, free: 31.76 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.8091, allocations: 50.22 kB / 1.156 GB, free: 31.72 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.8091, allocations: 4.188 kB / 1.156 GB, free: 31.72 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.8091, allocations: 6.719 kB / 1.156 GB, free: 31.71 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-06/0.8091, allocations: 0 / 1.156 GB, free: 31.71 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001572/0.8093, allocations: 33.53 kB / 1.156 GB, free: 31.71 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002043/0.8095, allocations: 200.3 kB / 1.156 GB, free: 31.5 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001123/0.8096, allocations: 44.64 kB / 1.156 GB, free: 31.47 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.896e-05/0.8097, allocations: 26.34 kB / 1.156 GB, free: 31.46 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.76e-05/0.8097, allocations: 6.312 kB / 1.156 GB, free: 31.46 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.455e-05/0.8097, allocations: 37.34 kB / 1.156 GB, free: 31.41 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.8097, allocations: 0 / 1.156 GB, free: 31.41 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0003101/0.81, allocations: 84.62 kB / 1.156 GB, free: 31.38 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.139e-05/0.81, allocations: 59.34 kB / 1.156 GB, free: 31.3 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.601e-05/0.8101, allocations: 108.2 kB / 1.157 GB, free: 31.2 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.57e-06/0.8101, allocations: 25.83 kB / 1.157 GB, free: 31.17 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.132e-05/0.8101, allocations: 84.14 kB / 1.157 GB, free: 31.09 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.387e-05/0.8101, allocations: 6.922 kB / 1.157 GB, free: 31.08 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.438e-05/0.8101, allocations: 17.09 kB / 1.157 GB, free: 31.06 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.379e-05/0.8102, allocations: 313.3 kB / 1.157 GB, free: 30.75 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.097e-05/0.8103, allocations: 22.41 kB / 1.157 GB, free: 30.75 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.83e-05/0.8103, allocations: 11.88 kB / 1.157 GB, free: 30.75 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.8105, allocations: 50.62 kB / 1.157 GB, free: 30.73 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.8105, allocations: 0 / 1.157 GB, free: 30.73 MB / 1.076 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001729/0.8106, allocations: 70.64 kB / 1.157 GB, free: 30.69 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.8107, allocations: 10.59 kB / 1.157 GB, free: 30.68 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.8107, allocations: 3 kB / 1.157 GB, free: 30.68 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.8107, allocations: 0 / 1.157 GB, free: 30.68 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.61e-05/0.8107, allocations: 14.09 kB / 1.157 GB, free: 30.68 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.888e-06/0.8108, allocations: 0 / 1.157 GB, free: 30.68 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.471e-05/0.8108, allocations: 10.42 kB / 1.157 GB, free: 30.67 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-06/0.8108, allocations: 0 / 1.157 GB, free: 30.67 MB / 1.076 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 4.009e-05/0.8108, allocations: 116.1 kB / 1.157 GB, free: 30.55 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.386e-05/0.8109, allocations: 10.89 kB / 1.157 GB, free: 30.55 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001967/0.8111, allocations: 69.97 kB / 1.157 GB, free: 30.5 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.8111, allocations: 3.062 kB / 1.157 GB, free: 30.5 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.8111, allocations: 0 / 1.157 GB, free: 30.5 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.834e-06/0.8111, allocations: 0 / 1.157 GB, free: 30.5 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.729e-05/0.8112, allocations: 110.6 kB / 1.158 GB, free: 30.38 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.8112, allocations: 0 / 1.158 GB, free: 30.38 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.435e-05/0.8112, allocations: 13.67 kB / 1.158 GB, free: 30.37 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.8112, allocations: 7.922 kB / 1.158 GB, free: 30.36 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.8112, allocations: 7 kB / 1.158 GB, free: 30.36 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.8112, allocations: 0 / 1.158 GB, free: 30.36 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.8112, allocations: 0 / 1.158 GB, free: 30.36 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001835/0.8114, allocations: 163 kB / 1.158 GB, free: 30.22 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.812e-06/0.8114, allocations: 11.19 kB / 1.158 GB, free: 30.21 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.378e-06/0.8114, allocations: 0 / 1.158 GB, free: 30.21 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.412e-05/0.8115, allocations: 10.16 kB / 1.158 GB, free: 30.21 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.006e-05/0.8115, allocations: 2.938 kB / 1.158 GB, free: 30.21 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-06/0.8115, allocations: 0 / 1.158 GB, free: 30.21 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.261e-05/0.8116, allocations: 83.88 kB / 1.158 GB, free: 30.14 MB / 1.076 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8116, allocations: 0 / 1.158 GB, free: 30.14 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002227/0.8118, allocations: 16.47 kB / 1.158 GB, free: 30.13 MB / 1.076 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 8.993e-05/0.8119, allocations: 96.69 kB / 1.158 GB, free: 30.04 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001939/0.8121, allocations: 49.12 kB / 1.158 GB, free: 30.03 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.8121, allocations: 0 / 1.158 GB, free: 30.03 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 8.049e-05/0.8121, allocations: 17.92 kB / 1.158 GB, free: 30.03 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/0.8124, allocations: 6 kB / 1.158 GB, free: 30.03 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002233/0.8126, allocations: 120.2 kB / 1.158 GB, free: 29.91 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.467e-05/0.8126, allocations: 60.47 kB / 1.158 GB, free: 29.84 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 1.837e-05/0.8127, allocations: 4.125 kB / 1.158 GB, free: 29.84 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.691e-05/0.8127, allocations: 15.34 kB / 1.158 GB, free: 29.82 MB / 1.076 GB Notification: Performance of SimCode: time 3.01e-07/0.8127, allocations: 3.938 kB / 1.158 GB, free: 29.82 MB / 1.076 GB Notification: Performance of Templates: time 0.002532/0.8152, allocations: 0.5659 MB / 1.159 GB, free: 29.73 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Polynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.257367277052253]