Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.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.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005771/0.005772, allocations: 100.9 kB / 15.87 MB, free: 5.863 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.001441/0.001441, allocations: 188.9 kB / 16.79 MB, free: 5.805 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.383/1.383, allocations: 222.9 MB / 240.5 MB, free: 4.582 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.418/2.418, allocations: 390.2 MB / 0.6649 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 67.89 kB / 0.8125 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.726/0.7275, allocations: 140.4 MB / 0.9496 GB, free: 9.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001916/0.7295, allocations: 0.6431 MB / 0.9502 GB, free: 8.59 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002387/0.7298, allocations: 41.44 kB / 0.9503 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.087e-05/0.7298, allocations: 0 / 0.9503 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.523e-05/0.7298, allocations: 0 / 0.9503 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.35e-06/0.7298, allocations: 0 / 0.9503 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002381/0.7301, allocations: 17.42 kB / 0.9503 GB, free: 8.547 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.243e-05/0.7301, allocations: 5.375 kB / 0.9503 GB, free: 8.543 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.818e-05/0.7302, allocations: 1.375 kB / 0.9503 GB, free: 8.543 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.558e-05/0.7302, allocations: 1.375 kB / 0.9503 GB, free: 8.543 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.64e-05/0.7302, allocations: 1.375 kB / 0.9503 GB, free: 8.543 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.877e-06/0.7302, allocations: 0 / 0.9503 GB, free: 8.543 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.929e-05/0.7304, allocations: 16.23 kB / 0.9503 GB, free: 8.535 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.646e-06/0.7304, allocations: 0 / 0.9503 GB, free: 8.535 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.967e-05/0.7304, allocations: 5.359 kB / 0.9503 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.029e-05/0.7305, allocations: 12.09 kB / 0.9503 GB, free: 8.523 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.7305, allocations: 5.312 kB / 0.9503 GB, free: 8.52 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.52e-07/0.7305, allocations: 0 / 0.9503 GB, free: 8.52 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.946e-06/0.7305, allocations: 4 kB / 0.9503 GB, free: 8.516 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002317/0.7307, allocations: 315.7 kB / 0.9506 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.7308, allocations: 9.625 kB / 0.9506 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.165e-05/0.7308, allocations: 0.9375 kB / 0.9506 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.447e-05/0.7309, allocations: 164.4 kB / 0.9508 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.7309, allocations: 5.688 kB / 0.9508 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.945e-06/0.7309, allocations: 384 / 0.9508 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.748e-05/0.731, allocations: 32.95 kB / 0.9508 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.031e-06/0.731, allocations: 4.188 kB / 0.9508 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.731, allocations: 3.938 kB / 0.9508 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.731, allocations: 0 / 0.9508 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.198e-05/0.731, allocations: 2.75 kB / 0.9508 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.894e-05/0.7312, allocations: 151 kB / 0.951 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.562e-05/0.7312, allocations: 15.95 kB / 0.951 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.535e-05/0.7312, allocations: 6.234 kB / 0.951 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.269e-05/0.7313, allocations: 1.375 kB / 0.951 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.239e-05/0.7313, allocations: 47.86 kB / 0.9511 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.7313, allocations: 0 / 0.9511 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.000115/0.7314, allocations: 39.14 kB / 0.9511 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.088e-05/0.7314, allocations: 52.78 kB / 0.9511 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.674e-05/0.7314, allocations: 93.84 kB / 0.9512 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.382e-06/0.7315, allocations: 25.7 kB / 0.9513 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.588e-06/0.7315, allocations: 80.14 kB / 0.9513 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.301e-05/0.7315, allocations: 5.406 kB / 0.9513 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.489e-05/0.7315, allocations: 15.09 kB / 0.9514 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.559e-05/0.7316, allocations: 312.2 kB / 0.9516 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.272e-05/0.7316, allocations: 1.375 kB / 0.9516 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.074e-06/0.7316, allocations: 1.375 kB / 0.9517 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.364e-05/0.7316, allocations: 15.55 kB / 0.9517 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.7317, allocations: 0 / 0.9517 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.79e-05/0.7317, allocations: 35.19 kB / 0.9517 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.7317, allocations: 9.594 kB / 0.9517 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.7317, allocations: 0 / 0.9517 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.7318, allocations: 3.938 kB / 0.9517 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.788e-05/0.7318, allocations: 2.75 kB / 0.9517 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.7318, allocations: 0 / 0.9517 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.384e-05/0.7318, allocations: 1.375 kB / 0.9517 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.7319, allocations: 1.375 kB / 0.9517 GB, free: 6.922 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 (1): * Single equations (assignments): 1 * 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 4.064e-05/0.7319, allocations: 105.8 kB / 0.9518 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.113e-06/0.7319, allocations: 1.375 kB / 0.9518 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.729e-05/0.732, allocations: 58.12 kB / 0.9519 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.732, allocations: 5.312 kB / 0.9519 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.732, allocations: 0 / 0.9519 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.732, allocations: 0 / 0.9519 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.936e-05/0.7321, allocations: 147 kB / 0.952 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.7321, allocations: 0 / 0.952 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.983e-05/0.7321, allocations: 2.75 kB / 0.952 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.7321, allocations: 4.031 kB / 0.952 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.7321, allocations: 5.312 kB / 0.952 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.7322, allocations: 0 / 0.952 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.7322, allocations: 0 / 0.952 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.54e-05/0.7322, allocations: 63.94 kB / 0.9521 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.762e-05/0.7322, allocations: 77.11 kB / 0.9522 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.109e-05/0.7323, allocations: 5.312 kB / 0.9522 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.09e-05/0.7323, allocations: 0 / 0.9522 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.503e-05/0.7323, allocations: 5.406 kB / 0.9522 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.7323, allocations: 5.375 kB / 0.9522 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.238e-05/0.7323, allocations: 75.28 kB / 0.9523 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7323, allocations: 0 / 0.9523 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001982/0.7325, allocations: 5.5 kB / 0.9523 GB, free: 6.293 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 (1): * Single equations (assignments): 1 * 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.0001414/0.7327, allocations: 103.9 kB / 0.9524 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.401e-05/0.7327, allocations: 8.125 kB / 0.9524 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.7328, allocations: 4.062 kB / 0.9524 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.072e-05/0.7328, allocations: 6.688 kB / 0.9524 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001357/0.7329, allocations: 1.375 kB / 0.9524 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001698/0.7331, allocations: 97.91 kB / 0.9525 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.248e-05/0.7332, allocations: 0.6745 MB / 0.9531 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.552e-05/0.7332, allocations: 8.812 kB / 0.9531 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.7332, allocations: 0 / 0.9531 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of Templates: time 0.001779/0.735, allocations: 448.9 kB / 0.9536 GB, free: 5.148 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_Polynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches