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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001309/0.001309, allocations: 111.1 kB / 16.41 MB, free: 6.5 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.001235/0.001235, allocations: 185.6 kB / 17.34 MB, free: 5.762 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.329/1.329, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.562/2.562, allocations: 461.9 MB / 0.7354 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 63.91 kB / 1.055 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8666/0.8681, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.003006/0.8711, allocations: 1.43 MB / 1.21 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0003626/0.8715, allocations: 103.6 kB / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.457e-05/0.8716, allocations: 0 / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 7.343e-05/0.8717, allocations: 0 / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.559e-05/0.8718, allocations: 7.938 kB / 1.21 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002802/0.872, allocations: 23.92 kB / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.81e-05/0.8721, allocations: 27.91 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.8722, allocations: 4 kB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.52e-05/0.8723, allocations: 15.98 kB / 1.21 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.687e-05/0.8723, allocations: 7.938 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.8724, allocations: 4 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.8725, allocations: 19.97 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.672e-05/0.8725, allocations: 4 kB / 1.21 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.872e-05/0.8726, allocations: 11.94 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001553/0.8727, allocations: 39.88 kB / 1.21 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.8727, allocations: 0 / 1.21 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8728, allocations: 0 / 1.21 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.8728, allocations: 0 / 1.21 GB, free: 11.94 MB / 0.9356 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.0005013/0.8733, allocations: 351.3 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.8733, allocations: 11.97 kB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.921e-05/0.8734, allocations: 4.938 kB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.8735, allocations: 172.3 kB / 1.211 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.8735, allocations: 4.312 kB / 1.211 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.8735, allocations: 4.375 kB / 1.211 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002095/0.8737, allocations: 54.22 kB / 1.211 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.8738, allocations: 192 / 1.211 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.8738, allocations: 7.938 kB / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.381e-06/0.8738, allocations: 0 / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001864/0.874, allocations: 35.95 kB / 1.211 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003606/0.8744, allocations: 249 kB / 1.211 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001491/0.8745, allocations: 50.42 kB / 1.211 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.407e-05/0.8746, allocations: 28.91 kB / 1.211 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.082e-05/0.8747, allocations: 4 kB / 1.211 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.8747, allocations: 30.56 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.8747, allocations: 0 / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0004033/0.8751, allocations: 89.62 kB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.8752, allocations: 59.47 kB / 1.211 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.608e-05/0.8753, allocations: 101.9 kB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.8753, allocations: 25.7 kB / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.455e-05/0.8754, allocations: 84.12 kB / 1.211 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.323e-05/0.8754, allocations: 11.91 kB / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-05/0.8754, allocations: 13.66 kB / 1.211 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.8756, allocations: 314.8 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.85e-05/0.8757, allocations: 23.97 kB / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.697e-05/0.8758, allocations: 19.98 kB / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/0.8759, allocations: 36.83 kB / 1.212 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.8759, allocations: 0 / 1.212 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000215/0.8761, allocations: 81.56 kB / 1.212 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.8762, allocations: 7.938 kB / 1.212 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.8762, allocations: 0 / 1.212 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.8762, allocations: 0 / 1.212 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.671e-05/0.8763, allocations: 11.98 kB / 1.212 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.8763, allocations: 0 / 1.212 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.975e-05/0.8764, allocations: 9.812 kB / 1.212 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.8764, allocations: 0 / 1.212 GB, free: 9.859 MB / 0.9356 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 8.82e-05/0.8765, allocations: 121.7 kB / 1.212 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.547e-05/0.8765, allocations: 4.031 kB / 1.212 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002454/0.8768, allocations: 77.17 kB / 1.212 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.8768, allocations: 0 / 1.212 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.8768, allocations: 4 kB / 1.212 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.8768, allocations: 0 / 1.212 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001627/0.877, allocations: 157.9 kB / 1.212 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.877, allocations: 4 kB / 1.212 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.183e-05/0.877, allocations: 15.92 kB / 1.212 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.877, allocations: 4.031 kB / 1.212 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.8771, allocations: 0 / 1.212 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.8771, allocations: 0 / 1.212 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.8771, allocations: 0 / 1.212 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002531/0.8773, allocations: 167.5 kB / 1.212 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.231e-05/0.8774, allocations: 85 kB / 1.212 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.276e-05/0.8774, allocations: 8.031 kB / 1.213 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.645e-05/0.8775, allocations: 4 kB / 1.213 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.572e-05/0.8776, allocations: 3.984 kB / 1.213 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.317e-06/0.8776, allocations: 0 / 1.213 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.602e-05/0.8776, allocations: 83.28 kB / 1.213 GB, free: 9.027 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.8776, allocations: 0 / 1.213 GB, free: 9.027 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002269/0.8779, allocations: 8 kB / 1.213 GB, free: 9.02 MB / 0.9356 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.0001733/0.878, allocations: 107.2 kB / 1.213 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002338/0.8783, allocations: 39.91 kB / 1.213 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.8783, allocations: 0 / 1.213 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.42e-05/0.8784, allocations: 23.97 kB / 1.213 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.8787, allocations: 11.88 kB / 1.213 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000345/0.8791, allocations: 147.2 kB / 1.213 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002601/0.8793, allocations: 0.6768 MB / 1.214 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.101e-05/0.8794, allocations: 11.44 kB / 1.214 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of SimCode: time 6.01e-07/0.8794, allocations: 0 / 1.214 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of Templates: time 0.002371/0.8818, allocations: 0.6779 MB / 1.214 GB, free: 7.27 MB / 0.9356 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches