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.001189/0.001189, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001927/0.003115, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001162/0.001162, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001564/0.002726, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9566/0.9566, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08483/1.041, allocations: 53.68 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.34/2.34, allocations: 447.1 MB / 0.675 GB, free: 5.883 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.249/2.589, allocations: 146 MB / 0.8176 GB, free: 3.793 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.8189 GB, free: 2.496 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.958e-05/2.11e-05, allocations: 6.25 kB / 0.8189 GB, free: 2.488 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001547/0.001568, allocations: 0.5793 MB / 0.8195 GB, free: 1.902 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0003509/0.001919, allocations: 187.3 kB / 0.8197 GB, free: 1.719 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.918e-05/0.001938, allocations: 0 / 0.8197 GB, free: 1.719 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 1.798e-05/0.001956, allocations: 0 / 0.8197 GB, free: 1.719 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.152e-05/0.001978, allocations: 3.984 kB / 0.8197 GB, free: 1.715 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003064/0.002284, allocations: 63.7 kB / 0.8197 GB, free: 1.652 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 5.774e-05/0.002342, allocations: 8 kB / 0.8197 GB, free: 1.645 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.755e-05/0.002379, allocations: 3.984 kB / 0.8197 GB, free: 1.641 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 5.195e-05/0.002431, allocations: 11.94 kB / 0.8197 GB, free: 1.629 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 3.288e-05/0.002464, allocations: 3.984 kB / 0.8197 GB, free: 1.625 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.335e-05/0.002478, allocations: 4 kB / 0.8198 GB, free: 1.621 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000306/0.002784, allocations: 159.7 kB / 0.8199 GB, free: 1.465 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 3.742e-05/0.002821, allocations: 11.94 kB / 0.8199 GB, free: 1.453 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.237e-05/0.002833, allocations: 0 / 0.8199 GB, free: 1.453 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001692/0.003003, allocations: 75.73 kB / 0.82 GB, free: 1.379 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.256e-05/0.003015, allocations: 0 / 0.82 GB, free: 1.379 MB / 0.7917 GB Notification: Performance of FrontEnd: time 6.31e-07/0.003016, allocations: 0 / 0.82 GB, free: 1.379 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.282e-05/0.003029, allocations: 0 / 0.82 GB, free: 1.379 MB / 0.7917 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.0003387/0.003367, allocations: 256.4 kB / 0.8202 GB, free: 1.102 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.003401, allocations: 8.031 kB / 0.8202 GB, free: 1.094 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.535e-05/0.003436, allocations: 4.938 kB / 0.8202 GB, free: 1.09 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.572e-05/0.003532, allocations: 117.7 kB / 0.8204 GB, free: 0.9492 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.003543, allocations: 4.375 kB / 0.8204 GB, free: 0.9453 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.747e-05/0.00357, allocations: 4.359 kB / 0.8204 GB, free: 0.9414 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.232e-05/0.003663, allocations: 58.8 kB / 0.8204 GB, free: 0.8711 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.003671, allocations: 4.172 kB / 0.8204 GB, free: 0.8672 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.003679, allocations: 4.359 kB / 0.8204 GB, free: 0.8633 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.003685, allocations: 384 / 0.8204 GB, free: 0.8633 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.354e-05/0.003699, allocations: 11.88 kB / 0.8204 GB, free: 0.8516 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001076/0.003806, allocations: 70.66 kB / 0.8205 GB, free: 0.7656 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 4.407e-05/0.00385, allocations: 22.61 kB / 0.8205 GB, free: 0.7344 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.282e-05/0.003863, allocations: 4.859 kB / 0.8205 GB, free: 0.7266 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 4.425e-05/0.003907, allocations: 4.062 kB / 0.8205 GB, free: 0.7227 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.003932, allocations: 34.56 kB / 0.8206 GB, free: 0.6797 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.003934, allocations: 0 / 0.8206 GB, free: 0.6797 MB / 0.7917 GB Notification: Performance of matching and sorting (n=3): time 0.0005132/0.004447, allocations: 264 kB / 0.8208 GB, free: 376 kB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.004475, allocations: 55.41 kB / 0.8209 GB, free: 308 kB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.987e-05/0.004545, allocations: 114.7 kB / 0.821 GB, free: 180 kB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.004557, allocations: 29.92 kB / 0.821 GB, free: 144 kB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 2.85e-05/0.004586, allocations: 88.12 kB / 0.8211 GB, free: 52 kB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 2.173e-05/0.004607, allocations: 3.953 kB / 0.8211 GB, free: 48 kB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.23e-05/0.00464, allocations: 17.72 kB / 0.8211 GB, free: 24 kB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.004749, allocations: 326.8 kB / 0.8214 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.076e-05/0.00476, allocations: 2.828 kB / 0.8214 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.002e-05/0.00478, allocations: 13.72 kB / 0.8214 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.947e-05/0.004819, allocations: 31.3 kB / 0.8215 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.004821, allocations: 0 / 0.8215 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.047e-05/0.004891, allocations: 51.34 kB / 0.8215 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.004904, allocations: 8 kB / 0.8215 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.004909, allocations: 0 / 0.8215 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.004921, allocations: 0 / 0.8215 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.199e-05/0.004973, allocations: 15.94 kB / 0.8215 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.966e-06/0.004976, allocations: 3.938 kB / 0.8216 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.45e-05/0.00499, allocations: 0 / 0.8216 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.004997, allocations: 3.938 kB / 0.8216 GB, free: 15.54 MB / 0.8073 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.522e-05/0.005062, allocations: 120.7 kB / 0.8217 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.576e-06/0.005071, allocations: 4.062 kB / 0.8217 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.295e-05/0.005164, allocations: 53.64 kB / 0.8217 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.005165, allocations: 0 / 0.8217 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.005167, allocations: 0 / 0.8217 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.00517, allocations: 0 / 0.8217 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.552e-05/0.005246, allocations: 77.81 kB / 0.8218 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.005247, allocations: 0 / 0.8218 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.822e-05/0.005285, allocations: 4 kB / 0.8218 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.102e-06/0.005291, allocations: 3.938 kB / 0.8218 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.005294, allocations: 4 kB / 0.8218 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.2e-06/0.005299, allocations: 0 / 0.8218 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.0053, allocations: 4 kB / 0.8218 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.005302, allocations: 3.984 kB / 0.8218 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.156e-05/0.005394, allocations: 70.91 kB / 0.8219 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.005407, allocations: 4.047 kB / 0.8219 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.71e-05/0.005434, allocations: 7.984 kB / 0.8219 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.197e-05/0.005446, allocations: 3.984 kB / 0.8219 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/0.00545, allocations: 0 / 0.8219 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.615e-05/0.005466, allocations: 12.84 kB / 0.8219 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.005466, allocations: 0 / 0.8219 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001919/0.005658, allocations: 19.94 kB / 0.8219 GB, free: 15.09 MB / 0.8073 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.0001572/0.005815, allocations: 112.4 kB / 0.822 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.602e-05/0.005881, allocations: 28.72 kB / 0.8221 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.005885, allocations: 0 / 0.8221 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.794e-05/0.005903, allocations: 8.859 kB / 0.8221 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.779e-05/0.005981, allocations: 14.19 kB / 0.8221 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002042/0.006185, allocations: 130.2 kB / 0.8222 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.502e-05/0.00622, allocations: 59.34 kB / 0.8223 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.439e-05/0.006245, allocations: 4 kB / 0.8223 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.415e-05/0.006289, allocations: 55.56 kB / 0.8223 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of SimCode: time 6.51e-07/0.006289, allocations: 0 / 0.8223 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of Templates: time 0.002943/0.009232, allocations: 0.8738 MB / 0.8232 GB, free: 13.76 MB / 0.8073 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck/Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.143665824085474]