Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007994/0.0007994, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009778/0.0009778, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8632/0.8632, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.811/1.811, allocations: 389 MB / 0.6338 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_latest_Buildings.Utilities.Math.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.787e-05/2.944e-05, allocations: 2.281 kB / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002013/0.002042, allocations: 1.451 MB / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0002637/0.002306, allocations: 83.62 kB / 1.002 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.782e-05/0.002334, allocations: 4 kB / 1.002 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 6.41e-05/0.002398, allocations: 3.984 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 3.702e-05/0.002435, allocations: 3.938 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002714/0.002706, allocations: 19.91 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.748e-05/0.002774, allocations: 27.92 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.821e-05/0.002862, allocations: 0 / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.715e-05/0.002899, allocations: 19.92 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.246e-05/0.002932, allocations: 8 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.86e-05/0.00295, allocations: 4 kB / 1.002 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 7.3e-05/0.003023, allocations: 19.97 kB / 1.003 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.252e-05/0.003066, allocations: 7.984 kB / 1.003 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.929e-05/0.003085, allocations: 7.938 kB / 1.003 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001207/0.003206, allocations: 35.94 kB / 1.003 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.003208, allocations: 0 / 1.003 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.082e-06/0.003209, allocations: 0 / 1.003 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.003213, allocations: 0 / 1.003 GB, free: 11.28 MB / 0.9636 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.0003561/0.003569, allocations: 270.3 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.003606, allocations: 8.75 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.557e-05/0.003642, allocations: 8.875 kB / 1.003 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.157e-05/0.003724, allocations: 109.7 kB / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.003735, allocations: 4.375 kB / 1.003 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.416e-06/0.003743, allocations: 4.375 kB / 1.003 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.003876, allocations: 50.23 kB / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.862e-06/0.003883, allocations: 192 / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-06/0.003891, allocations: 384 / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.003895, allocations: 384 / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.229e-05/0.003988, allocations: 51.89 kB / 1.003 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002705/0.004258, allocations: 200.6 kB / 1.003 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.381e-05/0.004342, allocations: 34.56 kB / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.585e-05/0.004388, allocations: 28.83 kB / 1.003 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 3.081e-05/0.004418, allocations: 4 kB / 1.003 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.00444, allocations: 38.56 kB / 1.003 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.004442, allocations: 0 / 1.003 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0002225/0.004664, allocations: 93.52 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.004697, allocations: 55.41 kB / 1.003 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.573e-05/0.004763, allocations: 105.8 kB / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.898e-06/0.004773, allocations: 25.7 kB / 1.004 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.917e-05/0.004812, allocations: 88.09 kB / 1.004 GB, free: 9.973 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.509e-05/0.004827, allocations: 0 / 1.004 GB, free: 9.973 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.574e-05/0.004853, allocations: 17.72 kB / 1.004 GB, free: 9.949 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.55e-05/0.004939, allocations: 322.9 kB / 1.004 GB, free: 9.625 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.729e-05/0.004986, allocations: 19.98 kB / 1.004 GB, free: 9.605 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.612e-05/0.005022, allocations: 11.98 kB / 1.004 GB, free: 9.594 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.368e-05/0.005106, allocations: 48.81 kB / 1.004 GB, free: 9.543 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.005108, allocations: 0 / 1.004 GB, free: 9.543 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001094/0.005217, allocations: 77.61 kB / 1.004 GB, free: 9.461 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.00523, allocations: 8 kB / 1.004 GB, free: 9.453 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.005236, allocations: 3.938 kB / 1.004 GB, free: 9.449 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.005248, allocations: 0 / 1.004 GB, free: 9.449 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.932e-05/0.005308, allocations: 4 kB / 1.004 GB, free: 9.445 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.005314, allocations: 7.984 kB / 1.004 GB, free: 9.438 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.125e-05/0.005335, allocations: 4 kB / 1.004 GB, free: 9.434 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.948e-06/0.005339, allocations: 0 / 1.004 GB, free: 9.434 MB / 0.9636 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 5.707e-05/0.005397, allocations: 109.8 kB / 1.004 GB, free: 9.316 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.318e-05/0.00541, allocations: 12.02 kB / 1.004 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001467/0.005556, allocations: 73.22 kB / 1.004 GB, free: 9.223 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.005558, allocations: 0 / 1.004 GB, free: 9.223 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.005562, allocations: 0 / 1.004 GB, free: 9.223 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.005565, allocations: 3.938 kB / 1.004 GB, free: 9.219 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.695e-05/0.005652, allocations: 109.3 kB / 1.004 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.005653, allocations: 0 / 1.004 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.877e-05/0.005682, allocations: 12.23 kB / 1.004 GB, free: 9.07 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.005684, allocations: 4.031 kB / 1.005 GB, free: 9.066 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.005692, allocations: 4 kB / 1.005 GB, free: 9.062 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.005694, allocations: 3.938 kB / 1.005 GB, free: 9.059 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.005694, allocations: 3.938 kB / 1.005 GB, free: 9.055 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001338/0.005828, allocations: 167.5 kB / 1.005 GB, free: 8.875 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.915e-06/0.005836, allocations: 7.984 kB / 1.005 GB, free: 8.867 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.03e-05/0.005846, allocations: 0 / 1.005 GB, free: 8.867 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.717e-05/0.005884, allocations: 11.92 kB / 1.005 GB, free: 8.855 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.151e-05/0.005915, allocations: 4.031 kB / 1.005 GB, free: 8.852 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/0.005918, allocations: 4 kB / 1.005 GB, free: 8.848 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.421e-05/0.005952, allocations: 87.27 kB / 1.005 GB, free: 8.762 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.005952, allocations: 0 / 1.005 GB, free: 8.762 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001493/0.006102, allocations: 4 kB / 1.005 GB, free: 8.758 MB / 0.9636 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.0001168/0.006219, allocations: 107.1 kB / 1.005 GB, free: 8.645 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001284/0.006347, allocations: 43.95 kB / 1.005 GB, free: 8.602 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.006348, allocations: 4.062 kB / 1.005 GB, free: 8.598 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.969e-05/0.006388, allocations: 15.98 kB / 1.005 GB, free: 8.582 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002094/0.006597, allocations: 8 kB / 1.005 GB, free: 8.574 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002673/0.006865, allocations: 143.3 kB / 1.005 GB, free: 8.402 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.772e-05/0.006912, allocations: 63.3 kB / 1.005 GB, free: 8.32 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.217e-05/0.006934, allocations: 16.48 kB / 1.005 GB, free: 8.305 MB / 0.9636 GB Notification: Performance of SimCode: time 6.51e-07/0.006935, allocations: 0 / 1.005 GB, free: 8.305 MB / 0.9636 GB Notification: Performance of Templates: time 0.001635/0.008571, allocations: 0.6636 MB / 1.006 GB, free: 7.645 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Polynomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 6.671135600656271]