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.00123/0.00123, allocations: 104.6 kB / 16.41 MB, free: 6.488 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.00133/0.00133, allocations: 183 kB / 17.34 MB, free: 5.734 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.332/1.332, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.473/2.473, allocations: 437 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001541, allocations: 71.91 kB / 1.019 GB, free: 9.383 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9361/0.9376, allocations: 151.6 MB / 1.167 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002913/0.9406, allocations: 1.433 MB / 1.169 GB, free: 2.371 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0003485/0.9409, allocations: 107 kB / 1.169 GB, free: 2.266 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.614e-05/0.941, allocations: 0 / 1.169 GB, free: 2.266 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 7.229e-05/0.9411, allocations: 7.922 kB / 1.169 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.048e-05/0.9411, allocations: 3.938 kB / 1.169 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002793/0.9414, allocations: 15.98 kB / 1.169 GB, free: 2.238 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.475e-05/0.9415, allocations: 23.92 kB / 1.169 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.9416, allocations: 7.984 kB / 1.169 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.987e-05/0.9417, allocations: 15.98 kB / 1.169 GB, free: 2.191 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.353e-05/0.9417, allocations: 11.94 kB / 1.169 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.9417, allocations: 0 / 1.169 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/0.9419, allocations: 23.97 kB / 1.169 GB, free: 2.156 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.957e-05/0.9419, allocations: 7.938 kB / 1.169 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.8e-05/0.9419, allocations: 7.938 kB / 1.169 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001293/0.9421, allocations: 35.94 kB / 1.169 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.9421, allocations: 0 / 1.169 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of FrontEnd: time 6.182e-06/0.9421, allocations: 4 kB / 1.169 GB, free: 2.102 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.9421, allocations: 3.938 kB / 1.169 GB, free: 2.098 MB / 0.8887 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.0004862/0.9426, allocations: 347.2 kB / 1.169 GB, free: 1.711 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.9427, allocations: 12.92 kB / 1.169 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.348e-05/0.9427, allocations: 0.9375 kB / 1.169 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.9428, allocations: 176.3 kB / 1.169 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.9428, allocations: 4.375 kB / 1.169 GB, free: 1.484 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.184e-05/0.9429, allocations: 384 / 1.169 GB, free: 1.484 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001907/0.9431, allocations: 50.23 kB / 1.17 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.9431, allocations: 192 / 1.17 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.9431, allocations: 11.94 kB / 1.17 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.9431, allocations: 0 / 1.17 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001638/0.9433, allocations: 31.97 kB / 1.17 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003541/0.9436, allocations: 252.9 kB / 1.17 GB, free: 1.09 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.9438, allocations: 54.42 kB / 1.17 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.596e-05/0.9439, allocations: 28.89 kB / 1.17 GB, free: 0.9961 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.567e-05/0.9439, allocations: 0 / 1.17 GB, free: 0.9961 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.9439, allocations: 30.56 kB / 1.17 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.944, allocations: 0 / 1.17 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0003608/0.9443, allocations: 93.67 kB / 1.17 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.9444, allocations: 51.41 kB / 1.17 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.023e-05/0.9444, allocations: 105.8 kB / 1.17 GB, free: 0.6836 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.9445, allocations: 29.7 kB / 1.17 GB, free: 0.6484 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.121e-05/0.9445, allocations: 84.14 kB / 1.17 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.677e-05/0.9445, allocations: 7.891 kB / 1.17 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.392e-05/0.9446, allocations: 17.72 kB / 1.17 GB, free: 0.5312 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.9447, allocations: 310.8 kB / 1.171 GB, free: 224 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.273e-05/0.9448, allocations: 24.02 kB / 1.171 GB, free: 200 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.017e-05/0.9449, allocations: 15.97 kB / 1.171 GB, free: 184 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/0.945, allocations: 40.83 kB / 1.171 GB, free: 140 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.945, allocations: 0 / 1.171 GB, free: 140 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001939/0.9452, allocations: 85.5 kB / 1.171 GB, free: 48 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.9453, allocations: 8 kB / 1.171 GB, free: 40 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.9453, allocations: 0 / 1.171 GB, free: 40 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.9453, allocations: 0 / 1.171 GB, free: 40 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.166e-05/0.9454, allocations: 7.984 kB / 1.171 GB, free: 32 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.9454, allocations: 7.938 kB / 1.171 GB, free: 24 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.847e-05/0.9454, allocations: 5.812 kB / 1.171 GB, free: 20 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.9455, allocations: 4 kB / 1.171 GB, free: 16 kB / 0.8887 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.326e-05/0.9456, allocations: 113.8 kB / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.63e-05/0.9456, allocations: 4 kB / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002325/0.9458, allocations: 77.12 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.9458, allocations: 0 / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.9459, allocations: 3.984 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.9459, allocations: 0 / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001568/0.946, allocations: 161.9 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.946, allocations: 0 / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.238e-05/0.9461, allocations: 20.02 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.9461, allocations: 0 / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.9461, allocations: 4 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.9461, allocations: 0 / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.9461, allocations: 0 / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002643/0.9464, allocations: 163.5 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.045e-05/0.9465, allocations: 85.05 kB / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.9465, allocations: 3.984 kB / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.457e-05/0.9466, allocations: 8 kB / 1.171 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.309e-05/0.9466, allocations: 7.875 kB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.381e-06/0.9466, allocations: 4 kB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.229e-05/0.9467, allocations: 83.27 kB / 1.171 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9467, allocations: 0 / 1.171 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002423/0.947, allocations: 12 kB / 1.171 GB, free: 15.18 MB / 0.9044 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.0001907/0.9472, allocations: 107.2 kB / 1.172 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002411/0.9474, allocations: 39.95 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.9474, allocations: 0 / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.758e-05/0.9475, allocations: 19.98 kB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003504/0.9479, allocations: 11.92 kB / 1.172 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003449/0.9482, allocations: 147.1 kB / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002438/0.9485, allocations: 0.6807 MB / 1.172 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.314e-05/0.9485, allocations: 7.438 kB / 1.172 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of SimCode: time 3.41e-07/0.9485, allocations: 0 / 1.172 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of Templates: time 0.002434/0.951, allocations: 0.6628 MB / 1.173 GB, free: 13.44 MB / 0.9044 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches