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.007953/0.007953, allocations: 100.3 kB / 15.73 MB, free: 6.062 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.001677/0.001677, allocations: 192.7 kB / 16.67 MB, free: 5.973 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.358/1.358, 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 10.1.1-maint.10.0.x/package.mo): time 2.423/2.423, allocations: 437 MB / 0.7105 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 63.91 kB / 1.019 GB, free: 9.348 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8777/0.879, allocations: 151.6 MB / 1.167 GB, free: 3.809 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001744/0.8808, allocations: 0.5728 MB / 1.167 GB, free: 3.238 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0003123/0.8811, allocations: 37.78 kB / 1.167 GB, free: 3.203 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.423e-05/0.8811, allocations: 0 / 1.167 GB, free: 3.203 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.065e-05/0.8812, allocations: 0 / 1.167 GB, free: 3.203 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.422e-06/0.8812, allocations: 3.938 kB / 1.167 GB, free: 3.199 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003059/0.8815, allocations: 11.92 kB / 1.167 GB, free: 3.188 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 5.019e-05/0.8815, allocations: 7.984 kB / 1.167 GB, free: 3.18 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.913e-05/0.8816, allocations: 4 kB / 1.167 GB, free: 3.176 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.53e-05/0.8816, allocations: 0 / 1.167 GB, free: 3.176 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.82e-05/0.8817, allocations: 11.98 kB / 1.167 GB, free: 3.164 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 9.879e-06/0.8817, allocations: 0 / 1.167 GB, free: 3.164 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.8818, allocations: 15.98 kB / 1.167 GB, free: 3.148 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 9.548e-06/0.8818, allocations: 0 / 1.167 GB, free: 3.148 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 1.84e-05/0.8818, allocations: 0 / 1.167 GB, free: 3.148 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001159/0.882, allocations: 19.97 kB / 1.167 GB, free: 3.129 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.882, allocations: 3.938 kB / 1.167 GB, free: 3.125 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.324e-06/0.882, allocations: 0 / 1.167 GB, free: 3.125 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.882, allocations: 0 / 1.167 GB, free: 3.125 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.0004353/0.8824, allocations: 320.6 kB / 1.168 GB, free: 2.762 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.629e-05/0.8825, allocations: 8.625 kB / 1.168 GB, free: 2.754 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.64e-05/0.8825, allocations: 0.9375 kB / 1.168 GB, free: 2.754 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/0.8827, allocations: 164.4 kB / 1.168 GB, free: 2.555 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.8827, allocations: 384 / 1.168 GB, free: 2.555 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.8827, allocations: 4.375 kB / 1.168 GB, free: 2.551 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.8829, allocations: 34.19 kB / 1.168 GB, free: 2.512 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.8829, allocations: 192 / 1.168 GB, free: 2.512 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.8829, allocations: 7.938 kB / 1.168 GB, free: 2.504 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.8829, allocations: 0 / 1.168 GB, free: 2.504 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.495e-05/0.8829, allocations: 4 kB / 1.168 GB, free: 2.5 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001499/0.8831, allocations: 149.7 kB / 1.168 GB, free: 2.305 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 4.424e-05/0.8831, allocations: 22.55 kB / 1.168 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.745e-05/0.8832, allocations: 4.859 kB / 1.168 GB, free: 2.266 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.946e-05/0.8832, allocations: 0 / 1.168 GB, free: 2.266 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.8832, allocations: 46.55 kB / 1.168 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.8832, allocations: 0 / 1.168 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0001266/0.8834, allocations: 45.53 kB / 1.168 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/0.8834, allocations: 51.41 kB / 1.168 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.348e-05/0.8835, allocations: 89.86 kB / 1.168 GB, free: 2 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/0.8835, allocations: 25.7 kB / 1.168 GB, free: 1.969 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 2.485e-05/0.8835, allocations: 80.14 kB / 1.168 GB, free: 1.887 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.96e-05/0.8835, allocations: 7.516 kB / 1.168 GB, free: 1.883 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.977e-05/0.8836, allocations: 13.84 kB / 1.168 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002128/0.8838, allocations: 314.8 kB / 1.169 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.224e-05/0.8838, allocations: 4 kB / 1.169 GB, free: 1.543 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.627e-06/0.8838, allocations: 4 kB / 1.169 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.808e-05/0.8839, allocations: 8.859 kB / 1.169 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.8839, allocations: 0 / 1.169 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.994e-05/0.8839, allocations: 33.64 kB / 1.169 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.8839, allocations: 8 kB / 1.169 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.884, allocations: 4.094 kB / 1.169 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.884, allocations: 3.938 kB / 1.169 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.226e-05/0.884, allocations: 3.984 kB / 1.169 GB, free: 1.469 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.884, allocations: 0 / 1.169 GB, free: 1.469 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.025e-05/0.8841, allocations: 0 / 1.169 GB, free: 1.469 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.8841, allocations: 4 kB / 1.169 GB, free: 1.465 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.946e-05/0.8842, allocations: 105.8 kB / 1.169 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.982e-06/0.8842, allocations: 0 / 1.169 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00012/0.8843, allocations: 52.75 kB / 1.169 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.8843, allocations: 0 / 1.169 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.8843, allocations: 0 / 1.169 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.8843, allocations: 3.938 kB / 1.169 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.978e-05/0.8844, allocations: 141.7 kB / 1.169 GB, free: 1.098 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.8844, allocations: 3.938 kB / 1.169 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.652e-05/0.8844, allocations: 7.984 kB / 1.169 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.8845, allocations: 0 / 1.169 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.545e-06/0.8845, allocations: 7.969 kB / 1.169 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.8845, allocations: 0 / 1.169 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.8845, allocations: 0 / 1.169 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.596e-05/0.8845, allocations: 57.14 kB / 1.169 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 3.45e-05/0.8846, allocations: 77.11 kB / 1.169 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.8846, allocations: 7.922 kB / 1.169 GB, free: 0.9023 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.152e-05/0.8846, allocations: 8 kB / 1.169 GB, free: 0.8945 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.499e-05/0.8846, allocations: 0 / 1.169 GB, free: 0.8945 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.8847, allocations: 4.031 kB / 1.169 GB, free: 0.8906 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 4.168e-05/0.8847, allocations: 75.28 kB / 1.169 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8847, allocations: 3.938 kB / 1.169 GB, free: 0.8125 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002138/0.8849, allocations: 4 kB / 1.169 GB, free: 0.8086 MB / 0.8887 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.0001597/0.8851, allocations: 107.2 kB / 1.169 GB, free: 0.6914 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 6.284e-05/0.8852, allocations: 11.92 kB / 1.169 GB, free: 0.6797 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.8852, allocations: 0 / 1.169 GB, free: 0.6797 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 7.093e-06/0.8852, allocations: 4.062 kB / 1.169 GB, free: 0.6758 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001262/0.8853, allocations: 6.234 kB / 1.169 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001575/0.8855, allocations: 68.94 kB / 1.169 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002309/0.8857, allocations: 0.6729 MB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 1.936e-05/0.8857, allocations: 0 / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.179e-05/0.8858, allocations: 15.48 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of SimCode: time 2.3e-07/0.8858, allocations: 0 / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of Templates: time 0.001939/0.8877, allocations: 299.1 kB / 1.17 GB, free: 15.57 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/jenkins/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