Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 109.7 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 190.6 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.286/1.286, allocations: 225.6 MB / 249.3 MB, free: 3.176 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.479/2.479, allocations: 476.7 MB / 0.7628 GB, free: 15.3 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001772/0.001772, allocations: 63.89 kB / 1.107 GB, free: 5.109 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.774/0.7758, allocations: 168.7 MB / 1.271 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001492/0.7773, allocations: 0.5999 MB / 1.272 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001945/0.7775, allocations: 36.78 kB / 1.272 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.096e-05/0.7775, allocations: 0.7812 kB / 1.272 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.01e-05/0.7775, allocations: 2.078 kB / 1.272 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.859e-06/0.7775, allocations: 0 / 1.272 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002256/0.7777, allocations: 13.66 kB / 1.272 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 3.94e-05/0.7778, allocations: 10.33 kB / 1.272 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.148e-05/0.7778, allocations: 1.625 kB / 1.272 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.414e-05/0.7778, allocations: 0.8438 kB / 1.272 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.328e-05/0.7778, allocations: 1.656 kB / 1.272 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.213e-06/0.7778, allocations: 0 / 1.272 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.21e-05/0.7779, allocations: 18.66 kB / 1.272 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.404e-06/0.7779, allocations: 4 kB / 1.272 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.419e-05/0.7779, allocations: 3.297 kB / 1.272 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 7.747e-05/0.778, allocations: 18.61 kB / 1.272 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.778, allocations: 0.8438 kB / 1.272 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.754e-06/0.778, allocations: 0.5625 kB / 1.272 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.998e-06/0.778, allocations: 0.8125 kB / 1.272 GB, free: 7.289 MB / 0.9981 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.0001954/0.7782, allocations: 315.8 kB / 1.272 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.7783, allocations: 9.281 kB / 1.272 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.847e-05/0.7783, allocations: 32.52 kB / 1.272 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.724e-05/0.7783, allocations: 8.938 kB / 1.272 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.382e-05/0.7783, allocations: 161.7 kB / 1.273 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.859e-06/0.7783, allocations: 5.625 kB / 1.273 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.827e-06/0.7784, allocations: 384 / 1.273 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.067e-05/0.7784, allocations: 30.17 kB / 1.273 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.7784, allocations: 3.938 kB / 1.273 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.981e-06/0.7784, allocations: 0 / 1.273 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.7784, allocations: 4.969 kB / 1.273 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.761e-05/0.7785, allocations: 6.188 kB / 1.273 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.616e-05/0.7785, allocations: 148 kB / 1.273 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.068e-05/0.7786, allocations: 25.98 kB / 1.273 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.174e-05/0.7786, allocations: 5.734 kB / 1.273 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.838e-05/0.7786, allocations: 2.359 kB / 1.273 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.271e-05/0.7786, allocations: 31.31 kB / 1.273 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 8.51e-07/0.7786, allocations: 0.8125 kB / 1.273 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0001001/0.7787, allocations: 36.73 kB / 1.273 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.813e-05/0.7787, allocations: 56.28 kB / 1.273 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.218e-05/0.7788, allocations: 89.86 kB / 1.273 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.711e-06/0.7788, allocations: 31.17 kB / 1.273 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.265e-06/0.7788, allocations: 84.14 kB / 1.273 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.082e-05/0.7788, allocations: 0.875 kB / 1.273 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.116e-05/0.7788, allocations: 12.05 kB / 1.273 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.176e-05/0.7788, allocations: 312.6 kB / 1.273 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.706e-06/0.7789, allocations: 9.375 kB / 1.273 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.502e-06/0.7789, allocations: 1.734 kB / 1.273 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.011e-05/0.7789, allocations: 8.234 kB / 1.273 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.7789, allocations: 0 / 1.273 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.174e-05/0.7789, allocations: 36.98 kB / 1.274 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.7789, allocations: 8.656 kB / 1.274 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.7789, allocations: 3.938 kB / 1.274 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.7789, allocations: 1.641 kB / 1.274 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.503e-05/0.779, allocations: 2.016 kB / 1.274 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-06/0.779, allocations: 4.875 kB / 1.274 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.076e-05/0.779, allocations: 0 / 1.274 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.779, allocations: 6.297 kB / 1.274 GB, free: 5.668 MB / 0.9981 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.212e-05/0.779, allocations: 107.2 kB / 1.274 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.941e-06/0.7791, allocations: 0.7188 kB / 1.274 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.603e-05/0.7791, allocations: 46.84 kB / 1.274 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.7791, allocations: 4.844 kB / 1.274 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.7791, allocations: 0 / 1.274 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-06/0.7791, allocations: 0.8438 kB / 1.274 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.701e-05/0.7792, allocations: 144.2 kB / 1.274 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.7792, allocations: 0.7188 kB / 1.274 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.561e-05/0.7792, allocations: 2.219 kB / 1.274 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.7792, allocations: 5.391 kB / 1.274 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.7792, allocations: 3.938 kB / 1.274 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.7792, allocations: 1.516 kB / 1.274 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.7792, allocations: 1.062 kB / 1.274 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.368e-05/0.7792, allocations: 64.52 kB / 1.274 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.2e-05/0.7793, allocations: 83.11 kB / 1.274 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.628e-06/0.7793, allocations: 12.64 kB / 1.274 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.057e-05/0.7793, allocations: 1.328 kB / 1.274 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.355e-06/0.7793, allocations: 1.422 kB / 1.274 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-06/0.7793, allocations: 0.8125 kB / 1.274 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.235e-06/0.7793, allocations: 75.97 kB / 1.274 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4e-08/0.7793, allocations: 4.031 kB / 1.274 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000179/0.7795, allocations: 5.578 kB / 1.274 GB, free: 5.051 MB / 0.9981 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.0002014/0.7797, allocations: 0.6048 MB / 1.275 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 5.617e-05/0.7797, allocations: 9.062 kB / 1.275 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.7797, allocations: 4.094 kB / 1.275 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.954e-06/0.7797, allocations: 3.125 kB / 1.275 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001178/0.7799, allocations: 11.25 kB / 1.275 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002171/0.7801, allocations: 111.8 kB / 1.275 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.233e-05/0.7802, allocations: 0.6722 MB / 1.275 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.94e-05/0.7802, allocations: 5.594 kB / 1.275 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.755e-05/0.7802, allocations: 8.781 kB / 1.275 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of SimCode: time 3.11e-07/0.7802, allocations: 0 / 1.275 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02015/0.8003, allocations: 0.9997 MB / 1.276 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.905/7.706, allocations: 4.891 kB / 1.276 GB, free: 3.242 MB / 0.9981 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_Polynomial_fmu --startTime=0 --stopTime=4 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_Polynomial.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_Polynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.913384755998777]