Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001441/0.001441, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001653/0.001653, allocations: 218 kB / 23.01 MB, free: 4.605 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.346/1.346, allocations: 230.6 MB / 256.8 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.997/2.997, allocations: 0.505 GB / 0.8108 GB, free: 22.08 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.001893/0.001893, allocations: 70.86 kB / 1.178 GB, free: 16.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2855, allocations: 180.2 MB / 1.354 GB, free: 7.949 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001581/0.2871, allocations: 0.5343 MB / 1.355 GB, free: 7.418 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0004696/0.2876, allocations: 199.8 kB / 1.355 GB, free: 7.223 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.702e-05/0.2876, allocations: 0 / 1.355 GB, free: 7.223 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.444e-05/0.2876, allocations: 0 / 1.355 GB, free: 7.223 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 3.119e-05/0.2877, allocations: 4 kB / 1.355 GB, free: 7.219 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000357/0.288, allocations: 75.77 kB / 1.355 GB, free: 7.145 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 4.291e-05/0.2881, allocations: 4 kB / 1.355 GB, free: 7.141 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.83e-05/0.2881, allocations: 4 kB / 1.355 GB, free: 7.137 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 1.945e-05/0.2881, allocations: 7.922 kB / 1.355 GB, free: 7.129 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 2.863e-05/0.2882, allocations: 11.98 kB / 1.355 GB, free: 7.117 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.032e-05/0.2882, allocations: 0 / 1.355 GB, free: 7.117 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003049/0.2885, allocations: 167.7 kB / 1.355 GB, free: 6.953 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.315e-05/0.2885, allocations: 4 kB / 1.355 GB, free: 6.949 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.249e-05/0.2885, allocations: 11.92 kB / 1.355 GB, free: 6.938 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.2887, allocations: 67.78 kB / 1.355 GB, free: 6.871 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.2887, allocations: 0 / 1.355 GB, free: 6.871 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.022e-06/0.2887, allocations: 4 kB / 1.355 GB, free: 6.867 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.2887, allocations: 0 / 1.355 GB, free: 6.867 MB / 1.045 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.0003232/0.289, allocations: 270.2 kB / 1.355 GB, free: 6.57 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.289, allocations: 12.03 kB / 1.355 GB, free: 6.559 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.681e-05/0.2891, allocations: 0.9375 kB / 1.355 GB, free: 6.559 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.626e-05/0.2892, allocations: 114.5 kB / 1.356 GB, free: 6.422 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.2892, allocations: 12.25 kB / 1.356 GB, free: 6.41 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/0.2892, allocations: 384 / 1.356 GB, free: 6.41 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.168e-05/0.2893, allocations: 38.25 kB / 1.356 GB, free: 6.367 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.2893, allocations: 4.188 kB / 1.356 GB, free: 6.363 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.2893, allocations: 3.938 kB / 1.356 GB, free: 6.359 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.2893, allocations: 0 / 1.356 GB, free: 6.359 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.56e-05/0.2893, allocations: 12 kB / 1.356 GB, free: 6.348 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001601/0.2895, allocations: 132.8 kB / 1.356 GB, free: 6.176 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 5.356e-05/0.2895, allocations: 30.56 kB / 1.356 GB, free: 6.137 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.007e-05/0.2896, allocations: 8.859 kB / 1.356 GB, free: 6.125 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.189e-05/0.2896, allocations: 8 kB / 1.356 GB, free: 6.117 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.538e-05/0.2896, allocations: 30.56 kB / 1.356 GB, free: 6.078 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.2896, allocations: 3.938 kB / 1.356 GB, free: 6.074 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0004728/0.2901, allocations: 229.1 kB / 1.356 GB, free: 5.816 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.2901, allocations: 51.41 kB / 1.356 GB, free: 5.754 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.214e-05/0.2902, allocations: 110 kB / 1.356 GB, free: 5.637 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.144e-05/0.2902, allocations: 33.7 kB / 1.356 GB, free: 5.598 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.613e-05/0.2903, allocations: 88.12 kB / 1.356 GB, free: 5.508 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.083e-05/0.2903, allocations: 7.906 kB / 1.356 GB, free: 5.5 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.972e-05/0.2903, allocations: 17.72 kB / 1.356 GB, free: 5.477 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.2905, allocations: 318.8 kB / 1.357 GB, free: 5.156 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.032e-05/0.2905, allocations: 12 kB / 1.357 GB, free: 5.145 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.224e-05/0.2905, allocations: 25.7 kB / 1.357 GB, free: 5.113 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.696e-05/0.2906, allocations: 45.64 kB / 1.357 GB, free: 5.062 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.2906, allocations: 0 / 1.357 GB, free: 5.062 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.353e-05/0.2907, allocations: 69.62 kB / 1.357 GB, free: 4.988 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.2907, allocations: 11.94 kB / 1.357 GB, free: 4.977 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.2907, allocations: 0 / 1.357 GB, free: 4.977 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.2907, allocations: 0 / 1.357 GB, free: 4.977 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.055e-05/0.2908, allocations: 4 kB / 1.357 GB, free: 4.973 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.2908, allocations: 4 kB / 1.357 GB, free: 4.969 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.598e-05/0.2908, allocations: 8.062 kB / 1.357 GB, free: 4.961 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-06/0.2908, allocations: 0 / 1.357 GB, free: 4.961 MB / 1.045 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.483e-05/0.2909, allocations: 118.4 kB / 1.357 GB, free: 4.836 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.406e-05/0.2909, allocations: 15.83 kB / 1.357 GB, free: 4.82 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001239/0.291, allocations: 73.75 kB / 1.357 GB, free: 4.738 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.291, allocations: 48 / 1.357 GB, free: 4.738 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.291, allocations: 3.984 kB / 1.357 GB, free: 4.734 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.291, allocations: 0 / 1.357 GB, free: 4.734 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001178/0.2912, allocations: 136.8 kB / 1.357 GB, free: 4.559 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.2912, allocations: 4 kB / 1.357 GB, free: 4.555 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.225e-05/0.2912, allocations: 7.984 kB / 1.357 GB, free: 4.547 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.2912, allocations: 3.938 kB / 1.357 GB, free: 4.543 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.11e-06/0.2912, allocations: 0 / 1.357 GB, free: 4.543 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.2912, allocations: 0 / 1.357 GB, free: 4.543 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2912, allocations: 0 / 1.357 GB, free: 4.543 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001453/0.2914, allocations: 101.1 kB / 1.357 GB, free: 4.426 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.534e-06/0.2914, allocations: 8.016 kB / 1.357 GB, free: 4.418 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.2914, allocations: 7.969 kB / 1.357 GB, free: 4.41 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.384e-05/0.2914, allocations: 3.984 kB / 1.357 GB, free: 4.406 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.641e-05/0.2914, allocations: 3.938 kB / 1.357 GB, free: 4.402 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.2914, allocations: 0 / 1.357 GB, free: 4.402 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.061e-05/0.2915, allocations: 91.27 kB / 1.357 GB, free: 4.312 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.2915, allocations: 0 / 1.357 GB, free: 4.312 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002341/0.2917, allocations: 23.88 kB / 1.357 GB, free: 4.289 MB / 1.045 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.0001617/0.2919, allocations: 123.2 kB / 1.357 GB, free: 4.16 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 9.685e-05/0.292, allocations: 23.98 kB / 1.357 GB, free: 4.137 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.292, allocations: 4 kB / 1.357 GB, free: 4.133 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 2.67e-05/0.292, allocations: 19.92 kB / 1.358 GB, free: 4.113 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001345/0.2921, allocations: 5.562 kB / 1.358 GB, free: 4.109 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000258/0.2924, allocations: 151.3 kB / 1.358 GB, free: 3.93 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002905/0.2927, allocations: 0.6807 MB / 1.358 GB, free: 3.223 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.735e-05/0.2927, allocations: 11.44 kB / 1.358 GB, free: 3.215 MB / 1.045 GB Notification: Performance of SimCode: time 2.91e-07/0.2927, allocations: 4.125 kB / 1.358 GB, free: 3.211 MB / 1.045 GB Notification: Performance of Templates: time 0.002258/0.295, allocations: 0.8499 MB / 1.359 GB, free: 2.363 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.202389524987666]