Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_9_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.008467/0.008467, allocations: 100.6 kB / 15.73 MB, free: 6.012 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.001663/0.001664, allocations: 190 kB / 16.67 MB, free: 5.934 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.449/1.449, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.444/2.444, allocations: 390.2 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 71.89 kB / 0.9508 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.034/1.035, allocations: 140.4 MB / 1.088 GB, free: 5.551 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.003464/1.039, allocations: 1.438 MB / 1.089 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0004068/1.039, allocations: 94.94 kB / 1.089 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.917e-05/1.039, allocations: 0.6875 kB / 1.089 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 8.436e-05/1.039, allocations: 5.312 kB / 1.089 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.614e-05/1.039, allocations: 13.55 kB / 1.089 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003449/1.04, allocations: 19.23 kB / 1.089 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.392e-05/1.04, allocations: 25.02 kB / 1.089 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/1.04, allocations: 4.969 kB / 1.089 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.375e-05/1.04, allocations: 9.016 kB / 1.089 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.195e-05/1.04, allocations: 12.83 kB / 1.09 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/1.04, allocations: 2.938 kB / 1.09 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/1.04, allocations: 26.22 kB / 1.09 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.49e-05/1.04, allocations: 2.859 kB / 1.09 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.407e-05/1.04, allocations: 15.06 kB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001599/1.041, allocations: 35.03 kB / 1.09 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/1.041, allocations: 0 / 1.09 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.284e-06/1.041, allocations: 0.7812 kB / 1.09 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.3e-06/1.041, allocations: 0 / 1.09 GB, free: 4.402 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004884/1.041, allocations: 345.9 kB / 1.09 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/1.041, allocations: 9.375 kB / 1.09 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.867e-05/1.041, allocations: 6.531 kB / 1.09 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/1.041, allocations: 172 kB / 1.09 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/1.041, allocations: 384 / 1.09 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/1.041, allocations: 2.109 kB / 1.09 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002403/1.042, allocations: 54.73 kB / 1.09 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/1.042, allocations: 1.312 kB / 1.09 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/1.042, allocations: 3.938 kB / 1.09 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/1.042, allocations: 0 / 1.09 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002666/1.042, allocations: 44.8 kB / 1.09 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000375/1.042, allocations: 248.2 kB / 1.09 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001887/1.042, allocations: 51.58 kB / 1.09 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001373/1.043, allocations: 25.92 kB / 1.091 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.461e-05/1.043, allocations: 1.75 kB / 1.091 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/1.043, allocations: 35.66 kB / 1.091 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.372e-06/1.043, allocations: 1.281 kB / 1.091 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0005147/1.043, allocations: 84.66 kB / 1.091 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.329e-05/1.043, allocations: 53 kB / 1.091 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.531e-05/1.043, allocations: 108.6 kB / 1.091 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.437e-06/1.043, allocations: 30.58 kB / 1.091 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.087e-05/1.043, allocations: 90.62 kB / 1.091 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.079e-05/1.043, allocations: 9.391 kB / 1.091 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.804e-05/1.044, allocations: 12.89 kB / 1.091 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.809e-05/1.044, allocations: 317 kB / 1.091 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/1.044, allocations: 15.88 kB / 1.091 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/1.044, allocations: 23.59 kB / 1.091 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002252/1.044, allocations: 40.44 kB / 1.091 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/1.044, allocations: 3.938 kB / 1.091 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002564/1.044, allocations: 71.27 kB / 1.091 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/1.044, allocations: 5.609 kB / 1.091 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/1.044, allocations: 1.062 kB / 1.091 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/1.044, allocations: 4.656 kB / 1.091 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/1.045, allocations: 12.83 kB / 1.091 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/1.045, allocations: 0.7969 kB / 1.091 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.181e-05/1.045, allocations: 9.938 kB / 1.091 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/1.045, allocations: 0.9062 kB / 1.091 GB, free: 2.672 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 (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 5.855e-05/1.045, allocations: 113.5 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.264e-05/1.045, allocations: 1.125 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003069/1.045, allocations: 80.64 kB / 1.092 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/1.045, allocations: 0 / 1.092 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/1.045, allocations: 1.953 kB / 1.092 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/1.045, allocations: 0 / 1.092 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001954/1.045, allocations: 166 kB / 1.092 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/1.045, allocations: 1.344 kB / 1.092 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.47e-05/1.045, allocations: 12.69 kB / 1.092 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/1.045, allocations: 1.219 kB / 1.092 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/1.045, allocations: 0.7969 kB / 1.092 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/1.046, allocations: 11.91 kB / 1.092 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/1.046, allocations: 1.25 kB / 1.092 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002949/1.046, allocations: 169.3 kB / 1.092 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.093e-05/1.046, allocations: 78.91 kB / 1.092 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/1.046, allocations: 1.688 kB / 1.092 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/1.046, allocations: 10.77 kB / 1.092 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.592e-05/1.046, allocations: 6.094 kB / 1.092 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/1.046, allocations: 5.328 kB / 1.092 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.762e-05/1.046, allocations: 81.97 kB / 1.092 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.7e-07/1.046, allocations: 1.406 kB / 1.092 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004335/1.047, allocations: 11.14 kB / 1.092 GB, free: 1.961 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 (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.0001418/1.047, allocations: 103.1 kB / 1.092 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002943/1.047, allocations: 47.95 kB / 1.092 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/1.047, allocations: 0 / 1.092 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001268/1.047, allocations: 18.19 kB / 1.092 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004468/1.048, allocations: 10.22 kB / 1.092 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003167/1.048, allocations: 110.5 kB / 1.092 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001263/1.048, allocations: 0.6788 MB / 1.093 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.887e-05/1.048, allocations: 5.125 kB / 1.093 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.275e-05/1.048, allocations: 8.531 kB / 1.093 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of SimCode: time 6.61e-07/1.048, allocations: 3.938 kB / 1.093 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of Templates: time 0.00367/1.052, allocations: 0.5368 MB / 1.094 GB, free: 0.957 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.Polynomial.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.Polynomial.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_Polynomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches