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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.241/1.241, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.141/2.141, allocations: 390.2 MB / 0.6647 GB, free: 400 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 71.89 kB / 0.8127 GB, free: 14.34 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5097/0.511, allocations: 140.4 MB / 0.9497 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.00154/0.5126, allocations: 0.5793 MB / 0.9503 GB, free: 8.699 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001781/0.5128, allocations: 32.53 kB / 0.9503 GB, free: 8.676 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.257e-05/0.5128, allocations: 0 / 0.9503 GB, free: 8.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.987e-06/0.5128, allocations: 0 / 0.9503 GB, free: 8.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.048e-06/0.5129, allocations: 4 kB / 0.9503 GB, free: 8.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002224/0.5131, allocations: 19.12 kB / 0.9503 GB, free: 8.66 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 2.957e-05/0.5131, allocations: 1.25 kB / 0.9503 GB, free: 8.66 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.564e-05/0.5132, allocations: 1.344 kB / 0.9503 GB, free: 8.66 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.168e-05/0.5132, allocations: 0 / 0.9503 GB, free: 8.66 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.814e-05/0.5132, allocations: 5.031 kB / 0.9504 GB, free: 8.656 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.704e-06/0.5132, allocations: 0 / 0.9504 GB, free: 8.656 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.624e-05/0.5133, allocations: 24.88 kB / 0.9504 GB, free: 8.641 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.693e-06/0.5133, allocations: 0 / 0.9504 GB, free: 8.641 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.448e-05/0.5133, allocations: 0 / 0.9504 GB, free: 8.641 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.694e-05/0.5134, allocations: 22.69 kB / 0.9504 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.5134, allocations: 0 / 0.9504 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.102e-06/0.5134, allocations: 1.188 kB / 0.9504 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.5134, allocations: 0 / 0.9504 GB, free: 8.625 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.0001783/0.5136, allocations: 315.2 kB / 0.9507 GB, free: 8.27 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.5136, allocations: 10.62 kB / 0.9507 GB, free: 8.27 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.66e-05/0.5137, allocations: 30.75 kB / 0.9507 GB, free: 8.23 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.755e-05/0.5137, allocations: 4.938 kB / 0.9507 GB, free: 8.227 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.587e-05/0.5137, allocations: 160.4 kB / 0.9509 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.075e-06/0.5137, allocations: 5.875 kB / 0.9509 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.224e-06/0.5138, allocations: 4.375 kB / 0.9509 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.489e-05/0.5138, allocations: 33 kB / 0.9509 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.5138, allocations: 7.875 kB / 0.9509 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.711e-06/0.5138, allocations: 0 / 0.9509 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.5139, allocations: 0 / 0.9509 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.592e-05/0.5139, allocations: 1.938 kB / 0.9509 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.229e-05/0.5139, allocations: 143.8 kB / 0.9511 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.162e-05/0.514, allocations: 24.58 kB / 0.9511 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.404e-05/0.514, allocations: 10.8 kB / 0.9511 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.763e-05/0.514, allocations: 0 / 0.9511 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.299e-05/0.5141, allocations: 36.14 kB / 0.9512 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 7.42e-07/0.5141, allocations: 0 / 0.9512 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001013/0.5142, allocations: 38.86 kB / 0.9512 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.53e-05/0.5142, allocations: 52.69 kB / 0.9512 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.252e-05/0.5142, allocations: 89.98 kB / 0.9513 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.072e-06/0.5142, allocations: 33.7 kB / 0.9514 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.097e-06/0.5142, allocations: 81.48 kB / 0.9514 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.122e-05/0.5143, allocations: 3.906 kB / 0.9514 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.09e-05/0.5143, allocations: 12.03 kB / 0.9515 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.358e-05/0.5143, allocations: 314.8 kB / 0.9518 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.837e-06/0.5143, allocations: 5.094 kB / 0.9518 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.38e-06/0.5143, allocations: 1.281 kB / 0.9518 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.201e-05/0.5144, allocations: 16.86 kB / 0.9518 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.5144, allocations: 0 / 0.9518 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.023e-05/0.5144, allocations: 34.86 kB / 0.9518 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.989e-06/0.5144, allocations: 5.5 kB / 0.9518 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.5144, allocations: 3.938 kB / 0.9518 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.5145, allocations: 1.625 kB / 0.9518 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.31e-05/0.5145, allocations: 5.516 kB / 0.9518 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.5145, allocations: 0 / 0.9518 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.032e-05/0.5145, allocations: 0 / 0.9518 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.5145, allocations: 2.188 kB / 0.9518 GB, free: 6.988 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 3.303e-05/0.5146, allocations: 110.8 kB / 0.9519 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.803e-06/0.5146, allocations: 4.672 kB / 0.9519 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.835e-05/0.5147, allocations: 51.38 kB / 0.952 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-06/0.5147, allocations: 0 / 0.952 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.105e-06/0.5147, allocations: 0 / 0.952 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.5147, allocations: 1.375 kB / 0.952 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.817e-05/0.5147, allocations: 145.7 kB / 0.9521 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.5147, allocations: 1.406 kB / 0.9521 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.565e-05/0.5148, allocations: 1.406 kB / 0.9521 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.5148, allocations: 7.922 kB / 0.9521 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.5148, allocations: 5.312 kB / 0.9521 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.5148, allocations: 0 / 0.9521 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.5148, allocations: 5.344 kB / 0.9521 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.337e-05/0.5148, allocations: 62.67 kB / 0.9522 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.161e-05/0.5148, allocations: 78.52 kB / 0.9523 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.197e-06/0.5149, allocations: 7.922 kB / 0.9523 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.608e-06/0.5149, allocations: 0 / 0.9523 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.957e-06/0.5149, allocations: 1.406 kB / 0.9523 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.466e-06/0.5149, allocations: 1.406 kB / 0.9523 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.021e-05/0.5149, allocations: 75.28 kB / 0.9524 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.5149, allocations: 0 / 0.9524 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001789/0.5151, allocations: 5.781 kB / 0.9524 GB, free: 6.359 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.000198/0.5153, allocations: 0.6021 MB / 0.953 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.442e-05/0.5154, allocations: 8.875 kB / 0.953 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.5154, allocations: 0 / 0.953 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.094e-06/0.5154, allocations: 1.406 kB / 0.953 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001124/0.5155, allocations: 5.562 kB / 0.953 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002006/0.5157, allocations: 110.5 kB / 0.9531 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.495e-05/0.5158, allocations: 0.6782 MB / 0.9537 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.221e-05/0.5158, allocations: 5.719 kB / 0.9537 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.672e-05/0.5158, allocations: 7.438 kB / 0.9537 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/0.5158, allocations: 4 kB / 0.9538 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01457/0.5304, allocations: 0.9867 MB / 0.9547 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.52/7.051, allocations: 10.7 kB / 0.9547 GB, free: 4.293 MB / 0.7169 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_Polynomial_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_Polynomial.fmu > 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