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.01009/0.01009, allocations: 101.4 kB / 15.73 MB, free: 6.055 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.002043/0.002043, allocations: 199.9 kB / 16.68 MB, free: 5.969 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.457/1.457, 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.292/2.292, allocations: 390.2 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 59.91 kB / 0.9508 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.029/1.031, allocations: 140.4 MB / 1.088 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002737/1.033, allocations: 1.432 MB / 1.089 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003565/1.034, allocations: 100.1 kB / 1.089 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.661e-05/1.034, allocations: 0 / 1.089 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 7.83e-05/1.034, allocations: 1.641 kB / 1.089 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.015e-05/1.034, allocations: 9.562 kB / 1.089 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002972/1.034, allocations: 19.12 kB / 1.089 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.501e-05/1.034, allocations: 24.56 kB / 1.089 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/1.034, allocations: 4.422 kB / 1.089 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.456e-05/1.034, allocations: 9.109 kB / 1.089 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.302e-05/1.035, allocations: 13.73 kB / 1.089 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/1.035, allocations: 6.031 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/1.035, allocations: 20.8 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.803e-05/1.035, allocations: 15.38 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.905e-05/1.035, allocations: 7.469 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001441/1.035, allocations: 33.8 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/1.035, allocations: 1.797 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.793e-06/1.035, allocations: 0 / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.051e-06/1.035, allocations: 0 / 1.09 GB, free: 4.355 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.0004605/1.035, allocations: 348 kB / 1.09 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/1.035, allocations: 8.625 kB / 1.09 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.166e-05/1.035, allocations: 3.125 kB / 1.09 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.962e-05/1.036, allocations: 171.2 kB / 1.09 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/1.036, allocations: 1.125 kB / 1.09 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/1.036, allocations: 6.281 kB / 1.09 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002017/1.036, allocations: 54.53 kB / 1.09 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/1.036, allocations: 192 / 1.09 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/1.036, allocations: 3.938 kB / 1.09 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/1.036, allocations: 1.844 kB / 1.09 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001828/1.036, allocations: 36.27 kB / 1.09 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003039/1.036, allocations: 251.8 kB / 1.09 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001315/1.037, allocations: 46.55 kB / 1.09 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.815e-05/1.037, allocations: 29.55 kB / 1.09 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.764e-05/1.037, allocations: 3.016 kB / 1.09 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.738e-05/1.037, allocations: 36.45 kB / 1.091 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/1.037, allocations: 0 / 1.091 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003705/1.037, allocations: 89.56 kB / 1.091 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/1.037, allocations: 51.41 kB / 1.091 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.527e-05/1.037, allocations: 105.4 kB / 1.091 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.999e-06/1.037, allocations: 30.73 kB / 1.091 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.581e-05/1.037, allocations: 94.64 kB / 1.091 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.778e-05/1.037, allocations: 5.484 kB / 1.091 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.834e-05/1.037, allocations: 12.64 kB / 1.091 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.905e-05/1.037, allocations: 317.2 kB / 1.091 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.254e-05/1.037, allocations: 15.64 kB / 1.091 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.127e-05/1.038, allocations: 20.59 kB / 1.091 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001612/1.038, allocations: 45.12 kB / 1.091 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/1.038, allocations: 4 kB / 1.091 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001971/1.038, allocations: 73.8 kB / 1.091 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/1.038, allocations: 5.703 kB / 1.091 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/1.038, allocations: 1.094 kB / 1.091 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/1.038, allocations: 0.7969 kB / 1.091 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.73e-05/1.038, allocations: 16.38 kB / 1.091 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/1.038, allocations: 0.6562 kB / 1.091 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.933e-05/1.038, allocations: 7.875 kB / 1.091 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/1.038, allocations: 0.9688 kB / 1.091 GB, free: 2.625 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 6.715e-05/1.038, allocations: 113.2 kB / 1.091 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.541e-05/1.038, allocations: 6.156 kB / 1.092 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002581/1.039, allocations: 80.53 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/1.039, allocations: 0 / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/1.039, allocations: 0.75 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/1.039, allocations: 0.7031 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001427/1.039, allocations: 162.7 kB / 1.092 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/1.039, allocations: 0 / 1.092 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.031e-05/1.039, allocations: 8.984 kB / 1.092 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/1.039, allocations: 1.438 kB / 1.092 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/1.039, allocations: 4.938 kB / 1.092 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/1.039, allocations: 0 / 1.092 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/1.039, allocations: 8.906 kB / 1.092 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002512/1.039, allocations: 166.4 kB / 1.092 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.931e-05/1.039, allocations: 82.5 kB / 1.092 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/1.039, allocations: 5.203 kB / 1.092 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.156e-05/1.039, allocations: 6.297 kB / 1.092 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.011e-05/1.039, allocations: 10.45 kB / 1.092 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/1.039, allocations: 1.266 kB / 1.092 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.57e-05/1.039, allocations: 86.12 kB / 1.092 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/1.039, allocations: 0 / 1.092 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002426/1.04, allocations: 8.766 kB / 1.092 GB, free: 1.918 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.0001962/1.04, allocations: 107.5 kB / 1.092 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002948/1.04, allocations: 47.59 kB / 1.092 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/1.04, allocations: 0 / 1.092 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001086/1.04, allocations: 21.59 kB / 1.092 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003262/1.041, allocations: 9.297 kB / 1.092 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000401/1.041, allocations: 117.3 kB / 1.092 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002131/1.041, allocations: 0.6772 MB / 1.093 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.133e-05/1.041, allocations: 5.797 kB / 1.093 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.285e-05/1.041, allocations: 9.031 kB / 1.093 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of SimCode: time 4.61e-07/1.041, allocations: 0 / 1.093 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of Templates: time 0.003698/1.045, allocations: 0.5401 MB / 1.094 GB, free: 0.9102 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