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.007649/0.007649, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001418/0.001418, allocations: 191.3 kB / 16.67 MB, free: 5.93 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.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.193/2.193, allocations: 390.2 MB / 0.6648 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 59.91 kB / 0.9509 GB, free: 7.57 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8724/0.8736, allocations: 140.4 MB / 1.088 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001614/0.8752, allocations: 0.5798 MB / 1.089 GB, free: 5.137 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0002279/0.8755, allocations: 41.28 kB / 1.089 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.438e-05/0.8755, allocations: 0 / 1.089 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.771e-05/0.8755, allocations: 0 / 1.089 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.253e-06/0.8756, allocations: 1.25 kB / 1.089 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002993/0.8759, allocations: 16.72 kB / 1.089 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.176e-05/0.8759, allocations: 1.375 kB / 1.089 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.817e-05/0.876, allocations: 6.594 kB / 1.089 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.404e-05/0.876, allocations: 0.8125 kB / 1.089 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.991e-05/0.876, allocations: 1.578 kB / 1.089 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.586e-06/0.876, allocations: 0 / 1.089 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.61e-05/0.8761, allocations: 23.77 kB / 1.089 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.037e-06/0.8762, allocations: 0 / 1.089 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.86e-05/0.8762, allocations: 4.734 kB / 1.089 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.413e-05/0.8763, allocations: 15.58 kB / 1.089 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.8763, allocations: 0 / 1.089 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.465e-06/0.8763, allocations: 1.891 kB / 1.089 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.8763, allocations: 0 / 1.089 GB, free: 5.086 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.0002479/0.8766, allocations: 314 kB / 1.089 GB, free: 4.738 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.8766, allocations: 13.81 kB / 1.089 GB, free: 4.734 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.411e-05/0.8766, allocations: 0.9375 kB / 1.089 GB, free: 4.734 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.318e-05/0.8767, allocations: 165.7 kB / 1.089 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.8767, allocations: 1.344 kB / 1.089 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.003e-06/0.8767, allocations: 384 / 1.089 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.34e-05/0.8768, allocations: 34.88 kB / 1.089 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.8768, allocations: 192 / 1.089 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.8768, allocations: 5.031 kB / 1.089 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.8768, allocations: 0 / 1.089 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.932e-05/0.8769, allocations: 1.406 kB / 1.089 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001048/0.877, allocations: 148.6 kB / 1.089 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.559e-05/0.877, allocations: 21.75 kB / 1.089 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.646e-05/0.877, allocations: 14.84 kB / 1.089 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.535e-05/0.8771, allocations: 1.344 kB / 1.089 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.689e-05/0.8771, allocations: 32.48 kB / 1.089 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.8771, allocations: 0 / 1.089 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001251/0.8772, allocations: 36.11 kB / 1.089 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.719e-05/0.8773, allocations: 60.72 kB / 1.089 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.438e-05/0.8773, allocations: 90.56 kB / 1.09 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.513e-06/0.8773, allocations: 25.7 kB / 1.09 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.046e-05/0.8773, allocations: 85.19 kB / 1.09 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.811e-05/0.8774, allocations: 0 / 1.09 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.473e-05/0.8774, allocations: 16.62 kB / 1.09 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.681e-05/0.8774, allocations: 312.5 kB / 1.09 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.167e-05/0.8775, allocations: 1.672 kB / 1.09 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.122e-06/0.8775, allocations: 9.219 kB / 1.09 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.424e-05/0.8775, allocations: 7.969 kB / 1.09 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.8775, allocations: 1.062 kB / 1.09 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.906e-05/0.8776, allocations: 33.16 kB / 1.09 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.8776, allocations: 4.969 kB / 1.09 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.8776, allocations: 4.547 kB / 1.09 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.8776, allocations: 4.781 kB / 1.09 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.271e-05/0.8777, allocations: 3.094 kB / 1.09 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.8777, allocations: 0 / 1.09 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.353e-05/0.8777, allocations: 9.438 kB / 1.09 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.8777, allocations: 2.094 kB / 1.09 GB, free: 3.508 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.095e-05/0.8778, allocations: 108 kB / 1.09 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.502e-06/0.8778, allocations: 0 / 1.09 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.686e-05/0.8779, allocations: 41.53 kB / 1.09 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.8779, allocations: 0 / 1.09 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.8779, allocations: 5.828 kB / 1.09 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.8779, allocations: 3.984 kB / 1.09 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.284e-05/0.8779, allocations: 152.7 kB / 1.09 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.8779, allocations: 0 / 1.09 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.542e-05/0.878, allocations: 3.328 kB / 1.09 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.878, allocations: 0 / 1.09 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.762e-06/0.878, allocations: 9.812 kB / 1.09 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.878, allocations: 0 / 1.09 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.878, allocations: 0 / 1.09 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.13e-05/0.878, allocations: 63.19 kB / 1.09 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.387e-05/0.8781, allocations: 77.62 kB / 1.09 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.121e-05/0.8781, allocations: 5.703 kB / 1.09 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.005e-05/0.8781, allocations: 0 / 1.09 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.246e-05/0.8781, allocations: 2.172 kB / 1.09 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-06/0.8781, allocations: 5.438 kB / 1.09 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.088e-05/0.8781, allocations: 75.28 kB / 1.091 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/0.8781, allocations: 0 / 1.091 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002016/0.8783, allocations: 9.125 kB / 1.091 GB, free: 2.895 MB / 0.8575 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.0001464/0.8785, allocations: 101.3 kB / 1.091 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.643e-05/0.8786, allocations: 9.734 kB / 1.091 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.8786, allocations: 3.938 kB / 1.091 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.136e-06/0.8786, allocations: 2.656 kB / 1.091 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001493/0.8788, allocations: 1.734 kB / 1.091 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001945/0.879, allocations: 88.53 kB / 1.091 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000114/0.8791, allocations: 0.6759 MB / 1.091 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.105e-05/0.8791, allocations: 1.531 kB / 1.091 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.901e-05/0.8791, allocations: 9.172 kB / 1.091 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.8791, allocations: 0 / 1.091 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of Templates: time 0.00228/0.8814, allocations: 287.3 kB / 1.092 GB, free: 1.926 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/jenkins/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