Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 111.1 kB / 16.41 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 189.2 kB / 17.34 MB, free: 5.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.356/2.356, allocations: 437.1 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0018/0.0018, allocations: 76.08 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6969/0.6988, allocations: 151.6 MB / 1.167 GB, free: 3.895 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002311/0.7011, allocations: 1.429 MB / 1.169 GB, free: 2.453 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0002956/0.7014, allocations: 110.9 kB / 1.169 GB, free: 2.344 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.827e-05/0.7014, allocations: 0 / 1.169 GB, free: 2.344 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 5.927e-05/0.7015, allocations: 3.938 kB / 1.169 GB, free: 2.34 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 2.777e-05/0.7016, allocations: 0 / 1.169 GB, free: 2.34 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000212/0.7018, allocations: 27.91 kB / 1.169 GB, free: 2.312 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.014e-05/0.7018, allocations: 19.92 kB / 1.169 GB, free: 2.293 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 7.351e-05/0.7019, allocations: 15.98 kB / 1.169 GB, free: 2.277 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.09e-05/0.702, allocations: 4 kB / 1.169 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.918e-05/0.702, allocations: 15.92 kB / 1.169 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.05e-05/0.702, allocations: 0 / 1.169 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 7.974e-05/0.7021, allocations: 19.98 kB / 1.169 GB, free: 2.238 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.465e-05/0.7021, allocations: 7.984 kB / 1.169 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.872e-05/0.7022, allocations: 15.88 kB / 1.169 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001054/0.7023, allocations: 31.94 kB / 1.169 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.7023, allocations: 4 kB / 1.169 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.342e-06/0.7023, allocations: 4 kB / 1.169 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.7023, allocations: 0 / 1.169 GB, free: 2.176 MB / 0.8887 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.0004441/0.7028, allocations: 351.8 kB / 1.169 GB, free: 1.785 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.1e-05/0.7028, allocations: 8.922 kB / 1.169 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.049e-05/0.7028, allocations: 4.938 kB / 1.169 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.703, allocations: 172.3 kB / 1.169 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.653e-06/0.703, allocations: 384 / 1.169 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.703, allocations: 384 / 1.169 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.7032, allocations: 54.23 kB / 1.17 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.7032, allocations: 4.188 kB / 1.17 GB, free: 1.504 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.7032, allocations: 3.938 kB / 1.17 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.7032, allocations: 0 / 1.17 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001565/0.7034, allocations: 35.95 kB / 1.17 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000339/0.7037, allocations: 256.9 kB / 1.17 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.7039, allocations: 50.44 kB / 1.17 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.41e-05/0.704, allocations: 24.89 kB / 1.17 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.503e-05/0.704, allocations: 0 / 1.17 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.704, allocations: 34.56 kB / 1.17 GB, free: 1.035 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.704, allocations: 4 kB / 1.17 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0003425/0.7044, allocations: 85.58 kB / 1.17 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.7044, allocations: 55.41 kB / 1.17 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.6e-05/0.7045, allocations: 109.8 kB / 1.17 GB, free: 0.7578 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.7045, allocations: 25.7 kB / 1.17 GB, free: 0.7266 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.589e-05/0.7046, allocations: 80.14 kB / 1.17 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.418e-05/0.7046, allocations: 3.953 kB / 1.17 GB, free: 0.6406 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.277e-05/0.7047, allocations: 21.78 kB / 1.17 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.7048, allocations: 318.8 kB / 1.171 GB, free: 300 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.917e-05/0.7049, allocations: 19.98 kB / 1.171 GB, free: 280 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.826e-05/0.7049, allocations: 15.98 kB / 1.171 GB, free: 264 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/0.7051, allocations: 44.81 kB / 1.171 GB, free: 216 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.7051, allocations: 64 / 1.171 GB, free: 216 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001877/0.7053, allocations: 77.53 kB / 1.171 GB, free: 132 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.7053, allocations: 8 kB / 1.171 GB, free: 124 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/0.7053, allocations: 0 / 1.171 GB, free: 124 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.7054, allocations: 0 / 1.171 GB, free: 124 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.64e-05/0.7054, allocations: 11.98 kB / 1.171 GB, free: 112 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.7054, allocations: 0 / 1.171 GB, free: 112 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.318e-05/0.7055, allocations: 12.14 kB / 1.171 GB, free: 100 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.7055, allocations: 4.031 kB / 1.171 GB, free: 96 kB / 0.8887 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 9.606e-05/0.7056, allocations: 117.8 kB / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3e-05/0.7056, allocations: 11.98 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002147/0.7059, allocations: 69.19 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.7059, allocations: 0 / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.7059, allocations: 3.938 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.7059, allocations: 0 / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001719/0.7061, allocations: 173.6 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.7061, allocations: 0 / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.42e-05/0.7061, allocations: 11.98 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.7061, allocations: 0 / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-06/0.7061, allocations: 0 / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.7062, allocations: 0 / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.7062, allocations: 0 / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002425/0.7064, allocations: 171.5 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.283e-05/0.7065, allocations: 81.06 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.015e-05/0.7065, allocations: 0 / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.089e-05/0.7065, allocations: 7.984 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.7066, allocations: 4 kB / 1.171 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-06/0.7066, allocations: 0 / 1.171 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.746e-05/0.7067, allocations: 87.27 kB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.874e-06/0.7067, allocations: 0 / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002124/0.7069, allocations: 19.91 kB / 1.172 GB, free: 15.25 MB / 0.9044 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.0001292/0.707, allocations: 99.25 kB / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002177/0.7072, allocations: 39.95 kB / 1.172 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.7072, allocations: 0 / 1.172 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.04e-05/0.7073, allocations: 19.98 kB / 1.172 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002404/0.7076, allocations: 22.48 kB / 1.172 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002445/0.7078, allocations: 105.4 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/0.7081, allocations: 0.6884 MB / 1.172 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.399e-05/0.7082, allocations: 3.984 kB / 1.172 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.808e-05/0.7082, allocations: 7.438 kB / 1.172 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of SimCode: time 2.1e-07/0.7082, allocations: 0 / 1.172 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of Templates: time 0.002719/0.7109, allocations: 0.5422 MB / 1.173 GB, free: 13.67 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_Polynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches