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) 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.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|x",fileNamePrefix="Buildings_10_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.001152/0.001152, allocations: 114.5 kB / 16.42 MB, free: 6.496 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.001177/0.001178, allocations: 188.3 kB / 17.35 MB, free: 5.758 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.435/1.435, allocations: 222.9 MB / 241.1 MB, free: 15.17 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.51/2.51, allocations: 437.1 MB / 0.7112 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 63.91 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.005/1.007, allocations: 151.6 MB / 1.167 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001625/1.008, allocations: 0.5962 MB / 1.168 GB, free: 3.23 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.000219/1.008, allocations: 35.88 kB / 1.168 GB, free: 3.195 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.208e-05/1.008, allocations: 0 / 1.168 GB, free: 3.195 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.359e-05/1.008, allocations: 0 / 1.168 GB, free: 3.195 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.603e-06/1.008, allocations: 3.938 kB / 1.168 GB, free: 3.191 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002687/1.009, allocations: 15.97 kB / 1.168 GB, free: 3.176 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 4.075e-05/1.009, allocations: 4 kB / 1.168 GB, free: 3.172 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.668e-05/1.009, allocations: 0 / 1.168 GB, free: 3.172 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.51e-05/1.009, allocations: 3.938 kB / 1.168 GB, free: 3.168 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.754e-05/1.009, allocations: 4 kB / 1.168 GB, free: 3.164 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 8.806e-06/1.009, allocations: 0 / 1.168 GB, free: 3.164 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 8.933e-05/1.009, allocations: 19.98 kB / 1.168 GB, free: 3.145 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 7.344e-06/1.009, allocations: 0 / 1.168 GB, free: 3.145 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 1.687e-05/1.009, allocations: 0 / 1.168 GB, free: 3.145 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 9.189e-05/1.009, allocations: 23.89 kB / 1.168 GB, free: 3.121 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/1.009, allocations: 8 kB / 1.168 GB, free: 3.113 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.443e-06/1.009, allocations: 0 / 1.168 GB, free: 3.113 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.375e-06/1.009, allocations: 0 / 1.168 GB, free: 3.113 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003048/1.009, allocations: 315.1 kB / 1.168 GB, free: 2.758 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/1.01, allocations: 8.922 kB / 1.168 GB, free: 2.75 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.83e-05/1.01, allocations: 4.922 kB / 1.168 GB, free: 2.746 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.759e-05/1.01, allocations: 160.4 kB / 1.169 GB, free: 2.551 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.898e-06/1.01, allocations: 384 / 1.169 GB, free: 2.551 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/1.01, allocations: 384 / 1.169 GB, free: 2.551 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.373e-05/1.01, allocations: 34.27 kB / 1.169 GB, free: 2.512 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.752e-06/1.01, allocations: 192 / 1.169 GB, free: 2.512 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/1.01, allocations: 3.938 kB / 1.169 GB, free: 2.508 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/1.01, allocations: 3.938 kB / 1.169 GB, free: 2.504 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.194e-05/1.01, allocations: 7.938 kB / 1.169 GB, free: 2.496 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001317/1.01, allocations: 149.7 kB / 1.169 GB, free: 2.301 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 3.215e-05/1.01, allocations: 18.52 kB / 1.169 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.514e-05/1.01, allocations: 8.953 kB / 1.169 GB, free: 2.262 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.229e-05/1.01, allocations: 4 kB / 1.169 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/1.01, allocations: 30.56 kB / 1.169 GB, free: 2.219 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/1.01, allocations: 4 kB / 1.169 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0001304/1.01, allocations: 49.52 kB / 1.169 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.616e-05/1.01, allocations: 51.41 kB / 1.169 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.212e-05/1.01, allocations: 89.86 kB / 1.169 GB, free: 2 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/1.01, allocations: 25.7 kB / 1.169 GB, free: 1.969 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 2.456e-05/1.01, allocations: 84.27 kB / 1.169 GB, free: 1.883 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.227e-05/1.01, allocations: 0 / 1.169 GB, free: 1.883 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.792e-05/1.01, allocations: 13.72 kB / 1.169 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.236e-05/1.011, allocations: 310.8 kB / 1.169 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.021e-05/1.011, allocations: 0 / 1.169 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.568e-06/1.011, allocations: 4 kB / 1.169 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.523e-05/1.011, allocations: 8.859 kB / 1.169 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/1.011, allocations: 7.984 kB / 1.169 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.526e-05/1.011, allocations: 37.7 kB / 1.169 GB, free: 1.484 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/1.011, allocations: 4 kB / 1.169 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/1.011, allocations: 0 / 1.169 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/1.011, allocations: 7.938 kB / 1.169 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.013e-05/1.011, allocations: 0 / 1.169 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/1.011, allocations: 0 / 1.169 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.221e-05/1.011, allocations: 0 / 1.169 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/1.011, allocations: 4 kB / 1.169 GB, free: 1.469 MB / 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 (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 6.779e-05/1.011, allocations: 113.9 kB / 1.17 GB, free: 1.348 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.424e-06/1.011, allocations: 0 / 1.17 GB, free: 1.348 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.905e-05/1.011, allocations: 40.83 kB / 1.17 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/1.011, allocations: 3.938 kB / 1.17 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/1.011, allocations: 0 / 1.17 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 3.461e-05/1.011, allocations: 85.03 kB / 1.17 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.188e-06/1.011, allocations: 0 / 1.17 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.177e-05/1.011, allocations: 0 / 1.17 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.154e-05/1.011, allocations: 4.031 kB / 1.17 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 6.862e-05/1.011, allocations: 113 kB / 1.17 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001111/1.011, allocations: 206.8 kB / 1.17 GB, free: 0.8516 MB / 0.8887 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.828e-05/1.011, allocations: 15.88 kB / 1.17 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 2.379e-05/1.011, allocations: 75.28 kB / 1.17 GB, free: 0.7617 MB / 0.8887 GB Notification: Performance of Backend: time 2.8e-07/1.011, allocations: 4.062 kB / 1.17 GB, free: 0.7578 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0004342/1.012, allocations: 96.8 kB / 1.17 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of SimCode: time 0.0003123/1.012, allocations: 0.5175 MB / 1.171 GB, free: 92 kB / 0.8887 GB Notification: Performance of Templates: time 0.002353/1.014, allocations: 336.7 kB / 1.171 GB, free: 15.76 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches