Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings.Utilities.Math.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_9_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.001242/0.001242, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00134/0.00134, allocations: 189.4 kB / 16.25 MB, free: 6.633 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.466/1.466, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.493/2.493, allocations: 390.2 MB / 0.6643 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 63.91 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8589/0.8602, allocations: 140.4 MB / 0.9491 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002825/0.8631, allocations: 1.495 MB / 0.9505 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003336/0.8634, allocations: 94.72 kB / 0.9506 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.161e-05/0.8635, allocations: 3.938 kB / 0.9506 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.048e-05/0.8635, allocations: 3.938 kB / 0.9506 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.625e-05/0.8636, allocations: 1.812 kB / 0.9506 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002689/0.8639, allocations: 17.58 kB / 0.9507 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.489e-05/0.8639, allocations: 18.16 kB / 0.9507 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.8641, allocations: 15.92 kB / 0.9507 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.427e-05/0.8641, allocations: 6.906 kB / 0.9507 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.606e-05/0.8642, allocations: 16.08 kB / 0.9507 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.8642, allocations: 1.656 kB / 0.9507 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.8643, allocations: 20.7 kB / 0.9507 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.904e-05/0.8643, allocations: 14.72 kB / 0.9508 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.149e-05/0.8644, allocations: 9.25 kB / 0.9508 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001357/0.8645, allocations: 34.83 kB / 0.9508 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.8645, allocations: 1.281 kB / 0.9508 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.234e-06/0.8645, allocations: 0 / 0.9508 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.8645, allocations: 4 kB / 0.9508 GB, free: 7.816 MB / 0.7169 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.0004567/0.865, allocations: 344.5 kB / 0.9511 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.8651, allocations: 9.625 kB / 0.9511 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.233e-05/0.8651, allocations: 6.219 kB / 0.9511 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.8652, allocations: 171.1 kB / 0.9513 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.8652, allocations: 384 / 0.9513 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.8653, allocations: 1.75 kB / 0.9513 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.8655, allocations: 62.48 kB / 0.9514 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.8655, allocations: 1.562 kB / 0.9514 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.8655, allocations: 3.938 kB / 0.9514 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.8655, allocations: 0 / 0.9514 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001633/0.8657, allocations: 37.95 kB / 0.9514 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003203/0.866, allocations: 253.3 kB / 0.9517 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/0.8661, allocations: 45.62 kB / 0.9517 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.511e-05/0.8662, allocations: 27.77 kB / 0.9517 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.356e-05/0.8663, allocations: 2.75 kB / 0.9517 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.698e-05/0.8663, allocations: 34.56 kB / 0.9518 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.233e-06/0.8663, allocations: 0 / 0.9518 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003516/0.8666, allocations: 93.3 kB / 0.9518 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/0.8667, allocations: 52.78 kB / 0.9519 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.847e-05/0.8668, allocations: 110.1 kB / 0.952 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.927e-06/0.8668, allocations: 25.7 kB / 0.952 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.716e-05/0.8668, allocations: 81.52 kB / 0.9521 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.761e-05/0.8668, allocations: 9.281 kB / 0.9521 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.816e-05/0.8669, allocations: 11.09 kB / 0.9521 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.967e-05/0.8669, allocations: 320.3 kB / 0.9524 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.431e-05/0.867, allocations: 22.95 kB / 0.9525 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.87e-05/0.8671, allocations: 14.08 kB / 0.9525 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/0.8672, allocations: 46.31 kB / 0.9525 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.8672, allocations: 1.531 kB / 0.9525 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001817/0.8674, allocations: 74.91 kB / 0.9526 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.8674, allocations: 5.594 kB / 0.9526 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.8675, allocations: 0 / 0.9526 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.8675, allocations: 3.938 kB / 0.9526 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.827e-05/0.8676, allocations: 9.984 kB / 0.9526 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.8676, allocations: 1.156 kB / 0.9526 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.413e-05/0.8676, allocations: 2.938 kB / 0.9526 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-06/0.8676, allocations: 5.094 kB / 0.9526 GB, free: 5.977 MB / 0.7169 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 5.577e-05/0.8677, allocations: 123.7 kB / 0.9527 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.161e-05/0.8677, allocations: 1.531 kB / 0.9527 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002201/0.868, allocations: 71.16 kB / 0.9528 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.868, allocations: 0 / 0.9528 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.868, allocations: 0 / 0.9528 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.868, allocations: 5.562 kB / 0.9528 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001289/0.8681, allocations: 171.5 kB / 0.953 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.8681, allocations: 5.188 kB / 0.953 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.566e-05/0.8682, allocations: 9.641 kB / 0.953 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.8682, allocations: 0 / 0.953 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.8682, allocations: 1.5 kB / 0.953 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.8682, allocations: 0 / 0.953 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.8682, allocations: 3.984 kB / 0.953 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002007/0.8684, allocations: 178 kB / 0.9532 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.09e-05/0.8685, allocations: 78.3 kB / 0.9532 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.8685, allocations: 1.438 kB / 0.9532 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.143e-05/0.8686, allocations: 6.922 kB / 0.9532 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.139e-05/0.8686, allocations: 2.688 kB / 0.9532 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.8686, allocations: 0 / 0.9532 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.271e-05/0.8686, allocations: 88.14 kB / 0.9533 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8686, allocations: 1.344 kB / 0.9533 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002453/0.8689, allocations: 11.09 kB / 0.9533 GB, free: 5.219 MB / 0.7169 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.0001333/0.869, allocations: 97.66 kB / 0.9534 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002198/0.8693, allocations: 45.3 kB / 0.9535 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.8693, allocations: 0 / 0.9535 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.353e-05/0.8694, allocations: 20.86 kB / 0.9535 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003038/0.8697, allocations: 9.438 kB / 0.9535 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000294/0.87, allocations: 129.3 kB / 0.9536 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001186/0.8701, allocations: 0.6822 MB / 0.9543 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.434e-05/0.8701, allocations: 5.328 kB / 0.9543 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.916e-05/0.8702, allocations: 8.719 kB / 0.9543 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of SimCode: time 2.6e-07/0.8702, allocations: 0 / 0.9543 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of Templates: time 0.002788/0.873, allocations: 491.8 kB / 0.9548 GB, free: 4.004 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.Polynomial.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.Polynomial.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_Polynomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches