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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001075/0.001075, allocations: 99.34 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 183.9 kB / 16.92 MB, free: 6.703 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.408/1.408, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.564/2.564, allocations: 437.8 MB / 0.7128 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003874/0.0003875, allocations: 15.94 kB / 0.8735 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6552/0.6556, allocations: 153.8 MB / 1.024 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.0006929/0.6564, allocations: 321.5 kB / 1.024 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0002389/0.6566, allocations: 39.88 kB / 1.024 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.928e-06/0.6567, allocations: 0 / 1.024 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.554e-05/0.6567, allocations: 4 kB / 1.024 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.439e-06/0.6567, allocations: 3.828 kB / 1.024 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002226/0.6569, allocations: 4 kB / 1.024 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 3.683e-05/0.657, allocations: 11.98 kB / 1.024 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.05e-05/0.657, allocations: 3.984 kB / 1.024 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 1.691e-05/0.657, allocations: 0 / 1.024 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.896e-05/0.6571, allocations: 7.938 kB / 1.024 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.927e-06/0.6571, allocations: 0 / 1.024 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.512e-05/0.6572, allocations: 19.92 kB / 1.024 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.456e-06/0.6572, allocations: 0 / 1.024 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.687e-05/0.6572, allocations: 29.7 kB / 1.024 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 6.204e-05/0.6573, allocations: 15.97 kB / 1.024 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.6573, allocations: 0 / 1.024 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.332e-06/0.6573, allocations: 0 / 1.024 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.567e-06/0.6573, allocations: 0 / 1.024 GB, free: 15.46 MB / 0.7794 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.0002462/0.6576, allocations: 311.6 kB / 1.024 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.6576, allocations: 8.031 kB / 1.024 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.575e-05/0.6577, allocations: 0.9375 kB / 1.024 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.737e-05/0.6577, allocations: 164.4 kB / 1.025 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.6578, allocations: 4.375 kB / 1.025 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.518e-06/0.6578, allocations: 4.375 kB / 1.025 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.148e-05/0.6579, allocations: 34.19 kB / 1.025 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.6579, allocations: 192 / 1.025 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.6579, allocations: 7.875 kB / 1.025 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.6579, allocations: 0 / 1.025 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.789e-05/0.6579, allocations: 4 kB / 1.025 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001233/0.6581, allocations: 141.7 kB / 1.025 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 3.659e-05/0.6581, allocations: 26.61 kB / 1.025 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.626e-05/0.6581, allocations: 4.859 kB / 1.025 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.183e-05/0.6582, allocations: 64 / 1.025 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.6582, allocations: 42.48 kB / 1.025 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 7.92e-07/0.6582, allocations: 0 / 1.025 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001135/0.6583, allocations: 33.64 kB / 1.025 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.208e-05/0.6584, allocations: 51.41 kB / 1.025 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.016e-05/0.6584, allocations: 89.98 kB / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.6584, allocations: 29.7 kB / 1.025 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.82e-05/0.6584, allocations: 88.14 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.409e-05/0.6585, allocations: 3.906 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.112e-05/0.6585, allocations: 9.719 kB / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.715e-05/0.6586, allocations: 310.8 kB / 1.025 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.107e-06/0.6586, allocations: 3.984 kB / 1.025 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.654e-06/0.6586, allocations: 4 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.31e-05/0.6587, allocations: 12.86 kB / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.6587, allocations: 0 / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.448e-05/0.6587, allocations: 37.7 kB / 1.026 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.6587, allocations: 4 kB / 1.026 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.6588, allocations: 0 / 1.026 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.838e-06/0.6588, allocations: 3.938 kB / 1.026 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.098e-05/0.6588, allocations: 4 kB / 1.026 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.6588, allocations: 3.984 kB / 1.026 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.256e-05/0.6589, allocations: 3.938 kB / 1.026 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.6589, allocations: 0 / 1.026 GB, free: 13.82 MB / 0.7794 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.146e-05/0.6589, allocations: 114.4 kB / 1.026 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.433e-06/0.659, allocations: 0 / 1.026 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.249e-05/0.659, allocations: 48.69 kB / 1.026 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.6591, allocations: 4 kB / 1.026 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.6591, allocations: 0 / 1.026 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.6591, allocations: 0 / 1.026 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.267e-05/0.6592, allocations: 141.7 kB / 1.026 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.6592, allocations: 7.938 kB / 1.026 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.023e-05/0.6592, allocations: 4 kB / 1.026 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.6592, allocations: 0 / 1.026 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.6592, allocations: 7.922 kB / 1.026 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.6592, allocations: 0 / 1.026 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.6592, allocations: 0 / 1.026 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.809e-05/0.6593, allocations: 65.08 kB / 1.026 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.975e-05/0.6593, allocations: 81.14 kB / 1.026 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.078e-05/0.6594, allocations: 3.938 kB / 1.026 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.237e-05/0.6594, allocations: 3.984 kB / 1.026 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.678e-06/0.6594, allocations: 0 / 1.026 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.6594, allocations: 4 kB / 1.026 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.251e-05/0.6594, allocations: 75.28 kB / 1.026 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.6594, allocations: 0 / 1.026 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001837/0.6596, allocations: 4 kB / 1.026 GB, free: 13.16 MB / 0.7794 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.0001425/0.6598, allocations: 103.2 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.086e-05/0.6598, allocations: 4 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.6598, allocations: 0 / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.767e-06/0.6598, allocations: 4 kB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000125/0.66, allocations: 3.984 kB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001677/0.6602, allocations: 104.4 kB / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001954/0.6604, allocations: 0.673 MB / 1.027 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.647e-05/0.6604, allocations: 11.56 kB / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.6604, allocations: 0 / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of Templates: time 0.001599/0.662, allocations: 443.9 kB / 1.027 GB, free: 11.76 MB / 0.7794 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/jenkins1/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