Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) 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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,variableFilter="time|x",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 115.1 kB / 16.42 MB, free: 6.5 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.001121/0.001122, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.431/1.431, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.448/2.448, allocations: 390.3 MB / 0.6655 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 67.91 kB / 0.9516 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9667/0.9681, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.00164/0.9698, allocations: 0.5779 MB / 1.089 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0002376/0.97, allocations: 35.31 kB / 1.089 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.37e-05/0.97, allocations: 0 / 1.089 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.802e-05/0.9701, allocations: 0 / 1.089 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.171e-06/0.9701, allocations: 0 / 1.089 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002924/0.9704, allocations: 12.95 kB / 1.089 GB, free: 5.137 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.393e-05/0.9704, allocations: 6.438 kB / 1.089 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.559e-05/0.9705, allocations: 6.125 kB / 1.089 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.429e-05/0.9705, allocations: 8.875 kB / 1.089 GB, free: 5.121 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.134e-05/0.9705, allocations: 1.578 kB / 1.089 GB, free: 5.121 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.207e-06/0.9706, allocations: 0 / 1.089 GB, free: 5.121 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.28e-05/0.9707, allocations: 19.86 kB / 1.089 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.897e-06/0.9707, allocations: 0 / 1.089 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.866e-05/0.9707, allocations: 4.719 kB / 1.089 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.079e-05/0.9708, allocations: 16.03 kB / 1.089 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.9708, allocations: 0.8125 kB / 1.089 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.292e-06/0.9708, allocations: 0 / 1.089 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.9708, allocations: 0 / 1.089 GB, free: 5.109 MB / 0.8575 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.0002767/0.9711, allocations: 318.5 kB / 1.09 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.9711, allocations: 8.828 kB / 1.09 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.109e-05/0.9712, allocations: 5.969 kB / 1.09 GB, free: 4.75 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.684e-05/0.9712, allocations: 165.7 kB / 1.09 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-06/0.9713, allocations: 384 / 1.09 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.9713, allocations: 1.5 kB / 1.09 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.232e-05/0.9714, allocations: 38.69 kB / 1.09 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.9714, allocations: 192 / 1.09 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.9714, allocations: 3.938 kB / 1.09 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.9714, allocations: 4 kB / 1.09 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.088e-05/0.9714, allocations: 3.188 kB / 1.09 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001042/0.9715, allocations: 148.1 kB / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.035e-05/0.9716, allocations: 17.67 kB / 1.09 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.573e-05/0.9716, allocations: 9.891 kB / 1.09 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.119e-05/0.9716, allocations: 5.719 kB / 1.09 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.211e-05/0.9716, allocations: 32.56 kB / 1.09 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 8.11e-07/0.9716, allocations: 4 kB / 1.09 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001204/0.9718, allocations: 37.05 kB / 1.09 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.442e-05/0.9718, allocations: 51.41 kB / 1.09 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.734e-05/0.9718, allocations: 90.38 kB / 1.09 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.274e-06/0.9718, allocations: 26.55 kB / 1.09 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.247e-05/0.9718, allocations: 80.14 kB / 1.09 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.098e-05/0.9719, allocations: 1.531 kB / 1.09 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.423e-05/0.9719, allocations: 16.58 kB / 1.09 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.398e-05/0.972, allocations: 316.9 kB / 1.091 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.02e-05/0.972, allocations: 1.312 kB / 1.091 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.424e-06/0.972, allocations: 9.219 kB / 1.091 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.157e-05/0.972, allocations: 7.625 kB / 1.091 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.972, allocations: 1.062 kB / 1.091 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.778e-05/0.9721, allocations: 36.69 kB / 1.091 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.9721, allocations: 4.969 kB / 1.091 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.9721, allocations: 1.797 kB / 1.091 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.9721, allocations: 11.88 kB / 1.091 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.12e-05/0.9722, allocations: 2.984 kB / 1.091 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.9722, allocations: 0 / 1.091 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.298e-05/0.9722, allocations: 1 kB / 1.091 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/0.9722, allocations: 1.531 kB / 1.091 GB, free: 3.523 MB / 0.8575 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 4.393e-05/0.9723, allocations: 107.5 kB / 1.091 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.793e-06/0.9723, allocations: 1.125 kB / 1.091 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.187e-05/0.9724, allocations: 49.64 kB / 1.091 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.9724, allocations: 4.969 kB / 1.091 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.9724, allocations: 0 / 1.091 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.624e-05/0.9724, allocations: 79.28 kB / 1.091 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.038e-05/0.9724, allocations: 1.344 kB / 1.091 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.204e-05/0.9724, allocations: 0.7031 kB / 1.091 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.483e-05/0.9724, allocations: 1.156 kB / 1.091 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 5.146e-05/0.9725, allocations: 115.2 kB / 1.091 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 6.799e-05/0.9726, allocations: 208.2 kB / 1.091 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.546e-05/0.9726, allocations: 1.859 kB / 1.091 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.124e-05/0.9726, allocations: 75.28 kB / 1.091 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of Backend: time 1.8e-07/0.9726, allocations: 0 / 1.091 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003529/0.973, allocations: 90.95 kB / 1.091 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0002134/0.9732, allocations: 0.5317 MB / 1.092 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of Templates: time 0.002202/0.9754, allocations: 343.6 kB / 1.092 GB, free: 2.156 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_Polynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches