Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_10_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.001406/0.001406, allocations: 108 kB / 15.6 MB, free: 132 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.001714/0.001714, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.382/1.382, allocations: 222.9 MB / 240.2 MB, free: 4.418 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.575/2.575, allocations: 437 MB / 0.7103 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 75.88 kB / 0.8692 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6901/0.6916, allocations: 151.6 MB / 1.017 GB, free: 2.566 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002741/0.6944, allocations: 1.429 MB / 1.019 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003256/0.6947, allocations: 92.59 kB / 1.019 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.516e-05/0.6948, allocations: 0 / 1.019 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 6.736e-05/0.6948, allocations: 7.984 kB / 1.019 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.57e-05/0.6949, allocations: 3.938 kB / 1.019 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002686/0.6952, allocations: 19.98 kB / 1.019 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.858e-05/0.6952, allocations: 23.91 kB / 1.019 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.6953, allocations: 8 kB / 1.019 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.087e-05/0.6954, allocations: 7.938 kB / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.109e-05/0.6954, allocations: 11.98 kB / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.6955, allocations: 0 / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.6956, allocations: 23.92 kB / 1.019 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.031e-05/0.6956, allocations: 15.92 kB / 1.019 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.587e-05/0.6956, allocations: 11.94 kB / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.6958, allocations: 31.94 kB / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.6958, allocations: 4 kB / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of FrontEnd: time 4.528e-06/0.6958, allocations: 4 kB / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.6958, allocations: 3.938 kB / 1.019 GB, free: 0.8594 MB / 0.7637 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.0004231/0.6962, allocations: 337.4 kB / 1.019 GB, free: 492 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.6963, allocations: 12.03 kB / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.122e-05/0.6963, allocations: 4.844 kB / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.6964, allocations: 172.3 kB / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.6964, allocations: 384 / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.193e-05/0.6964, allocations: 384 / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.6966, allocations: 54.23 kB / 1.019 GB, free: 204 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.6966, allocations: 4.125 kB / 1.019 GB, free: 200 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.6967, allocations: 11.92 kB / 1.019 GB, free: 188 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.6967, allocations: 0 / 1.019 GB, free: 188 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001632/0.6968, allocations: 35.97 kB / 1.02 GB, free: 152 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003324/0.6972, allocations: 257 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001408/0.6973, allocations: 42.5 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.172e-05/0.6974, allocations: 24.89 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.927e-05/0.6975, allocations: 0 / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.6975, allocations: 42.5 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.6975, allocations: 3.938 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003926/0.6979, allocations: 85.55 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.062e-05/0.698, allocations: 55.41 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.937e-05/0.6981, allocations: 109.8 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.6981, allocations: 29.83 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.453e-05/0.6982, allocations: 80.14 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.949e-05/0.6982, allocations: 3.906 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.641e-05/0.6982, allocations: 21.7 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.6984, allocations: 310.8 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.032e-05/0.6984, allocations: 19.98 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.601e-05/0.6985, allocations: 19.91 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001621/0.6987, allocations: 48.89 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.6987, allocations: 0 / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001986/0.6989, allocations: 69.59 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.6989, allocations: 8 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.699, allocations: 0 / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.699, allocations: 4.031 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.926e-05/0.6991, allocations: 7.984 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.6991, allocations: 11.92 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.358e-05/0.6991, allocations: 0 / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.6992, allocations: 7.984 kB / 1.021 GB, free: 14.78 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 (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 9.142e-05/0.6993, allocations: 113.8 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.558e-05/0.6993, allocations: 7.938 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002539/0.6995, allocations: 77.09 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.6996, allocations: 0 / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.6996, allocations: 0 / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.6996, allocations: 0 / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001664/0.6997, allocations: 169.6 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.6998, allocations: 0 / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.611e-05/0.6998, allocations: 11.98 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.6998, allocations: 0 / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.6998, allocations: 0 / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.6998, allocations: 288 / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.6998, allocations: 4 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002742/0.7001, allocations: 175.4 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.005e-05/0.7002, allocations: 77.11 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.7002, allocations: 0 / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.49e-05/0.7003, allocations: 7.984 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.881e-05/0.7003, allocations: 4.031 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.775e-06/0.7003, allocations: 7.984 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.429e-05/0.7004, allocations: 87.27 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9e-08/0.7004, allocations: 0 / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002257/0.7006, allocations: 11.94 kB / 1.021 GB, free: 13.94 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 (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.0001966/0.7008, allocations: 103.2 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002493/0.7011, allocations: 43.95 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.7011, allocations: 3.938 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.727e-05/0.7012, allocations: 19.98 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.7016, allocations: 7.938 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003574/0.7019, allocations: 113.5 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.7022, allocations: 0.6847 MB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.255e-05/0.7023, allocations: 0 / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.117e-05/0.7023, allocations: 7.438 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of SimCode: time 1.944e-06/0.7023, allocations: 0 / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of Templates: time 0.003077/0.7054, allocations: 0.5497 MB / 1.023 GB, free: 12.36 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_Polynomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches