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.0008561/0.0008561, allocations: 80.48 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.0009041/0.0009041, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.9007/0.9007, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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 1.591/1.591, allocations: 359 MB / 0.6044 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] 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.503e-06/1.503e-06, allocations: 0 / 0.9517 GB, free: 3.043 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.709e-05/2.859e-05, allocations: 6.281 kB / 0.9517 GB, free: 3.035 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001156/0.001184, allocations: 0.5253 MB / 0.9522 GB, free: 2.504 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0003855/0.00157, allocations: 179.4 kB / 0.9524 GB, free: 2.328 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.875e-05/0.001589, allocations: 0 / 0.9524 GB, free: 2.328 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.074e-05/0.001619, allocations: 3.984 kB / 0.9524 GB, free: 2.324 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.197e-05/0.001661, allocations: 7.938 kB / 0.9524 GB, free: 2.316 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003836/0.002045, allocations: 63.77 kB / 0.9525 GB, free: 2.254 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 5.26e-05/0.002098, allocations: 11.98 kB / 0.9525 GB, free: 2.242 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.908e-05/0.002137, allocations: 4 kB / 0.9525 GB, free: 2.238 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 3.567e-05/0.002172, allocations: 7.938 kB / 0.9525 GB, free: 2.23 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 2.897e-05/0.002201, allocations: 11.97 kB / 0.9525 GB, free: 2.219 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.393e-05/0.002215, allocations: 0 / 0.9525 GB, free: 2.219 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000188/0.002403, allocations: 155.6 kB / 0.9526 GB, free: 2.066 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 3.768e-05/0.002441, allocations: 7.984 kB / 0.9526 GB, free: 2.059 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.807e-05/0.002459, allocations: 11.92 kB / 0.9527 GB, free: 2.047 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001418/0.002601, allocations: 83.81 kB / 0.9527 GB, free: 1.965 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.002603, allocations: 0 / 0.9527 GB, free: 1.965 MB / 0.9011 GB Notification: Performance of FrontEnd: time 9.92e-07/0.002604, allocations: 0 / 0.9527 GB, free: 1.965 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.002608, allocations: 0 / 0.9527 GB, free: 1.965 MB / 0.9011 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.0002573/0.002865, allocations: 274.1 kB / 0.953 GB, free: 1.664 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.0029, allocations: 8.031 kB / 0.953 GB, free: 1.656 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.853e-05/0.002928, allocations: 4.938 kB / 0.953 GB, free: 1.652 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.384e-05/0.003002, allocations: 113.7 kB / 0.9531 GB, free: 1.516 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.377e-06/0.003012, allocations: 384 / 0.9531 GB, free: 1.516 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.063e-05/0.003032, allocations: 384 / 0.9531 GB, free: 1.516 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.003142, allocations: 67.95 kB / 0.9532 GB, free: 1.438 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.00315, allocations: 192 / 0.9532 GB, free: 1.438 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.003158, allocations: 384 / 0.9532 GB, free: 1.438 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.003162, allocations: 384 / 0.9532 GB, free: 1.438 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.301e-05/0.003185, allocations: 15.88 kB / 0.9532 GB, free: 1.422 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001155/0.003301, allocations: 117.3 kB / 0.9533 GB, free: 1.277 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 4.193e-05/0.003343, allocations: 18.58 kB / 0.9533 GB, free: 1.25 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.808e-05/0.003361, allocations: 16.91 kB / 0.9533 GB, free: 1.23 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 3.472e-05/0.003396, allocations: 4 kB / 0.9533 GB, free: 1.227 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.003417, allocations: 34.56 kB / 0.9534 GB, free: 1.184 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 7.82e-07/0.003418, allocations: 3.938 kB / 0.9534 GB, free: 1.18 MB / 0.9011 GB Notification: Performance of matching and sorting (n=3): time 0.0004483/0.003866, allocations: 221.2 kB / 0.9536 GB, free: 0.9297 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.641e-05/0.003893, allocations: 51.41 kB / 0.9536 GB, free: 0.8672 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.655e-05/0.003949, allocations: 121.9 kB / 0.9538 GB, free: 0.7383 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.488e-06/0.003959, allocations: 25.7 kB / 0.9538 GB, free: 0.707 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 2.905e-05/0.003988, allocations: 84.14 kB / 0.9539 GB, free: 0.6211 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.504e-05/0.004013, allocations: 15.84 kB / 0.9539 GB, free: 0.6055 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.375e-05/0.004037, allocations: 21.7 kB / 0.9539 GB, free: 0.5781 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.542e-05/0.004122, allocations: 314.8 kB / 0.9542 GB, free: 268 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.882e-05/0.004141, allocations: 12 kB / 0.9542 GB, free: 256 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.443e-05/0.004165, allocations: 25.73 kB / 0.9542 GB, free: 224 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.517e-05/0.00421, allocations: 41.7 kB / 0.9543 GB, free: 176 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.004211, allocations: 4 kB / 0.9543 GB, free: 172 kB / 0.9011 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.747e-05/0.004279, allocations: 69.62 kB / 0.9543 GB, free: 96 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.004291, allocations: 4 kB / 0.9544 GB, free: 92 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.004296, allocations: 0 / 0.9544 GB, free: 92 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.004308, allocations: 4 kB / 0.9544 GB, free: 88 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.344e-05/0.004362, allocations: 7.984 kB / 0.9544 GB, free: 80 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.004368, allocations: 3.938 kB / 0.9544 GB, free: 76 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.032e-05/0.004379, allocations: 4 kB / 0.9544 GB, free: 72 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.004384, allocations: 0 / 0.9544 GB, free: 72 kB / 0.9011 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 6.348e-05/0.004447, allocations: 117.8 kB / 0.9545 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.013e-06/0.004454, allocations: 3.953 kB / 0.9545 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001026/0.004557, allocations: 73.67 kB / 0.9546 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.004559, allocations: 0 / 0.9546 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.004562, allocations: 0 / 0.9546 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.004566, allocations: 7.875 kB / 0.9546 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.096e-05/0.004637, allocations: 117.3 kB / 0.9547 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.004638, allocations: 0 / 0.9547 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.588e-05/0.004674, allocations: 7.984 kB / 0.9547 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.004676, allocations: 4 kB / 0.9547 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-06/0.004682, allocations: 0 / 0.9547 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.02e-07/0.004682, allocations: 4 kB / 0.9547 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.004683, allocations: 0 / 0.9547 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000109/0.004792, allocations: 112.9 kB / 0.9548 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.542e-06/0.004799, allocations: 3.953 kB / 0.9548 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.887e-06/0.004807, allocations: 0 / 0.9548 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.325e-05/0.004841, allocations: 4.031 kB / 0.9548 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.323e-05/0.004854, allocations: 3.984 kB / 0.9548 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.00486, allocations: 4 kB / 0.9548 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.095e-05/0.004891, allocations: 99.5 kB / 0.9549 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.004891, allocations: 0 / 0.9549 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001675/0.005058, allocations: 16 kB / 0.9549 GB, free: 15.43 MB / 0.9167 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.0001351/0.005193, allocations: 131.2 kB / 0.9551 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 7.692e-05/0.00527, allocations: 31.92 kB / 0.9551 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.005272, allocations: 0 / 0.9551 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.396e-05/0.005286, allocations: 15.98 kB / 0.9551 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001103/0.005396, allocations: 4 kB / 0.9551 GB, free: 15.24 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002339/0.00563, allocations: 154.5 kB / 0.9552 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.297e-05/0.005673, allocations: 63.34 kB / 0.9553 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.645e-05/0.005689, allocations: 12.62 kB / 0.9553 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of SimCode: time 4.81e-07/0.00569, allocations: 4 kB / 0.9553 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of Templates: time 0.001782/0.007472, allocations: 0.874 MB / 0.9562 GB, free: 14.09 MB / 0.9167 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: 6.907663690857589]