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.001118/0.001118, allocations: 90.44 kB / 15.06 MB, free: 1.094 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.001283/0.001283, allocations: 172.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.506/1.506, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.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.415/2.415, allocations: 390.9 MB / 0.666 GB, free: 2.504 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003403/0.0003404, allocations: 11.98 kB / 0.8154 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8871/0.8875, allocations: 142.4 MB / 0.9544 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.001645/0.8892, allocations: 1.15 MB / 0.9556 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003181/0.8895, allocations: 85.03 kB / 0.9556 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.757e-05/0.8895, allocations: 0 / 0.9556 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.418e-05/0.8896, allocations: 9.031 kB / 0.9556 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.066e-05/0.8896, allocations: 1.469 kB / 0.9556 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00025/0.8899, allocations: 16.3 kB / 0.9557 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.554e-05/0.89, allocations: 21.52 kB / 0.9557 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.401e-05/0.8901, allocations: 10.3 kB / 0.9557 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.714e-05/0.8901, allocations: 11.67 kB / 0.9557 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.884e-05/0.8902, allocations: 10.5 kB / 0.9557 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.8902, allocations: 1.25 kB / 0.9557 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.853e-05/0.8903, allocations: 16.17 kB / 0.9557 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.249e-05/0.8903, allocations: 9.453 kB / 0.9557 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.314e-05/0.8904, allocations: 27.17 kB / 0.9558 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.503e-05/0.8904, allocations: 19.69 kB / 0.9558 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.8905, allocations: 1.219 kB / 0.9558 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.214e-06/0.8905, allocations: 0 / 0.9558 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.8905, allocations: 0 / 0.9558 GB, free: 6.641 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.0003879/0.8909, allocations: 339.3 kB / 0.9561 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.8909, allocations: 17.47 kB / 0.9561 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.801e-05/0.891, allocations: 10.09 kB / 0.9561 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.022e-05/0.8911, allocations: 168.2 kB / 0.9563 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.8911, allocations: 9.125 kB / 0.9563 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.8911, allocations: 1.094 kB / 0.9563 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.8913, allocations: 55.23 kB / 0.9564 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.8913, allocations: 0 / 0.9564 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.8913, allocations: 4 kB / 0.9564 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.848e-06/0.8913, allocations: 1.312 kB / 0.9564 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001758/0.8915, allocations: 50.62 kB / 0.9564 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000314/0.8918, allocations: 261.3 kB / 0.9567 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.892, allocations: 50.39 kB / 0.9567 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.44e-05/0.8921, allocations: 28.5 kB / 0.9567 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.982e-05/0.8921, allocations: 1.844 kB / 0.9567 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.8921, allocations: 39.48 kB / 0.9568 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.333e-06/0.8922, allocations: 1.094 kB / 0.9568 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003653/0.8925, allocations: 110.7 kB / 0.9569 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.672e-05/0.8926, allocations: 52.72 kB / 0.9569 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.544e-05/0.8926, allocations: 105.4 kB / 0.957 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.8926, allocations: 30.69 kB / 0.9571 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.713e-05/0.8927, allocations: 85.2 kB / 0.9571 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.899e-05/0.8927, allocations: 4.969 kB / 0.9572 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-06/0.8927, allocations: 0 / 0.9572 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.741e-05/0.8928, allocations: 316 kB / 0.9575 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.085e-05/0.8929, allocations: 27.66 kB / 0.9575 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.991e-05/0.893, allocations: 23.45 kB / 0.9575 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.507e-05/0.893, allocations: 23.98 kB / 0.9575 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.893, allocations: 0 / 0.9575 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001828/0.8932, allocations: 85.62 kB / 0.9576 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.8933, allocations: 4.812 kB / 0.9576 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.8933, allocations: 0 / 0.9576 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.8933, allocations: 5.219 kB / 0.9576 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.044e-05/0.8934, allocations: 15.81 kB / 0.9576 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.8934, allocations: 1.25 kB / 0.9576 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.491e-05/0.8934, allocations: 9.375 kB / 0.9576 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.8935, allocations: 5.203 kB / 0.9576 GB, free: 4.816 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.053e-05/0.8935, allocations: 108 kB / 0.9577 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.173e-05/0.8935, allocations: 5.281 kB / 0.9578 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002211/0.8938, allocations: 83.69 kB / 0.9578 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.8938, allocations: 1.469 kB / 0.9578 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.8938, allocations: 3.953 kB / 0.9578 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.8938, allocations: 0 / 0.9578 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001256/0.8939, allocations: 164.2 kB / 0.958 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.8939, allocations: 5.094 kB / 0.958 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.544e-05/0.894, allocations: 15.89 kB / 0.958 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.894, allocations: 4.969 kB / 0.958 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.311e-06/0.894, allocations: 3.938 kB / 0.958 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.894, allocations: 3.969 kB / 0.958 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.894, allocations: 0 / 0.958 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002087/0.8942, allocations: 173.9 kB / 0.9582 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.343e-05/0.8943, allocations: 81.02 kB / 0.9583 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.8943, allocations: 6.688 kB / 0.9583 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.108e-05/0.8944, allocations: 12.64 kB / 0.9583 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.791e-05/0.8944, allocations: 1.531 kB / 0.9583 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.8944, allocations: 0 / 0.9583 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.308e-05/0.8945, allocations: 93.05 kB / 0.9584 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8945, allocations: 0 / 0.9584 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002213/0.8947, allocations: 16.8 kB / 0.9584 GB, free: 4.059 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 (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.0001455/0.8949, allocations: 104.8 kB / 0.9585 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002101/0.8951, allocations: 54.02 kB / 0.9585 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.8951, allocations: 0 / 0.9585 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.356e-05/0.8952, allocations: 25.27 kB / 0.9586 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002712/0.8954, allocations: 7.344 kB / 0.9586 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002782/0.8957, allocations: 111.6 kB / 0.9587 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001321/0.8959, allocations: 0.6785 MB / 0.9593 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.363e-05/0.8959, allocations: 1.438 kB / 0.9593 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.888e-05/0.8959, allocations: 12.83 kB / 0.9594 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.8959, allocations: 3.938 kB / 0.9594 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of Templates: time 0.002746/0.8987, allocations: 463 kB / 0.9598 GB, free: 2.867 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