Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.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.001584/0.001584, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.001862/0.001862, allocations: 217.2 kB / 22.99 MB, free: 4.914 MB / 14.72 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 1.513/1.513, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.888/2.888, allocations: 476 MB / 0.7707 GB, free: 4.719 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") translateModel(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00215/0.00215, allocations: 68.08 kB / 1.118 GB, free: 8.773 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4638/0.4659, allocations: 169.9 MB / 1.284 GB, free: 3.605 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.00239/0.4683, allocations: 0.5272 MB / 1.284 GB, free: 3.082 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0006663/0.469, allocations: 179.9 kB / 1.284 GB, free: 2.906 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.647e-05/0.469, allocations: 0 / 1.284 GB, free: 2.906 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.326e-05/0.469, allocations: 3.938 kB / 1.284 GB, free: 2.902 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.319e-05/0.4691, allocations: 0 / 1.284 GB, free: 2.902 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005669/0.4696, allocations: 67.78 kB / 1.285 GB, free: 2.836 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.376e-05/0.4697, allocations: 11.98 kB / 1.285 GB, free: 2.824 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.342e-05/0.4698, allocations: 4 kB / 1.285 GB, free: 2.82 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.529e-05/0.4698, allocations: 11.92 kB / 1.285 GB, free: 2.809 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.474e-05/0.4699, allocations: 4 kB / 1.285 GB, free: 2.805 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.4699, allocations: 0 / 1.285 GB, free: 2.805 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003944/0.4703, allocations: 155.8 kB / 1.285 GB, free: 2.652 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.677e-05/0.4703, allocations: 7.969 kB / 1.285 GB, free: 2.645 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.066e-05/0.4704, allocations: 11.94 kB / 1.285 GB, free: 2.633 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001993/0.4706, allocations: 67.72 kB / 1.285 GB, free: 2.566 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.4706, allocations: 0 / 1.285 GB, free: 2.566 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.254e-06/0.4706, allocations: 0 / 1.285 GB, free: 2.566 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.276e-05/0.4706, allocations: 0 / 1.285 GB, free: 2.566 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004709/0.4711, allocations: 274.2 kB / 1.285 GB, free: 2.266 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.4711, allocations: 8.031 kB / 1.285 GB, free: 2.258 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.025e-05/0.4712, allocations: 4.891 kB / 1.285 GB, free: 2.254 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.4713, allocations: 106.5 kB / 1.285 GB, free: 2.125 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.4713, allocations: 4.375 kB / 1.285 GB, free: 2.121 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.358e-05/0.4713, allocations: 4.375 kB / 1.285 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.4715, allocations: 63.95 kB / 1.285 GB, free: 2.043 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.4715, allocations: 192 / 1.285 GB, free: 2.043 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.4715, allocations: 7.875 kB / 1.285 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.387e-06/0.4715, allocations: 0 / 1.285 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.359e-05/0.4716, allocations: 15.94 kB / 1.285 GB, free: 2.02 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001827/0.4717, allocations: 109.3 kB / 1.285 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.478e-05/0.4718, allocations: 30.55 kB / 1.285 GB, free: 1.844 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.014e-05/0.4718, allocations: 12.91 kB / 1.285 GB, free: 1.828 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.497e-05/0.4719, allocations: 4 kB / 1.285 GB, free: 1.824 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.736e-05/0.4719, allocations: 34.56 kB / 1.285 GB, free: 1.781 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 9.61e-07/0.4719, allocations: 0 / 1.285 GB, free: 1.781 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0006629/0.4726, allocations: 229 kB / 1.286 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/0.4726, allocations: 59.62 kB / 1.286 GB, free: 1.453 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.4728, allocations: 109.8 kB / 1.286 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.193e-05/0.4728, allocations: 25.7 kB / 1.286 GB, free: 1.305 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.924e-05/0.4729, allocations: 88.14 kB / 1.286 GB, free: 1.215 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.623e-05/0.4729, allocations: 7.938 kB / 1.286 GB, free: 1.207 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.751e-05/0.4729, allocations: 17.72 kB / 1.286 GB, free: 1.184 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.4731, allocations: 314.8 kB / 1.286 GB, free: 0.8672 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.21e-05/0.4731, allocations: 15.98 kB / 1.286 GB, free: 0.8516 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.601e-05/0.4731, allocations: 21.72 kB / 1.286 GB, free: 0.8242 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.544e-05/0.4732, allocations: 41.7 kB / 1.286 GB, free: 0.7773 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.4732, allocations: 0 / 1.286 GB, free: 0.7773 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001114/0.4733, allocations: 69.58 kB / 1.286 GB, free: 0.7031 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.4733, allocations: 8 kB / 1.286 GB, free: 0.6953 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.4734, allocations: 3.984 kB / 1.286 GB, free: 0.6914 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.4734, allocations: 4.078 kB / 1.286 GB, free: 0.6875 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.865e-05/0.4734, allocations: 8 kB / 1.286 GB, free: 0.6797 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.4734, allocations: 320 / 1.286 GB, free: 0.6797 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.105e-05/0.4735, allocations: 7.984 kB / 1.286 GB, free: 0.6719 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.278e-06/0.4735, allocations: 4 kB / 1.286 GB, free: 0.668 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.0001149/0.4736, allocations: 113.8 kB / 1.287 GB, free: 0.5469 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.479e-05/0.4736, allocations: 8 kB / 1.287 GB, free: 0.5391 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001628/0.4738, allocations: 77.59 kB / 1.287 GB, free: 464 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.4738, allocations: 0 / 1.287 GB, free: 464 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.4738, allocations: 3.984 kB / 1.287 GB, free: 460 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.4738, allocations: 4 kB / 1.287 GB, free: 456 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000132/0.4739, allocations: 109.3 kB / 1.287 GB, free: 316 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.4739, allocations: 0 / 1.287 GB, free: 316 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.268e-05/0.474, allocations: 8 kB / 1.287 GB, free: 308 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.474, allocations: 3.938 kB / 1.287 GB, free: 304 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.474, allocations: 4 kB / 1.287 GB, free: 300 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.474, allocations: 3.938 kB / 1.287 GB, free: 296 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.474, allocations: 4 kB / 1.287 GB, free: 292 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001795/0.4742, allocations: 108.9 kB / 1.287 GB, free: 164 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.098e-05/0.4742, allocations: 4.031 kB / 1.287 GB, free: 160 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.4742, allocations: 3.984 kB / 1.287 GB, free: 156 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.122e-05/0.4742, allocations: 3.938 kB / 1.287 GB, free: 152 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.763e-05/0.4743, allocations: 4 kB / 1.287 GB, free: 148 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.4743, allocations: 0 / 1.287 GB, free: 148 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.564e-05/0.4743, allocations: 95.25 kB / 1.287 GB, free: 52 kB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.4743, allocations: 64 / 1.287 GB, free: 52 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000213/0.4745, allocations: 23.94 kB / 1.287 GB, free: 28 kB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0002357/0.4748, allocations: 111.2 kB / 1.287 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001148/0.4749, allocations: 31.92 kB / 1.287 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4749, allocations: 0 / 1.287 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.29e-05/0.4749, allocations: 15.98 kB / 1.287 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001639/0.4751, allocations: 9.891 kB / 1.287 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003325/0.4754, allocations: 155.3 kB / 1.287 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.337e-05/0.4755, allocations: 63.47 kB / 1.287 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.274e-05/0.4755, allocations: 15.44 kB / 1.287 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of SimCode: time 2.81e-07/0.4755, allocations: 0 / 1.287 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of Templates: time 0.002932/0.4785, allocations: 0.8639 MB / 1.288 GB, free: 14.71 MB / 0.9981 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & ./Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.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: 11.656348813790828]