Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings.Utilities.Math.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_latest_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.0008804/0.0008804, allocations: 91.22 kB / 15.06 MB, free: 1.098 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.001304/0.001304, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 223.3 MB / 240 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.054/3.054, allocations: 462.6 MB / 0.736 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005172/0.0005173, allocations: 14.34 kB / 0.9021 GB, free: 36.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4056/0.4062, allocations: 159.6 MB / 1.058 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002829/0.4091, allocations: 1.148 MB / 1.059 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004598/0.4096, allocations: 95.77 kB / 1.059 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.983e-05/0.4096, allocations: 0 / 1.059 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.501e-05/0.4097, allocations: 4 kB / 1.059 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.724e-05/0.4098, allocations: 11.92 kB / 1.059 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002622/0.4101, allocations: 8 kB / 1.059 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.049e-05/0.4102, allocations: 19.92 kB / 1.059 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.4103, allocations: 11.98 kB / 1.059 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.491e-05/0.4103, allocations: 4 kB / 1.059 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.197e-05/0.4104, allocations: 7.922 kB / 1.059 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.4105, allocations: 4 kB / 1.059 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001286/0.4106, allocations: 15.98 kB / 1.059 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.311e-05/0.4107, allocations: 8 kB / 1.059 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.877e-05/0.4107, allocations: 29.64 kB / 1.059 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001302/0.4109, allocations: 39.88 kB / 1.059 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 1.216e-05/0.4109, allocations: 0 / 1.059 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.874e-06/0.4109, allocations: 3.938 kB / 1.059 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.154e-06/0.4109, allocations: 0 / 1.059 GB, free: 3.93 MB / 0.8106 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.0007217/0.4116, allocations: 339.5 kB / 1.06 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.4117, allocations: 16.03 kB / 1.06 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.531e-05/0.4118, allocations: 3.906 kB / 1.06 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00019/0.412, allocations: 163.1 kB / 1.06 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/0.412, allocations: 8 kB / 1.06 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.743e-05/0.4121, allocations: 3.953 kB / 1.06 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003051/0.4124, allocations: 53.67 kB / 1.06 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.4124, allocations: 0 / 1.06 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.534e-05/0.4124, allocations: 8 kB / 1.06 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.4125, allocations: 3.938 kB / 1.06 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003347/0.4128, allocations: 43.95 kB / 1.06 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004921/0.4133, allocations: 252.9 kB / 1.06 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002367/0.4136, allocations: 46.56 kB / 1.06 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000175/0.4138, allocations: 32.89 kB / 1.06 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.899e-05/0.4138, allocations: 4 kB / 1.06 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.068e-05/0.4139, allocations: 38.5 kB / 1.06 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.993e-06/0.4139, allocations: 0 / 1.06 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0006665/0.4146, allocations: 105.7 kB / 1.06 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.473e-05/0.4147, allocations: 51.41 kB / 1.061 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.4148, allocations: 105.8 kB / 1.061 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/0.4149, allocations: 25.7 kB / 1.061 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.023e-05/0.415, allocations: 88.05 kB / 1.061 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.407e-05/0.415, allocations: 4 kB / 1.061 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-06/0.415, allocations: 0 / 1.061 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002427/0.4153, allocations: 318.8 kB / 1.061 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.4154, allocations: 24.02 kB / 1.061 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001545/0.4156, allocations: 23.98 kB / 1.061 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001686/0.4158, allocations: 35.92 kB / 1.061 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.4158, allocations: 0 / 1.061 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004179/0.4163, allocations: 81.58 kB / 1.061 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.4163, allocations: 4 kB / 1.061 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.4163, allocations: 0 / 1.061 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.4163, allocations: 8.016 kB / 1.061 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.4165, allocations: 11.94 kB / 1.061 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.4165, allocations: 0 / 1.061 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.431e-05/0.4166, allocations: 15.92 kB / 1.061 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.4166, allocations: 0 / 1.061 GB, free: 1.832 MB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000125/0.4168, allocations: 113.8 kB / 1.061 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.266e-05/0.4168, allocations: 3.938 kB / 1.061 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004306/0.4173, allocations: 97.11 kB / 1.061 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.4173, allocations: 0 / 1.061 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.4173, allocations: 0 / 1.061 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.4173, allocations: 0 / 1.061 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002822/0.4176, allocations: 157.7 kB / 1.062 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/0.4177, allocations: 11.94 kB / 1.062 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000103/0.4178, allocations: 11.98 kB / 1.062 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.4178, allocations: 0 / 1.062 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.4178, allocations: 4.25 kB / 1.062 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.123e-06/0.4178, allocations: 4 kB / 1.062 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-06/0.4178, allocations: 0 / 1.062 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004403/0.4183, allocations: 183.4 kB / 1.062 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.102e-05/0.4184, allocations: 85.05 kB / 1.062 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/0.4184, allocations: 0 / 1.062 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001555/0.4186, allocations: 12 kB / 1.062 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.267e-05/0.4186, allocations: 8.016 kB / 1.062 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.4187, allocations: 0 / 1.062 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001588/0.4188, allocations: 79.28 kB / 1.062 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of sort global known variables: time 4.4e-07/0.4189, allocations: 0 / 1.062 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004484/0.4193, allocations: 12 kB / 1.062 GB, free: 0.9648 MB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002133/0.4195, allocations: 103.2 kB / 1.062 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003822/0.4199, allocations: 47.97 kB / 1.062 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.42, allocations: 0 / 1.062 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001817/0.4202, allocations: 35.91 kB / 1.062 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004502/0.4206, allocations: 5.969 kB / 1.062 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004323/0.4211, allocations: 124.8 kB / 1.062 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004612/0.4216, allocations: 0.677 MB / 1.063 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.965e-05/0.4216, allocations: 4 kB / 1.063 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.127e-05/0.4217, allocations: 7.438 kB / 1.063 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of SimCode: time 4.8e-07/0.4217, allocations: 0 / 1.063 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of Templates: time 0.004534/0.4262, allocations: 469.4 kB / 1.063 GB, free: 15.45 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Polynomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches