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.001059/0.001059, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008748/0.008748, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.413/1.413, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.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.631/2.631, allocations: 437.8 MB / 0.7121 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003863/0.0003864, allocations: 8 kB / 0.8728 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6934/0.6938, allocations: 153.8 MB / 1.023 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.0007813/0.6946, allocations: 317.4 kB / 1.023 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0002835/0.6949, allocations: 35.88 kB / 1.023 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.226e-05/0.6949, allocations: 0 / 1.023 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.034e-05/0.695, allocations: 0 / 1.023 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.895e-06/0.695, allocations: 4 kB / 1.023 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002537/0.6953, allocations: 15.92 kB / 1.023 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 3.519e-05/0.6953, allocations: 0 / 1.023 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.068e-05/0.6954, allocations: 3.938 kB / 1.023 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 1.915e-05/0.6954, allocations: 4 kB / 1.023 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.897e-05/0.6954, allocations: 7.984 kB / 1.023 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.596e-06/0.6955, allocations: 0 / 1.023 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.142e-05/0.6956, allocations: 15.98 kB / 1.023 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.859e-06/0.6956, allocations: 0 / 1.023 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.341e-05/0.6956, allocations: 29.69 kB / 1.023 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 8.412e-05/0.6957, allocations: 15.98 kB / 1.023 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.6957, allocations: 0 / 1.023 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.184e-06/0.6957, allocations: 0 / 1.023 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.6957, allocations: 0 / 1.023 GB, free: 15.42 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.0003027/0.696, allocations: 319.6 kB / 1.024 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.6961, allocations: 8.031 kB / 1.024 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.127e-05/0.6961, allocations: 0.9375 kB / 1.024 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.597e-05/0.6962, allocations: 160.4 kB / 1.024 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.6962, allocations: 384 / 1.024 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.418e-06/0.6963, allocations: 384 / 1.024 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.6964, allocations: 38.2 kB / 1.024 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.6964, allocations: 8.109 kB / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.6964, allocations: 7.875 kB / 1.024 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.6964, allocations: 0 / 1.024 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.613e-05/0.6964, allocations: 4 kB / 1.024 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001428/0.6966, allocations: 145.7 kB / 1.024 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 3.99e-05/0.6966, allocations: 14.58 kB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.931e-05/0.6967, allocations: 12.95 kB / 1.024 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.033e-05/0.6967, allocations: 3.938 kB / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.6968, allocations: 30.56 kB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.6968, allocations: 0 / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001417/0.6969, allocations: 45.62 kB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.697, allocations: 51.41 kB / 1.024 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.019e-05/0.697, allocations: 89.86 kB / 1.024 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.697, allocations: 25.7 kB / 1.024 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.54e-05/0.6971, allocations: 84.27 kB / 1.024 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.131e-05/0.6971, allocations: 3.906 kB / 1.024 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.597e-05/0.6971, allocations: 9.719 kB / 1.024 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.6972, allocations: 314.8 kB / 1.025 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.417e-06/0.6973, allocations: 0 / 1.025 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.662e-05/0.6973, allocations: 7.922 kB / 1.025 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.073e-05/0.6973, allocations: 12.86 kB / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.6973, allocations: 0 / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.137e-05/0.6974, allocations: 37.77 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.6974, allocations: 4 kB / 1.025 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.6974, allocations: 0 / 1.025 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.6974, allocations: 7.938 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.986e-05/0.6975, allocations: 4 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.6975, allocations: 0 / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.395e-05/0.6975, allocations: 0 / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.691e-05/0.6976, allocations: 3.984 kB / 1.025 GB, free: 13.77 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 7.281e-05/0.6976, allocations: 110.4 kB / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.08e-05/0.6976, allocations: 4 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000108/0.6978, allocations: 44.7 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.6978, allocations: 3.984 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.6978, allocations: 0 / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.6978, allocations: 0 / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.265e-05/0.6979, allocations: 149.6 kB / 1.025 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.6979, allocations: 0 / 1.025 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.099e-05/0.6979, allocations: 4.031 kB / 1.025 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.6979, allocations: 0 / 1.025 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.6979, allocations: 7.938 kB / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.698, allocations: 0 / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.698, allocations: 3.984 kB / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.059e-05/0.6981, allocations: 61.02 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.211e-05/0.6981, allocations: 81.11 kB / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.6981, allocations: 3.938 kB / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.319e-05/0.6981, allocations: 8.016 kB / 1.025 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.354e-05/0.6982, allocations: 3.984 kB / 1.025 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.167e-06/0.6982, allocations: 0 / 1.025 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.029e-05/0.6982, allocations: 75.28 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6982, allocations: 4 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002036/0.6984, allocations: 4 kB / 1.025 GB, free: 13.11 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.0001675/0.6986, allocations: 99.25 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.868e-05/0.6987, allocations: 8 kB / 1.025 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.6987, allocations: 0 / 1.025 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.238e-05/0.6987, allocations: 11.94 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000138/0.6988, allocations: 1.719 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001972/0.699, allocations: 70.75 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002496/0.6993, allocations: 0.677 MB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.15e-05/0.6993, allocations: 4.125 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.901e-05/0.6994, allocations: 7.438 kB / 1.026 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of SimCode: time 6.41e-07/0.6994, allocations: 3.938 kB / 1.026 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of Templates: time 0.002313/0.7017, allocations: 284.7 kB / 1.027 GB, free: 11.89 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/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