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.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.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.001095/0.001095, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.001459/0.001459, allocations: 168.7 kB / 15.95 MB, free: 204 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.521/1.521, allocations: 223.3 MB / 240 MB, free: 5.449 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.771/2.771, allocations: 437.8 MB / 0.7117 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003823/0.0003824, allocations: 12 kB / 0.8722 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.856/0.8564, allocations: 153.8 MB / 1.022 GB, free: 236 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002235/0.8587, allocations: 1.161 MB / 1.024 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0004315/0.8592, allocations: 84.69 kB / 1.024 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.63e-05/0.8592, allocations: 0 / 1.024 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 6.495e-05/0.8593, allocations: 0 / 1.024 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.614e-05/0.8594, allocations: 7.938 kB / 1.024 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003313/0.8597, allocations: 11.98 kB / 1.024 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.339e-05/0.8598, allocations: 19.92 kB / 1.024 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.8599, allocations: 11.98 kB / 1.024 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.616e-05/0.86, allocations: 11.92 kB / 1.024 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.948e-05/0.8601, allocations: 7.984 kB / 1.024 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.807e-05/0.8601, allocations: 7.938 kB / 1.024 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00013/0.8602, allocations: 19.92 kB / 1.024 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.84e-05/0.8603, allocations: 0 / 1.024 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.212e-05/0.8603, allocations: 29.7 kB / 1.024 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001271/0.8605, allocations: 19.95 kB / 1.024 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 9.178e-06/0.8605, allocations: 0 / 1.024 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.837e-06/0.8605, allocations: 4 kB / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.8605, allocations: 4 kB / 1.024 GB, free: 14.82 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006619/0.8612, allocations: 345.4 kB / 1.024 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.613e-05/0.8613, allocations: 8.562 kB / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.902e-05/0.8613, allocations: 7.906 kB / 1.024 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000197/0.8615, allocations: 167 kB / 1.024 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/0.8616, allocations: 4 kB / 1.024 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.559e-05/0.8616, allocations: 3.938 kB / 1.024 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002613/0.8618, allocations: 61.62 kB / 1.024 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.8619, allocations: 0 / 1.024 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.8619, allocations: 3.938 kB / 1.024 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/0.8619, allocations: 4 kB / 1.024 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001879/0.8621, allocations: 51.95 kB / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005268/0.8626, allocations: 256.9 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00015/0.8628, allocations: 50.5 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.553e-05/0.8629, allocations: 32.89 kB / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 5.312e-05/0.863, allocations: 4 kB / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.445e-05/0.863, allocations: 30.56 kB / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.863, allocations: 0 / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0004076/0.8634, allocations: 109.6 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/0.8635, allocations: 51.41 kB / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.8636, allocations: 109.8 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.8636, allocations: 29.83 kB / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.687e-05/0.8637, allocations: 84.14 kB / 1.025 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.224e-05/0.8637, allocations: 3.906 kB / 1.025 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-06/0.8637, allocations: 4 kB / 1.025 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.8639, allocations: 310.8 kB / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.895e-05/0.864, allocations: 27.97 kB / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.324e-05/0.8641, allocations: 31.92 kB / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.194e-05/0.8642, allocations: 19.98 kB / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.8642, allocations: 0 / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002076/0.8644, allocations: 85.58 kB / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.8644, allocations: 8 kB / 1.026 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.8644, allocations: 0 / 1.026 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.8645, allocations: 0 / 1.026 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.8646, allocations: 15.98 kB / 1.026 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.8646, allocations: 0 / 1.026 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.333e-05/0.8646, allocations: 16.02 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.8646, allocations: 3.938 kB / 1.026 GB, free: 12.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.626e-05/0.8647, allocations: 109.8 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.682e-05/0.8648, allocations: 3.953 kB / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002491/0.865, allocations: 93.17 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.865, allocations: 0 / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.8651, allocations: 0 / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.8651, allocations: 0 / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001708/0.8652, allocations: 157.7 kB / 1.026 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.8652, allocations: 0 / 1.026 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.7e-05/0.8653, allocations: 11.98 kB / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.8653, allocations: 3.953 kB / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.8653, allocations: 4.281 kB / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.8653, allocations: 0 / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.8653, allocations: 4 kB / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002367/0.8656, allocations: 183.4 kB / 1.026 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.493e-05/0.8656, allocations: 85.02 kB / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.8657, allocations: 7.938 kB / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.007e-05/0.8657, allocations: 4 kB / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.506e-05/0.8658, allocations: 7.984 kB / 1.026 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.8658, allocations: 4 kB / 1.026 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.381e-05/0.8659, allocations: 79.28 kB / 1.026 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8659, allocations: 0 / 1.026 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002265/0.8661, allocations: 12.03 kB / 1.026 GB, free: 11.85 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 (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.0001845/0.8663, allocations: 107.2 kB / 1.026 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000219/0.8665, allocations: 51.91 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.8665, allocations: 8 kB / 1.027 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.201e-05/0.8666, allocations: 27.97 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002872/0.8669, allocations: 4 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003123/0.8672, allocations: 112.7 kB / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002485/0.8675, allocations: 0.681 MB / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.463e-05/0.8675, allocations: 4 kB / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.904e-05/0.8676, allocations: 7.438 kB / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.8676, allocations: 0 / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of Templates: time 0.002935/0.8705, allocations: 466.2 kB / 1.028 GB, free: 10.34 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