Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001702/0.001702, allocations: 108.5 kB / 16.45 MB, free: 6.457 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.001931/0.001931, allocations: 198.8 kB / 19.41 MB, free: 3.645 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.475/1.475, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] 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.797/2.797, allocations: 476.7 MB / 0.7611 GB, free: 11.32 MB / 0.6231 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Polynomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 67.89 kB / 1.104 GB, free: 8.711 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9174/0.9193, allocations: 168.7 MB / 1.269 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002738/0.9221, allocations: 1.444 MB / 1.271 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0003074/0.9224, allocations: 99.73 kB / 1.271 GB, free: 3.648 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.645e-05/0.9224, allocations: 4 kB / 1.271 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 6.291e-05/0.9225, allocations: 3.984 kB / 1.271 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.428e-05/0.9225, allocations: 7.938 kB / 1.271 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002383/0.9228, allocations: 11.98 kB / 1.271 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.099e-05/0.9228, allocations: 27.92 kB / 1.271 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.829e-05/0.9229, allocations: 0 / 1.271 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.922e-05/0.923, allocations: 11.94 kB / 1.271 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.158e-05/0.923, allocations: 15.97 kB / 1.271 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.407e-06/0.923, allocations: 0 / 1.271 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.439e-05/0.9231, allocations: 27.91 kB / 1.271 GB, free: 3.539 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.584e-05/0.9231, allocations: 7.938 kB / 1.271 GB, free: 3.531 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.566e-05/0.9232, allocations: 15.88 kB / 1.271 GB, free: 3.516 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001133/0.9233, allocations: 39.55 kB / 1.271 GB, free: 3.48 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.9233, allocations: 0 / 1.271 GB, free: 3.48 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.173e-06/0.9233, allocations: 0 / 1.271 GB, free: 3.48 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.9233, allocations: 0 / 1.271 GB, free: 3.48 MB / 0.9669 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.0005151/0.9238, allocations: 346.1 kB / 1.271 GB, free: 3.094 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.9238, allocations: 8.031 kB / 1.271 GB, free: 3.086 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.966e-05/0.9239, allocations: 0.9375 kB / 1.271 GB, free: 3.086 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.924, allocations: 180.3 kB / 1.271 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.988e-06/0.924, allocations: 384 / 1.271 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.186e-06/0.924, allocations: 384 / 1.271 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/0.9242, allocations: 54.23 kB / 1.271 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.9242, allocations: 192 / 1.271 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.9242, allocations: 7.922 kB / 1.271 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.9242, allocations: 3.938 kB / 1.271 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000173/0.9244, allocations: 39.95 kB / 1.271 GB, free: 2.762 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003877/0.9248, allocations: 253 kB / 1.272 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001447/0.9249, allocations: 46.48 kB / 1.272 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.06e-05/0.925, allocations: 24.91 kB / 1.272 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/0.9251, allocations: 0 / 1.272 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.725e-05/0.9251, allocations: 38.5 kB / 1.272 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.9251, allocations: 0 / 1.272 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0005/0.9256, allocations: 85.64 kB / 1.272 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.306e-05/0.9257, allocations: 55.39 kB / 1.272 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.9258, allocations: 101.9 kB / 1.272 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.9258, allocations: 29.7 kB / 1.272 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.629e-05/0.9259, allocations: 92.25 kB / 1.272 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.208e-05/0.9259, allocations: 3.953 kB / 1.272 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.826e-05/0.926, allocations: 13.72 kB / 1.272 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000188/0.9261, allocations: 314.8 kB / 1.273 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000122/0.9263, allocations: 19.97 kB / 1.273 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.9264, allocations: 15.98 kB / 1.273 GB, free: 1.566 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002898/0.9267, allocations: 48.83 kB / 1.273 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.9267, allocations: 0 / 1.273 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000227/0.9269, allocations: 73.55 kB / 1.273 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.9269, allocations: 10.34 kB / 1.273 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.9269, allocations: 3.938 kB / 1.273 GB, free: 1.426 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.9269, allocations: 0 / 1.273 GB, free: 1.426 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.9271, allocations: 12.02 kB / 1.273 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.9271, allocations: 0 / 1.273 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.997e-05/0.9271, allocations: 7.984 kB / 1.273 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.9271, allocations: 4.25 kB / 1.273 GB, free: 1.402 MB / 0.9669 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 0.0001112/0.9273, allocations: 117.7 kB / 1.273 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.069e-05/0.9273, allocations: 4 kB / 1.273 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003583/0.9277, allocations: 89.11 kB / 1.273 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.9277, allocations: 0 / 1.273 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.84e-06/0.9277, allocations: 0 / 1.273 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.9277, allocations: 0 / 1.273 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002788/0.928, allocations: 161.6 kB / 1.273 GB, free: 0.9648 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.928, allocations: 0 / 1.273 GB, free: 0.9648 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.258e-05/0.928, allocations: 11.98 kB / 1.273 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.928, allocations: 0 / 1.273 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.928, allocations: 0 / 1.273 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.9281, allocations: 0 / 1.273 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.9281, allocations: 0 / 1.273 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004346/0.9285, allocations: 175.4 kB / 1.273 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.164e-05/0.9286, allocations: 85.05 kB / 1.273 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.9286, allocations: 0 / 1.273 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.9287, allocations: 4 kB / 1.273 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.401e-05/0.9288, allocations: 3.984 kB / 1.273 GB, free: 0.6562 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/0.9288, allocations: 8.031 kB / 1.273 GB, free: 0.6484 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.876e-05/0.9289, allocations: 83.28 kB / 1.273 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9289, allocations: 0 / 1.273 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004329/0.9293, allocations: 11.94 kB / 1.273 GB, free: 0.5547 MB / 0.9669 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.0001989/0.9295, allocations: 103.2 kB / 1.274 GB, free: 456 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003025/0.9298, allocations: 39.97 kB / 1.274 GB, free: 416 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.9298, allocations: 4.062 kB / 1.274 GB, free: 412 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001315/0.9299, allocations: 23.91 kB / 1.274 GB, free: 388 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004718/0.9304, allocations: 7.938 kB / 1.274 GB, free: 380 kB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003546/0.9307, allocations: 113.4 kB / 1.274 GB, free: 240 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004152/0.9312, allocations: 0.6768 MB / 1.274 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.817e-05/0.9312, allocations: 7.938 kB / 1.274 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.781e-05/0.9312, allocations: 11.5 kB / 1.274 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of SimCode: time 4.31e-07/0.9312, allocations: 0 / 1.274 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of Templates: time 0.003841/0.9351, allocations: 0.5463 MB / 1.275 GB, free: 14.97 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Polynomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.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: 8.877588341012597]