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.001586/0.001586, allocations: 79.12 kB / 19.18 MB, free: 2.516 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.001611/0.001611, allocations: 163.3 kB / 22.46 MB, free: 5.375 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.484/1.484, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.855/2.855, allocations: 359 MB / 0.6037 GB, free: 14.97 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.9509 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.481e-05/3.658e-05, allocations: 4.672 kB / 0.9509 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001601/0.001638, allocations: 0.5292 MB / 0.9515 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0005318/0.00217, allocations: 183.3 kB / 0.9516 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.194e-05/0.002191, allocations: 0 / 0.9516 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.997e-05/0.002231, allocations: 3.984 kB / 0.9516 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.995e-05/0.002271, allocations: 7.938 kB / 0.9516 GB, free: 10.87 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004539/0.002725, allocations: 63.78 kB / 0.9517 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.142e-05/0.002787, allocations: 15.92 kB / 0.9517 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.542e-05/0.002832, allocations: 0 / 0.9517 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.954e-05/0.002872, allocations: 8 kB / 0.9517 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3e-05/0.002902, allocations: 3.984 kB / 0.9517 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.002918, allocations: 4 kB / 0.9517 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003203/0.003238, allocations: 155.6 kB / 0.9519 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.622e-05/0.003284, allocations: 3.984 kB / 0.9519 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.419e-05/0.003309, allocations: 15.92 kB / 0.9519 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001993/0.003508, allocations: 87.75 kB / 0.952 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.003511, allocations: 0 / 0.952 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of FrontEnd: time 7.01e-07/0.003511, allocations: 0 / 0.952 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.003517, allocations: 0 / 0.952 GB, free: 10.52 MB / 0.8575 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.0004248/0.003941, allocations: 262.2 kB / 0.9522 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.003982, allocations: 12.03 kB / 0.9522 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.764e-05/0.00402, allocations: 4.891 kB / 0.9523 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.004157, allocations: 109.8 kB / 0.9524 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.377e-06/0.004167, allocations: 384 / 0.9524 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.491e-05/0.004202, allocations: 8.328 kB / 0.9524 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.00435, allocations: 63.95 kB / 0.9524 GB, free: 9.996 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.004359, allocations: 4.188 kB / 0.9524 GB, free: 9.992 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.004369, allocations: 4.375 kB / 0.9524 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.004374, allocations: 8.25 kB / 0.9524 GB, free: 9.98 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.141e-05/0.004405, allocations: 11.94 kB / 0.9525 GB, free: 9.969 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001945/0.0046, allocations: 109.3 kB / 0.9526 GB, free: 9.832 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.303e-05/0.004673, allocations: 22.58 kB / 0.9526 GB, free: 9.801 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.138e-05/0.004704, allocations: 16.91 kB / 0.9526 GB, free: 9.781 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.659e-05/0.004751, allocations: 4 kB / 0.9526 GB, free: 9.777 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.004781, allocations: 30.56 kB / 0.9526 GB, free: 9.738 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.383e-06/0.004783, allocations: 4 kB / 0.9526 GB, free: 9.734 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0007329/0.005516, allocations: 217.2 kB / 0.9528 GB, free: 9.488 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.464e-05/0.00557, allocations: 63.34 kB / 0.9529 GB, free: 9.414 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.005673, allocations: 109.8 kB / 0.953 GB, free: 9.297 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.005693, allocations: 25.7 kB / 0.953 GB, free: 9.266 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.757e-05/0.005751, allocations: 84.14 kB / 0.9531 GB, free: 9.18 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.329e-05/0.005784, allocations: 15.84 kB / 0.9531 GB, free: 9.164 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.571e-05/0.00582, allocations: 17.7 kB / 0.9531 GB, free: 9.141 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.005959, allocations: 318.8 kB / 0.9534 GB, free: 8.82 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.525e-05/0.005985, allocations: 16.22 kB / 0.9535 GB, free: 8.805 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.379e-05/0.006028, allocations: 29.7 kB / 0.9535 GB, free: 8.77 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.401e-05/0.006092, allocations: 37.7 kB / 0.9535 GB, free: 8.727 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.22e-07/0.006093, allocations: 0 / 0.9535 GB, free: 8.727 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.894e-05/0.006192, allocations: 65.62 kB / 0.9536 GB, free: 8.656 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.006207, allocations: 8 kB / 0.9536 GB, free: 8.648 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.006212, allocations: 0 / 0.9536 GB, free: 8.648 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.006231, allocations: 0 / 0.9536 GB, free: 8.648 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.581e-05/0.006297, allocations: 8.047 kB / 0.9536 GB, free: 8.641 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.006305, allocations: 11.94 kB / 0.9536 GB, free: 8.629 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.474e-05/0.006319, allocations: 0 / 0.9536 GB, free: 8.629 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.006328, allocations: 4 kB / 0.9536 GB, free: 8.625 MB / 0.8575 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 8.694e-05/0.006415, allocations: 117.8 kB / 0.9537 GB, free: 8.5 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.568e-05/0.006431, allocations: 11.89 kB / 0.9537 GB, free: 8.488 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000145/0.006575, allocations: 65.67 kB / 0.9538 GB, free: 8.414 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.006577, allocations: 0 / 0.9538 GB, free: 8.414 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.006582, allocations: 0 / 0.9538 GB, free: 8.414 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.006586, allocations: 3.938 kB / 0.9538 GB, free: 8.41 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001292/0.006716, allocations: 125.2 kB / 0.9539 GB, free: 8.258 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.006717, allocations: 192 / 0.9539 GB, free: 8.258 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.289e-05/0.00677, allocations: 7.984 kB / 0.9539 GB, free: 8.25 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.006771, allocations: 0 / 0.9539 GB, free: 8.25 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-06/0.00678, allocations: 3.984 kB / 0.9539 GB, free: 8.246 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.006781, allocations: 0 / 0.9539 GB, free: 8.246 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.006782, allocations: 320 / 0.9539 GB, free: 8.246 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000174/0.006956, allocations: 109 kB / 0.954 GB, free: 8.121 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.076e-05/0.006967, allocations: 7.984 kB / 0.9541 GB, free: 8.113 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.301e-05/0.00698, allocations: 0 / 0.9541 GB, free: 8.113 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.188e-05/0.007031, allocations: 0 / 0.9541 GB, free: 8.113 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.125e-05/0.007053, allocations: 8.047 kB / 0.9541 GB, free: 8.105 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.054e-06/0.00706, allocations: 8 kB / 0.9541 GB, free: 8.098 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.533e-05/0.007125, allocations: 99.17 kB / 0.9542 GB, free: 8 MB / 0.8575 GB Notification: Performance of sort global known variables: time 6e-08/0.007125, allocations: 0 / 0.9542 GB, free: 8 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002168/0.007342, allocations: 16 kB / 0.9542 GB, free: 7.984 MB / 0.8575 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.0002099/0.007552, allocations: 119.2 kB / 0.9543 GB, free: 7.859 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001138/0.007666, allocations: 35.92 kB / 0.9543 GB, free: 7.824 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.007668, allocations: 0 / 0.9543 GB, free: 7.824 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.599e-05/0.007694, allocations: 15.98 kB / 0.9543 GB, free: 7.809 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001495/0.007843, allocations: 4.125 kB / 0.9543 GB, free: 7.805 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002994/0.008142, allocations: 128.9 kB / 0.9545 GB, free: 7.652 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.471e-05/0.008207, allocations: 67.34 kB / 0.9545 GB, free: 7.566 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.231e-05/0.008229, allocations: 0 / 0.9545 GB, free: 7.566 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.077e-05/0.00825, allocations: 12.5 kB / 0.9545 GB, free: 7.555 MB / 0.8575 GB Notification: Performance of SimCode: time 3.71e-07/0.008251, allocations: 0 / 0.9545 GB, free: 7.555 MB / 0.8575 GB Notification: Performance of Templates: time 0.003717/0.01197, allocations: 0.9119 MB / 0.9554 GB, free: 6.652 MB / 0.8575 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/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: 8.207306813448668]