Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="Buildings_10_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_10_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.00151/0.001509, allocations: 111.9 kB / 16.41 MB, free: 6.492 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.001697/0.001697, allocations: 183 kB / 17.34 MB, free: 5.762 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.384/1.384, allocations: 222.9 MB / 241 MB, free: 15.15 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.494/2.494, allocations: 437 MB / 0.7112 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001749/0.001749, allocations: 63.91 kB / 1.019 GB, free: 9.43 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9295/0.9312, allocations: 151.6 MB / 1.167 GB, free: 3.91 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001755/0.933, allocations: 0.5892 MB / 1.168 GB, free: 3.328 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0002482/0.9333, allocations: 35.81 kB / 1.168 GB, free: 3.293 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.604e-05/0.9333, allocations: 0 / 1.168 GB, free: 3.293 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.911e-05/0.9333, allocations: 0 / 1.168 GB, free: 3.293 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.494e-06/0.9334, allocations: 0 / 1.168 GB, free: 3.293 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002762/0.9337, allocations: 15.98 kB / 1.168 GB, free: 3.277 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 4.276e-05/0.9337, allocations: 0 / 1.168 GB, free: 3.277 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.5e-05/0.9338, allocations: 4 kB / 1.168 GB, free: 3.273 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.881e-05/0.9338, allocations: 4 kB / 1.168 GB, free: 3.27 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.198e-05/0.9338, allocations: 0 / 1.168 GB, free: 3.27 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.027e-05/0.9339, allocations: 0 / 1.168 GB, free: 3.27 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.925e-05/0.934, allocations: 19.92 kB / 1.168 GB, free: 3.25 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.072e-05/0.934, allocations: 3.984 kB / 1.168 GB, free: 3.246 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.19e-05/0.934, allocations: 0 / 1.168 GB, free: 3.246 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001018/0.9341, allocations: 23.97 kB / 1.168 GB, free: 3.223 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.9341, allocations: 0 / 1.168 GB, free: 3.223 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.282e-06/0.9341, allocations: 0 / 1.168 GB, free: 3.223 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.9341, allocations: 0 / 1.168 GB, free: 3.223 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003141/0.9345, allocations: 311.6 kB / 1.168 GB, free: 2.867 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.9345, allocations: 8.922 kB / 1.168 GB, free: 2.859 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.082e-05/0.9345, allocations: 0.9375 kB / 1.168 GB, free: 2.859 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.953e-05/0.9347, allocations: 172.3 kB / 1.168 GB, free: 2.652 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.347e-06/0.9347, allocations: 8.359 kB / 1.168 GB, free: 2.645 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/0.9347, allocations: 384 / 1.168 GB, free: 2.645 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.139e-05/0.9348, allocations: 34.2 kB / 1.169 GB, free: 2.605 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.9348, allocations: 192 / 1.169 GB, free: 2.605 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.9348, allocations: 3.938 kB / 1.169 GB, free: 2.602 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.9348, allocations: 11.94 kB / 1.169 GB, free: 2.59 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.229e-05/0.9348, allocations: 0 / 1.169 GB, free: 2.59 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001392/0.935, allocations: 145.7 kB / 1.169 GB, free: 2.398 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 3.953e-05/0.935, allocations: 18.61 kB / 1.169 GB, free: 2.371 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.685e-05/0.9351, allocations: 4.859 kB / 1.169 GB, free: 2.363 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.703e-05/0.9351, allocations: 8.062 kB / 1.169 GB, free: 2.355 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.9351, allocations: 38.5 kB / 1.169 GB, free: 2.309 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.9351, allocations: 0 / 1.169 GB, free: 2.309 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0001274/0.9353, allocations: 33.64 kB / 1.169 GB, free: 2.27 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.691e-05/0.9353, allocations: 55.39 kB / 1.169 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.094e-05/0.9353, allocations: 89.86 kB / 1.169 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.9354, allocations: 29.7 kB / 1.169 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 2.832e-05/0.9354, allocations: 80.14 kB / 1.169 GB, free: 1.988 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.899e-05/0.9354, allocations: 0 / 1.169 GB, free: 1.988 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.921e-05/0.9355, allocations: 13.84 kB / 1.169 GB, free: 1.969 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001/0.9356, allocations: 314.8 kB / 1.169 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.012e-05/0.9356, allocations: 4 kB / 1.169 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.813e-06/0.9356, allocations: 0 / 1.169 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.839e-05/0.9356, allocations: 12.8 kB / 1.169 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.9356, allocations: 0 / 1.169 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.68e-05/0.9357, allocations: 33.69 kB / 1.169 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.9357, allocations: 8 kB / 1.169 GB, free: 1.586 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.9357, allocations: 4.094 kB / 1.169 GB, free: 1.582 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.9358, allocations: 3.938 kB / 1.169 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.674e-05/0.9358, allocations: 0 / 1.169 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.82e-06/0.9358, allocations: 0 / 1.169 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.295e-05/0.9358, allocations: 4 kB / 1.169 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.9359, allocations: 0 / 1.169 GB, free: 1.574 MB / 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 (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 6.636e-05/0.9359, allocations: 109.8 kB / 1.17 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.162e-05/0.936, allocations: 3.906 kB / 1.17 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001098/0.9361, allocations: 56.62 kB / 1.17 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.9361, allocations: 0 / 1.17 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.9361, allocations: 0 / 1.17 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.9361, allocations: 0 / 1.17 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.51e-05/0.9362, allocations: 153.7 kB / 1.17 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.9362, allocations: 0 / 1.17 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.917e-05/0.9362, allocations: 0 / 1.17 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.9362, allocations: 0 / 1.17 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.9362, allocations: 3.938 kB / 1.17 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.544e-06/0.9363, allocations: 12.03 kB / 1.17 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.9363, allocations: 0 / 1.17 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.553e-05/0.9363, allocations: 57.06 kB / 1.17 GB, free: 1.098 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 3.46e-05/0.9364, allocations: 85.05 kB / 1.17 GB, free: 0.9961 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.9364, allocations: 7.938 kB / 1.17 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.084e-05/0.9364, allocations: 0 / 1.17 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.424e-05/0.9364, allocations: 0 / 1.17 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-06/0.9365, allocations: 32 / 1.17 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 2.867e-05/0.9365, allocations: 79.28 kB / 1.17 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of sort global known variables: time 9e-08/0.9365, allocations: 0 / 1.17 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0001939/0.9367, allocations: 8 kB / 1.17 GB, free: 0.9023 MB / 0.8887 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.0001678/0.9369, allocations: 107.2 kB / 1.17 GB, free: 0.7852 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 7.432e-05/0.9369, allocations: 4 kB / 1.17 GB, free: 0.7812 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.937, allocations: 0 / 1.17 GB, free: 0.7812 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 1.136e-05/0.937, allocations: 7.938 kB / 1.17 GB, free: 0.7734 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001346/0.9371, allocations: 6.359 kB / 1.17 GB, free: 0.7695 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002259/0.9373, allocations: 106.6 kB / 1.17 GB, free: 0.6328 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002449/0.9376, allocations: 0.6729 MB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.795e-05/0.9376, allocations: 7.438 kB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of SimCode: time 3.61e-07/0.9376, allocations: 0 / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of Templates: time 0.001874/0.9395, allocations: 458.1 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_Polynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches