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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001021/0.001021, allocations: 104.4 kB / 16.35 MB, free: 6.336 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.0009892/0.0009892, allocations: 195.4 kB / 17.29 MB, free: 5.883 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.337/1.337, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.221/2.221, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 66.62 kB / 0.814 GB, free: 32.79 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/0.2656, allocations: 140.4 MB / 0.9511 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.00248/0.2682, allocations: 1.429 MB / 0.9525 GB, free: 6.633 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0002805/0.2685, allocations: 98.62 kB / 0.9526 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.845e-05/0.2685, allocations: 0 / 0.9526 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 5.5e-05/0.2686, allocations: 7.938 kB / 0.9526 GB, free: 6.527 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.116e-05/0.2686, allocations: 4 kB / 0.9526 GB, free: 6.523 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002306/0.2688, allocations: 19.91 kB / 0.9526 GB, free: 6.504 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.332e-05/0.2689, allocations: 23.94 kB / 0.9527 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.002e-05/0.269, allocations: 3.984 kB / 0.9527 GB, free: 6.477 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.214e-05/0.2691, allocations: 11.98 kB / 0.9527 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.97e-05/0.2691, allocations: 11.92 kB / 0.9527 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.2691, allocations: 4 kB / 0.9527 GB, free: 6.449 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.625e-05/0.2692, allocations: 23.98 kB / 0.9527 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.74e-05/0.2693, allocations: 7.984 kB / 0.9527 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.53e-05/0.2693, allocations: 15.88 kB / 0.9527 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001025/0.2694, allocations: 35.89 kB / 0.9528 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2694, allocations: 0 / 0.9528 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2694, allocations: 0 / 0.9528 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.2694, allocations: 0 / 0.9528 GB, free: 6.367 MB / 0.7325 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.0004116/0.2698, allocations: 343.4 kB / 0.9531 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.2699, allocations: 11.97 kB / 0.9531 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.144e-05/0.2699, allocations: 4.844 kB / 0.9531 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.27, allocations: 180.3 kB / 0.9533 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.27, allocations: 384 / 0.9533 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.2701, allocations: 384 / 0.9533 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.2702, allocations: 54.23 kB / 0.9533 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.545e-06/0.2703, allocations: 192 / 0.9533 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.2703, allocations: 3.938 kB / 0.9533 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-06/0.2703, allocations: 3.984 kB / 0.9533 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001566/0.2704, allocations: 39.95 kB / 0.9534 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003039/0.2707, allocations: 253 kB / 0.9536 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001415/0.2709, allocations: 46.44 kB / 0.9537 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.723e-05/0.271, allocations: 28.89 kB / 0.9537 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.025e-05/0.271, allocations: 0 / 0.9537 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.2711, allocations: 38.56 kB / 0.9537 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.2711, allocations: 0 / 0.9537 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003398/0.2714, allocations: 89.55 kB / 0.9538 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.329e-05/0.2714, allocations: 55.34 kB / 0.9539 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.474e-05/0.2715, allocations: 105.8 kB / 0.954 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.2715, allocations: 29.83 kB / 0.954 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.624e-05/0.2716, allocations: 84.14 kB / 0.9541 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.696e-05/0.2716, allocations: 7.906 kB / 0.9541 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.806e-05/0.2717, allocations: 9.719 kB / 0.9541 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.2718, allocations: 318.8 kB / 0.9544 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.812e-05/0.2719, allocations: 15.98 kB / 0.9544 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.797e-05/0.2719, allocations: 19.98 kB / 0.9544 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/0.2721, allocations: 44.88 kB / 0.9545 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2721, allocations: 0 / 0.9545 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001798/0.2723, allocations: 77.53 kB / 0.9546 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.2723, allocations: 4 kB / 0.9546 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.2723, allocations: 0 / 0.9546 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.2723, allocations: 0 / 0.9546 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.011e-05/0.2724, allocations: 16.02 kB / 0.9546 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.2724, allocations: 0 / 0.9546 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.279e-05/0.2725, allocations: 7.938 kB / 0.9546 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.2725, allocations: 0 / 0.9546 GB, free: 4.285 MB / 0.7325 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 7.53e-05/0.2726, allocations: 131.6 kB / 0.9547 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.366e-05/0.2726, allocations: 3.906 kB / 0.9547 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002115/0.2728, allocations: 77.19 kB / 0.9548 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.2728, allocations: 0 / 0.9548 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.2728, allocations: 0 / 0.9548 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2728, allocations: 4 kB / 0.9548 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001455/0.273, allocations: 161.8 kB / 0.9549 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.273, allocations: 7.938 kB / 0.9549 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.585e-05/0.273, allocations: 11.98 kB / 0.955 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.273, allocations: 0 / 0.955 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.2731, allocations: 0 / 0.955 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2731, allocations: 0 / 0.955 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2731, allocations: 4.031 kB / 0.955 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002149/0.2733, allocations: 167.5 kB / 0.9551 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 2.921e-05/0.2733, allocations: 77.11 kB / 0.9552 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.131e-05/0.2733, allocations: 0 / 0.9552 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.059e-05/0.2734, allocations: 7.984 kB / 0.9552 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.551e-05/0.2735, allocations: 8.031 kB / 0.9552 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-06/0.2735, allocations: 0 / 0.9552 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.984e-05/0.2735, allocations: 87.27 kB / 0.9553 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.01e-07/0.2735, allocations: 0 / 0.9553 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000224/0.2737, allocations: 12 kB / 0.9553 GB, free: 3.438 MB / 0.7325 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.0001304/0.2739, allocations: 103.2 kB / 0.9554 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002009/0.2741, allocations: 47.95 kB / 0.9554 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2741, allocations: 0 / 0.9554 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.654e-05/0.2742, allocations: 15.98 kB / 0.9555 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002279/0.2744, allocations: 9.969 kB / 0.9555 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002604/0.2747, allocations: 109.5 kB / 0.9556 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002397/0.2749, allocations: 0.6844 MB / 0.9562 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.264e-05/0.275, allocations: 128 / 0.9562 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.898e-05/0.275, allocations: 15.38 kB / 0.9563 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of SimCode: time 3.4e-07/0.275, allocations: 0 / 0.9563 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of Templates: time 0.002774/0.2778, allocations: 0.5444 MB / 0.9568 GB, free: 1.859 MB / 0.7325 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches