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.001339/0.001339, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001517/0.001517, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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 1.557/1.557, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 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.745/2.745, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 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 2.374e-06/2.374e-06, allocations: 0.6562 kB / 0.7863 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.765e-05/4.003e-05, allocations: 9.625 kB / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.002667/0.002707, allocations: 0.5377 MB / 0.7869 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008008/0.003508, allocations: 175.4 kB / 0.787 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.828e-05/0.003536, allocations: 0 / 0.787 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.7e-05/0.003583, allocations: 5.281 kB / 0.7871 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.394e-05/0.003657, allocations: 0 / 0.7871 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006513/0.004308, allocations: 71.69 kB / 0.7871 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.341e-05/0.004392, allocations: 8.938 kB / 0.7871 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 6.209e-05/0.004454, allocations: 7.984 kB / 0.7871 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.137e-05/0.004505, allocations: 5.188 kB / 0.7871 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.637e-05/0.004542, allocations: 0 / 0.7871 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.448e-05/0.004566, allocations: 4 kB / 0.7871 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004025/0.004969, allocations: 167.5 kB / 0.7873 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.813e-05/0.005047, allocations: 8.641 kB / 0.7873 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.025e-05/0.005077, allocations: 1.469 kB / 0.7873 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002944/0.005371, allocations: 87.73 kB / 0.7874 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.005377, allocations: 0 / 0.7874 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.495e-06/0.00538, allocations: 0 / 0.7874 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.005389, allocations: 3.25 kB / 0.7874 GB, free: 11.78 MB / 0.7448 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.000639/0.006028, allocations: 262.2 kB / 0.7877 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.506e-05/0.006093, allocations: 12.03 kB / 0.7877 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.186e-05/0.006165, allocations: 0.9375 kB / 0.7877 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002115/0.006376, allocations: 117.7 kB / 0.7878 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/0.0064, allocations: 4.312 kB / 0.7878 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.658e-05/0.006447, allocations: 4.375 kB / 0.7878 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002171/0.006664, allocations: 59.97 kB / 0.7878 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.006674, allocations: 1.156 kB / 0.7878 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/0.006692, allocations: 4.359 kB / 0.7878 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.006699, allocations: 384 / 0.7878 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.575e-05/0.006745, allocations: 12.53 kB / 0.7879 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000271/0.007016, allocations: 109.3 kB / 0.788 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.828e-05/0.007114, allocations: 31.89 kB / 0.788 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.517e-05/0.007159, allocations: 8.922 kB / 0.788 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.266e-05/0.007222, allocations: 9.516 kB / 0.788 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.262e-05/0.007274, allocations: 34.56 kB / 0.788 GB, free: 11 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.007275, allocations: 0 / 0.788 GB, free: 11 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0009725/0.008248, allocations: 222.8 kB / 0.7883 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.984e-05/0.008318, allocations: 51.41 kB / 0.7883 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.008471, allocations: 117.7 kB / 0.7884 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.692e-05/0.008498, allocations: 25.7 kB / 0.7884 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.125e-05/0.008589, allocations: 84.67 kB / 0.7885 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.013e-05/0.008629, allocations: 13.97 kB / 0.7885 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.801e-05/0.008677, allocations: 17.72 kB / 0.7886 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002548/0.008932, allocations: 314.8 kB / 0.7889 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.533e-05/0.008967, allocations: 12 kB / 0.7889 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.628e-05/0.009023, allocations: 25.75 kB / 0.7889 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001085/0.009132, allocations: 46.89 kB / 0.7889 GB, free: 10 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.009133, allocations: 3.938 kB / 0.7889 GB, free: 10 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001394/0.009272, allocations: 71.22 kB / 0.789 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.046e-05/0.009303, allocations: 4 kB / 0.789 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.009314, allocations: 4.297 kB / 0.789 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.205e-05/0.009346, allocations: 4.625 kB / 0.789 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.573e-05/0.009442, allocations: 7.984 kB / 0.789 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.43e-05/0.009456, allocations: 4.906 kB / 0.789 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.127e-05/0.009478, allocations: 4 kB / 0.789 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.009493, allocations: 4.734 kB / 0.789 GB, free: 9.895 MB / 0.7448 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.0001401/0.009633, allocations: 110.4 kB / 0.7891 GB, free: 9.777 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.483e-05/0.009647, allocations: 3.953 kB / 0.7891 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002148/0.009862, allocations: 78.95 kB / 0.7892 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.009865, allocations: 0 / 0.7892 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.00987, allocations: 0 / 0.7892 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.278e-06/0.00988, allocations: 5 kB / 0.7892 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001832/0.01006, allocations: 121.3 kB / 0.7893 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.01006, allocations: 0 / 0.7893 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.441e-05/0.01013, allocations: 8.875 kB / 0.7894 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.01013, allocations: 3.984 kB / 0.7894 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.01014, allocations: 0 / 0.7894 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.01014, allocations: 0.8438 kB / 0.7894 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01015, allocations: 0 / 0.7894 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002496/0.01039, allocations: 111.1 kB / 0.7895 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.079e-05/0.01041, allocations: 4.031 kB / 0.7895 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.01042, allocations: 3.938 kB / 0.7895 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.402e-05/0.01049, allocations: 0 / 0.7895 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.937e-05/0.01052, allocations: 3.984 kB / 0.7895 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.01053, allocations: 4.5 kB / 0.7895 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.696e-05/0.01062, allocations: 95.2 kB / 0.7896 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01063, allocations: 2.594 kB / 0.7896 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002845/0.01091, allocations: 19.94 kB / 0.7896 GB, free: 9.273 MB / 0.7448 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.0002585/0.01117, allocations: 119.2 kB / 0.7897 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001276/0.0113, allocations: 27.98 kB / 0.7897 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.0113, allocations: 0 / 0.7897 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.37e-05/0.01133, allocations: 25.55 kB / 0.7898 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001921/0.01152, allocations: 4 kB / 0.7898 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004442/0.01197, allocations: 128.5 kB / 0.7899 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001014/0.01207, allocations: 67.84 kB / 0.7899 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.238e-05/0.0121, allocations: 0.5625 kB / 0.7899 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.207e-05/0.01213, allocations: 14.03 kB / 0.79 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of SimCode: time 5.82e-07/0.01213, allocations: 0 / 0.79 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of Templates: time 0.004306/0.01644, allocations: 0.9189 MB / 0.7909 GB, free: 7.949 MB / 0.7448 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: 7.887737024924718]