Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001572/0.001572, allocations: 72.5 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.001495/0.001495, allocations: 177.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.893/0.893, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.752/1.752, allocations: 377.8 MB / 0.6228 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 0.9822 GB, free: 2.125 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.51e-05/2.641e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.121 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001173/0.0012, allocations: 0.5284 MB / 0.9827 GB, free: 1.598 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0004222/0.001622, allocations: 183.4 kB / 0.9829 GB, free: 1.418 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.556e-05/0.001648, allocations: 0 / 0.9829 GB, free: 1.418 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.624e-05/0.001684, allocations: 0 / 0.9829 GB, free: 1.418 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 4.974e-05/0.001734, allocations: 7.938 kB / 0.9829 GB, free: 1.41 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004776/0.002211, allocations: 63.72 kB / 0.9829 GB, free: 1.348 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 6.889e-05/0.00228, allocations: 11.98 kB / 0.9829 GB, free: 1.336 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 5.172e-05/0.002332, allocations: 7.984 kB / 0.9829 GB, free: 1.328 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 4.354e-05/0.002375, allocations: 0 / 0.9829 GB, free: 1.328 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.128e-05/0.002407, allocations: 7.984 kB / 0.983 GB, free: 1.32 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.002424, allocations: 3.938 kB / 0.983 GB, free: 1.316 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002043/0.002628, allocations: 159.7 kB / 0.9831 GB, free: 1.16 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 4.523e-05/0.002674, allocations: 7.984 kB / 0.9831 GB, free: 1.152 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.82e-05/0.002692, allocations: 4 kB / 0.9831 GB, free: 1.148 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001579/0.00285, allocations: 87.69 kB / 0.9832 GB, free: 1.062 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.002853, allocations: 4 kB / 0.9832 GB, free: 1.059 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.363e-06/0.002854, allocations: 0 / 0.9832 GB, free: 1.059 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.107e-06/0.002858, allocations: 0 / 0.9832 GB, free: 1.059 MB / 0.9323 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.0003106/0.003169, allocations: 266.2 kB / 0.9835 GB, free: 0.7656 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.003209, allocations: 12.02 kB / 0.9835 GB, free: 0.7539 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.444e-05/0.003243, allocations: 4.938 kB / 0.9835 GB, free: 0.75 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.965e-05/0.003333, allocations: 113.7 kB / 0.9836 GB, free: 0.6133 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.003344, allocations: 4.375 kB / 0.9836 GB, free: 0.6094 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.332e-05/0.003367, allocations: 384 / 0.9836 GB, free: 0.6094 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.003486, allocations: 63.95 kB / 0.9837 GB, free: 0.5352 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.003493, allocations: 192 / 0.9837 GB, free: 0.5352 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.003506, allocations: 4.375 kB / 0.9837 GB, free: 0.5312 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.003511, allocations: 384 / 0.9837 GB, free: 0.5312 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.485e-05/0.003536, allocations: 11.94 kB / 0.9837 GB, free: 0.5195 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000128/0.003664, allocations: 117.3 kB / 0.9838 GB, free: 384 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 4.887e-05/0.003713, allocations: 26.52 kB / 0.9838 GB, free: 348 kB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.893e-05/0.003732, allocations: 12.91 kB / 0.9838 GB, free: 332 kB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 4.311e-05/0.003775, allocations: 8 kB / 0.9838 GB, free: 324 kB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.003796, allocations: 30.56 kB / 0.9839 GB, free: 284 kB / 0.9323 GB Notification: Performance of pre-optimization done (n=2): time 6.61e-07/0.003797, allocations: 0 / 0.9839 GB, free: 284 kB / 0.9323 GB Notification: Performance of matching and sorting (n=3): time 0.0004838/0.00428, allocations: 221.2 kB / 0.9841 GB, free: 28 kB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.004319, allocations: 51.41 kB / 0.9841 GB, free: 15.96 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.218e-05/0.004382, allocations: 113.8 kB / 0.9842 GB, free: 15.84 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.004393, allocations: 25.7 kB / 0.9842 GB, free: 15.81 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.515e-05/0.004428, allocations: 88.12 kB / 0.9843 GB, free: 15.72 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.68e-05/0.004455, allocations: 20 kB / 0.9844 GB, free: 15.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-05/0.00448, allocations: 25.7 kB / 0.9844 GB, free: 15.67 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.911e-05/0.00456, allocations: 310.8 kB / 0.9847 GB, free: 15.36 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.324e-05/0.004583, allocations: 23.92 kB / 0.9847 GB, free: 15.34 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.423e-05/0.004607, allocations: 17.72 kB / 0.9847 GB, free: 15.31 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.752e-05/0.004655, allocations: 41.7 kB / 0.9848 GB, free: 15.27 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.004656, allocations: 0 / 0.9848 GB, free: 15.27 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.138e-05/0.004727, allocations: 69.62 kB / 0.9848 GB, free: 15.19 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.00474, allocations: 4 kB / 0.9848 GB, free: 15.19 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.004746, allocations: 4.062 kB / 0.9848 GB, free: 15.18 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.004758, allocations: 4 kB / 0.9848 GB, free: 15.18 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.441e-05/0.004813, allocations: 7.984 kB / 0.9848 GB, free: 15.17 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.004819, allocations: 3.938 kB / 0.9848 GB, free: 15.17 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.082e-05/0.00483, allocations: 4 kB / 0.9848 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.004836, allocations: 0 / 0.9848 GB, free: 15.16 MB / 0.948 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 5.367e-05/0.00489, allocations: 109.8 kB / 0.9849 GB, free: 15.05 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.981e-06/0.004896, allocations: 3.953 kB / 0.985 GB, free: 15.04 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001069/0.005002, allocations: 81.91 kB / 0.985 GB, free: 14.96 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.005004, allocations: 4 kB / 0.985 GB, free: 14.95 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.005009, allocations: 0 / 0.985 GB, free: 14.95 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.005013, allocations: 3.938 kB / 0.985 GB, free: 14.95 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.496e-05/0.005088, allocations: 121.3 kB / 0.9852 GB, free: 14.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.005089, allocations: 0 / 0.9852 GB, free: 14.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.04e-05/0.005129, allocations: 7.984 kB / 0.9852 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.00513, allocations: 4 kB / 0.9852 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.005137, allocations: 0 / 0.9852 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.005138, allocations: 0 / 0.9852 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.005139, allocations: 0 / 0.9852 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001148/0.005253, allocations: 113.2 kB / 0.9853 GB, free: 14.66 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.021e-06/0.005259, allocations: 8.016 kB / 0.9853 GB, free: 14.65 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.131e-05/0.005271, allocations: 4.031 kB / 0.9853 GB, free: 14.65 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.806e-05/0.005309, allocations: 3.984 kB / 0.9853 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.308e-05/0.005322, allocations: 3.938 kB / 0.9853 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/0.005327, allocations: 4 kB / 0.9853 GB, free: 14.64 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.21e-05/0.005359, allocations: 91.2 kB / 0.9854 GB, free: 14.55 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.005359, allocations: 0 / 0.9854 GB, free: 14.55 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001453/0.005504, allocations: 19.94 kB / 0.9854 GB, free: 14.53 MB / 0.948 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.0001415/0.005646, allocations: 119.2 kB / 0.9855 GB, free: 14.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 8.276e-05/0.005729, allocations: 35.98 kB / 0.9856 GB, free: 14.36 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.005731, allocations: 3.938 kB / 0.9856 GB, free: 14.36 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.455e-05/0.005745, allocations: 15.98 kB / 0.9856 GB, free: 14.34 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001151/0.00586, allocations: 4 kB / 0.9856 GB, free: 14.34 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002346/0.006095, allocations: 150.5 kB / 0.9857 GB, free: 14.16 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.152e-05/0.006136, allocations: 67.34 kB / 0.9858 GB, free: 14.07 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.761e-05/0.006154, allocations: 12.5 kB / 0.9858 GB, free: 14.06 MB / 0.948 GB Notification: Performance of SimCode: time 6.92e-07/0.006155, allocations: 0 / 0.9858 GB, free: 14.06 MB / 0.948 GB Notification: Performance of Templates: time 0.001556/0.007711, allocations: 0.8696 MB / 0.9866 GB, free: 13.2 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & ./Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.690549193881452]