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.00182/0.00182, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002448/0.002448, allocations: 216.3 kB / 22.24 MB, free: 4.855 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.535/1.535, allocations: 230.6 MB / 256 MB, free: 8.059 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.95/2.95, allocations: 475.9 MB / 0.7699 GB, free: 4.805 MB / 0.6231 GB " [Timeout remaining time 176] 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.002188/0.002188, allocations: 68.95 kB / 1.117 GB, free: 41.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.467/0.4692, allocations: 170 MB / 1.283 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001956/0.4712, allocations: 0.5305 MB / 1.284 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0006243/0.4718, allocations: 179.5 kB / 1.284 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.272e-05/0.4718, allocations: 4 kB / 1.284 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.065e-05/0.4718, allocations: 7.922 kB / 1.284 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.377e-05/0.4719, allocations: 4 kB / 1.284 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000477/0.4724, allocations: 63.78 kB / 1.284 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.221e-05/0.4724, allocations: 15.92 kB / 1.284 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.119e-05/0.4725, allocations: 4 kB / 1.284 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.328e-05/0.4725, allocations: 3.984 kB / 1.284 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 2.701e-05/0.4725, allocations: 4 kB / 1.284 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.316e-05/0.4725, allocations: 0 / 1.284 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003296/0.4729, allocations: 155.8 kB / 1.284 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.022e-05/0.4729, allocations: 11.92 kB / 1.284 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.431e-05/0.4729, allocations: 7.984 kB / 1.284 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001851/0.4731, allocations: 75.72 kB / 1.284 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.4731, allocations: 0 / 1.284 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.864e-06/0.4731, allocations: 0 / 1.284 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.193e-05/0.4732, allocations: 0 / 1.284 GB, free: 10.99 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.0004173/0.4736, allocations: 262.2 kB / 1.284 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.4736, allocations: 15.97 kB / 1.284 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.833e-05/0.4737, allocations: 8.875 kB / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.4738, allocations: 106.5 kB / 1.284 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.4738, allocations: 384 / 1.284 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.578e-05/0.4738, allocations: 12.36 kB / 1.284 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.474, allocations: 63.95 kB / 1.284 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.474, allocations: 4.188 kB / 1.284 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.474, allocations: 3.938 kB / 1.284 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.474, allocations: 0 / 1.284 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.217e-05/0.474, allocations: 11.94 kB / 1.284 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001838/0.4742, allocations: 109.3 kB / 1.285 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.94e-05/0.4743, allocations: 26.58 kB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.899e-05/0.4743, allocations: 12.91 kB / 1.285 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.231e-05/0.4744, allocations: 4 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.4744, allocations: 34.56 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.4744, allocations: 4 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005908/0.475, allocations: 229 kB / 1.285 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/0.475, allocations: 55.41 kB / 1.285 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.635e-05/0.4751, allocations: 109.8 kB / 1.285 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.4751, allocations: 29.64 kB / 1.285 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.46e-05/0.4752, allocations: 92.08 kB / 1.285 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.418e-05/0.4752, allocations: 3.953 kB / 1.285 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.709e-05/0.4753, allocations: 21.7 kB / 1.285 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.4754, allocations: 315.1 kB / 1.285 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.41e-05/0.4754, allocations: 15.98 kB / 1.286 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.661e-05/0.4755, allocations: 25.72 kB / 1.286 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.089e-05/0.4755, allocations: 37.7 kB / 1.286 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.4755, allocations: 0 / 1.286 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001039/0.4756, allocations: 69.58 kB / 1.286 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.4757, allocations: 8 kB / 1.286 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.4757, allocations: 0 / 1.286 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.227e-05/0.4757, allocations: 3.938 kB / 1.286 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.609e-05/0.4758, allocations: 16.05 kB / 1.286 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.4758, allocations: 0 / 1.286 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.454e-05/0.4758, allocations: 3.938 kB / 1.286 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.4758, allocations: 4 kB / 1.286 GB, free: 9.09 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 9.228e-05/0.4759, allocations: 113.8 kB / 1.286 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.131e-05/0.4759, allocations: 4 kB / 1.286 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001464/0.476, allocations: 73.61 kB / 1.286 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.476, allocations: 0 / 1.286 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.476, allocations: 0 / 1.286 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.476, allocations: 4 kB / 1.286 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001092/0.4762, allocations: 117.3 kB / 1.286 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.4762, allocations: 0 / 1.286 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.241e-05/0.4762, allocations: 7.984 kB / 1.286 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.572e-06/0.4762, allocations: 0 / 1.286 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.258e-06/0.4762, allocations: 4 kB / 1.286 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.4762, allocations: 3.938 kB / 1.286 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.4762, allocations: 0 / 1.286 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001839/0.4764, allocations: 113.2 kB / 1.286 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.466e-06/0.4764, allocations: 4.031 kB / 1.286 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/0.4764, allocations: 3.984 kB / 1.286 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.746e-05/0.4765, allocations: 4 kB / 1.286 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.059e-05/0.4765, allocations: 8 kB / 1.286 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-06/0.4765, allocations: 0 / 1.286 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.421e-05/0.4766, allocations: 95.25 kB / 1.286 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.4766, allocations: 0 / 1.286 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002049/0.4768, allocations: 19.94 kB / 1.286 GB, free: 8.457 MB / 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.0001838/0.477, allocations: 111.2 kB / 1.286 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001127/0.4771, allocations: 31.92 kB / 1.286 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4771, allocations: 0 / 1.286 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.441e-05/0.4771, allocations: 16.11 kB / 1.286 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001504/0.4772, allocations: 15.94 kB / 1.286 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003251/0.4776, allocations: 129.6 kB / 1.287 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.677e-05/0.4776, allocations: 63.34 kB / 1.287 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.613e-05/0.4777, allocations: 4 kB / 1.287 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.686e-05/0.4777, allocations: 15.38 kB / 1.287 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of SimCode: time 2.8e-07/0.4777, allocations: 0 / 1.287 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of Templates: time 0.003847/0.4815, allocations: 0.8996 MB / 1.287 GB, free: 7.133 MB / 0.9825 GB " [Timeout remaining time 299] 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/jenkins/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: 9.876303553581238]