Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_10_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.0019/0.0019, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002544/0.002545, allocations: 195.2 kB / 16.14 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.465/1.465, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.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.71/2.71, allocations: 437 MB / 0.71 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 59.91 kB / 0.8686 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6075/0.6095, allocations: 151.6 MB / 1.017 GB, free: 2.773 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002721/0.6123, allocations: 1.511 MB / 1.018 GB, free: 1.254 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003761/0.6127, allocations: 96.59 kB / 1.018 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.102e-05/0.6127, allocations: 0 / 1.018 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.827e-05/0.6128, allocations: 3.984 kB / 1.018 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.984e-05/0.6128, allocations: 3.938 kB / 1.018 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001867/0.613, allocations: 16 kB / 1.018 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.52e-05/0.6131, allocations: 23.91 kB / 1.018 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.876e-05/0.6132, allocations: 11.98 kB / 1.018 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.334e-05/0.6132, allocations: 7.938 kB / 1.018 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.711e-05/0.6132, allocations: 11.98 kB / 1.018 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.6133, allocations: 3.938 kB / 1.018 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.6134, allocations: 19.92 kB / 1.018 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.677e-05/0.6134, allocations: 0 / 1.018 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.897e-05/0.6135, allocations: 15.92 kB / 1.018 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001116/0.6136, allocations: 39.89 kB / 1.018 GB, free: 1 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.6136, allocations: 4 kB / 1.018 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of FrontEnd: time 3.026e-06/0.6136, allocations: 0 / 1.018 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.656e-06/0.6136, allocations: 3.938 kB / 1.018 GB, free: 0.9922 MB / 0.7637 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.0005021/0.6141, allocations: 349.4 kB / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.6141, allocations: 8.031 kB / 1.019 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.332e-05/0.6142, allocations: 0.9375 kB / 1.019 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.6143, allocations: 168.3 kB / 1.019 GB, free: 400 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.859e-06/0.6144, allocations: 384 / 1.019 GB, free: 400 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/0.6144, allocations: 384 / 1.019 GB, free: 400 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.6146, allocations: 58.23 kB / 1.019 GB, free: 336 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.6146, allocations: 192 / 1.019 GB, free: 336 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.6146, allocations: 3.938 kB / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.6146, allocations: 0 / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001757/0.6148, allocations: 35.95 kB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003791/0.6152, allocations: 264.8 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/0.6153, allocations: 42.5 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.313e-05/0.6154, allocations: 24.91 kB / 1.019 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.394e-05/0.6155, allocations: 3.984 kB / 1.019 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.6155, allocations: 34.56 kB / 1.019 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.6155, allocations: 4 kB / 1.019 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003786/0.6159, allocations: 89.58 kB / 1.019 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.6159, allocations: 51.41 kB / 1.019 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.199e-05/0.616, allocations: 109.8 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/0.6161, allocations: 25.7 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.888e-05/0.6161, allocations: 80.14 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.001e-05/0.6161, allocations: 12.03 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-05/0.6162, allocations: 13.72 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.6163, allocations: 314.8 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.104e-05/0.6164, allocations: 19.98 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.058e-05/0.6165, allocations: 15.98 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001762/0.6167, allocations: 52.81 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.582e-06/0.6167, allocations: 0 / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002175/0.6169, allocations: 81.52 kB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.617, allocations: 4 kB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.617, allocations: 0 / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.617, allocations: 0 / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.746e-05/0.6171, allocations: 8 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.6171, allocations: 3.938 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.047e-05/0.6172, allocations: 12.02 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.6172, allocations: 0 / 1.02 GB, free: 14.91 MB / 0.7794 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 9.156e-05/0.6173, allocations: 117.8 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.55e-05/0.6173, allocations: 3.906 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002456/0.6175, allocations: 81.11 kB / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.6176, allocations: 0 / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.6176, allocations: 4.031 kB / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.6176, allocations: 4 kB / 1.02 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001803/0.6178, allocations: 161.6 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.6178, allocations: 0 / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.045e-05/0.6178, allocations: 8 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.6178, allocations: 0 / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.6178, allocations: 0 / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.6179, allocations: 3.984 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.6179, allocations: 0 / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002622/0.6181, allocations: 171.5 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.504e-05/0.6182, allocations: 77.11 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.6182, allocations: 256 / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.783e-05/0.6183, allocations: 7.984 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.294e-05/0.6183, allocations: 11.94 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/0.6183, allocations: 0 / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.898e-05/0.6184, allocations: 87.31 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6184, allocations: 0 / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000229/0.6186, allocations: 11.98 kB / 1.021 GB, free: 14.08 MB / 0.7794 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.0001499/0.6188, allocations: 107.8 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002182/0.619, allocations: 39.95 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.619, allocations: 0 / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001016/0.6191, allocations: 27.98 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002692/0.6194, allocations: 9.969 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002744/0.6197, allocations: 127.1 kB / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/0.62, allocations: 0.677 MB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.312e-05/0.6201, allocations: 0 / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.844e-05/0.6201, allocations: 11.5 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of SimCode: time 3.21e-07/0.6201, allocations: 4 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of Templates: time 0.002789/0.6229, allocations: 479.4 kB / 1.022 GB, free: 12.56 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_Polynomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches