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.008198/0.008198, allocations: 104.9 kB / 15.74 MB, free: 6.059 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.001692/0.001692, allocations: 199.8 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.38/1.38, 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.227/2.227, allocations: 390.2 MB / 0.6648 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 63.91 kB / 0.9509 GB, free: 7.551 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8583/0.8596, allocations: 140.4 MB / 1.088 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001715/0.8614, allocations: 0.5744 MB / 1.089 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.000242/0.8616, allocations: 41.75 kB / 1.089 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.515e-05/0.8617, allocations: 0 / 1.089 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.932e-05/0.8617, allocations: 3.938 kB / 1.089 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.891e-06/0.8617, allocations: 0 / 1.089 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002998/0.862, allocations: 17.7 kB / 1.089 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.984e-05/0.8621, allocations: 1.953 kB / 1.089 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.563e-05/0.8621, allocations: 2.016 kB / 1.089 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.494e-05/0.8621, allocations: 1.188 kB / 1.089 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.233e-05/0.8622, allocations: 1.953 kB / 1.089 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.247e-06/0.8622, allocations: 0 / 1.089 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.8623, allocations: 23.78 kB / 1.089 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.043e-05/0.8623, allocations: 3.984 kB / 1.089 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.886e-05/0.8623, allocations: 7.938 kB / 1.089 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.093e-05/0.8624, allocations: 16.88 kB / 1.089 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.8624, allocations: 0 / 1.089 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.114e-06/0.8624, allocations: 0 / 1.089 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.8625, allocations: 0 / 1.089 GB, free: 5.074 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.0002628/0.8627, allocations: 319.1 kB / 1.089 GB, free: 4.719 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.8628, allocations: 8.75 kB / 1.089 GB, free: 4.719 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.797e-05/0.8628, allocations: 2.75 kB / 1.089 GB, free: 4.719 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.327e-05/0.8629, allocations: 165.2 kB / 1.089 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.213e-06/0.8629, allocations: 384 / 1.089 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.8629, allocations: 5.406 kB / 1.089 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.434e-05/0.863, allocations: 30.39 kB / 1.089 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.863, allocations: 192 / 1.089 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.863, allocations: 3.938 kB / 1.089 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.863, allocations: 1.094 kB / 1.089 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.055e-05/0.863, allocations: 2.609 kB / 1.089 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.559e-05/0.8631, allocations: 148.1 kB / 1.089 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.591e-05/0.8632, allocations: 21.38 kB / 1.089 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.67e-05/0.8632, allocations: 10.47 kB / 1.089 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.768e-05/0.8632, allocations: 1.125 kB / 1.089 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.408e-05/0.8633, allocations: 32.05 kB / 1.089 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 8.91e-07/0.8633, allocations: 1.188 kB / 1.089 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001197/0.8634, allocations: 37.11 kB / 1.089 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.223e-05/0.8634, allocations: 55.53 kB / 1.089 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.79e-05/0.8634, allocations: 94.52 kB / 1.09 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.983e-06/0.8634, allocations: 26.48 kB / 1.09 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.036e-05/0.8635, allocations: 80.14 kB / 1.09 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.895e-05/0.8635, allocations: 0.9375 kB / 1.09 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.331e-05/0.8635, allocations: 12.59 kB / 1.09 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.51e-05/0.8636, allocations: 311.5 kB / 1.09 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.125e-05/0.8636, allocations: 5.578 kB / 1.09 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.464e-06/0.8636, allocations: 10.7 kB / 1.09 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.227e-05/0.8636, allocations: 14.98 kB / 1.09 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.8636, allocations: 2.156 kB / 1.09 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.491e-05/0.8637, allocations: 31.86 kB / 1.09 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.8637, allocations: 5.516 kB / 1.09 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.8637, allocations: 1.312 kB / 1.09 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.8637, allocations: 3.938 kB / 1.09 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.89e-05/0.8638, allocations: 1.859 kB / 1.09 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.8638, allocations: 1.641 kB / 1.09 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.186e-05/0.8638, allocations: 4.094 kB / 1.09 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.585e-05/0.8638, allocations: 1.781 kB / 1.09 GB, free: 3.5 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.506e-05/0.8639, allocations: 111.9 kB / 1.09 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.023e-06/0.8639, allocations: 0.7031 kB / 1.09 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.528e-05/0.864, allocations: 46.64 kB / 1.09 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-06/0.864, allocations: 0 / 1.09 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.864, allocations: 4.031 kB / 1.09 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.864, allocations: 5.75 kB / 1.09 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.001e-05/0.8641, allocations: 144.6 kB / 1.09 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.8641, allocations: 0 / 1.09 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.659e-05/0.8641, allocations: 2.672 kB / 1.09 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.8641, allocations: 3.984 kB / 1.09 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.8641, allocations: 5.5 kB / 1.09 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.8641, allocations: 0.9688 kB / 1.09 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.8641, allocations: 0 / 1.09 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.537e-05/0.8642, allocations: 66.11 kB / 1.09 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.645e-05/0.8642, allocations: 78.72 kB / 1.09 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.055e-05/0.8642, allocations: 4.453 kB / 1.09 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.999e-06/0.8643, allocations: 1.125 kB / 1.09 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.741e-05/0.8643, allocations: 1.828 kB / 1.09 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.8643, allocations: 1.25 kB / 1.09 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.335e-05/0.8643, allocations: 75.98 kB / 1.091 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/0.8643, allocations: 0 / 1.091 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002119/0.8645, allocations: 8.531 kB / 1.091 GB, free: 2.887 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.0001455/0.8647, allocations: 104 kB / 1.091 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.045e-05/0.8647, allocations: 8.703 kB / 1.091 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.8648, allocations: 3.938 kB / 1.091 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.012e-05/0.8648, allocations: 7.172 kB / 1.091 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001262/0.8649, allocations: 4.062 kB / 1.091 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001792/0.8651, allocations: 89.31 kB / 1.091 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001149/0.8652, allocations: 0.6713 MB / 1.091 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.155e-05/0.8652, allocations: 1.844 kB / 1.091 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.928e-05/0.8653, allocations: 9.297 kB / 1.091 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of SimCode: time 2.01e-07/0.8653, allocations: 3.938 kB / 1.091 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of Templates: time 0.002252/0.8675, allocations: 285.5 kB / 1.092 GB, free: 1.914 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