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.002021/0.002021, allocations: 83.69 kB / 20.24 MB, free: 4.184 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.001977/0.001977, allocations: 161.3 kB / 23.55 MB, free: 0.8711 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.629/1.629, allocations: 177.1 MB / 203.9 MB, free: 5.605 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.903/2.903, allocations: 359 MB / 0.6048 GB, free: 10.97 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.004e-06/2.004e-06, allocations: 0 / 0.7864 GB, free: 11.74 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.289e-05/4.489e-05, allocations: 6.047 kB / 0.7864 GB, free: 11.74 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.002011/0.002056, allocations: 0.5131 MB / 0.7869 GB, free: 11.25 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0006307/0.002687, allocations: 192.6 kB / 0.787 GB, free: 11.06 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.663e-05/0.002714, allocations: 0 / 0.787 GB, free: 11.06 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.618e-05/0.00275, allocations: 0 / 0.787 GB, free: 11.06 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.341e-05/0.002813, allocations: 0.5625 kB / 0.787 GB, free: 11.06 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006407/0.003454, allocations: 68.56 kB / 0.7871 GB, free: 10.99 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.792e-05/0.003552, allocations: 15.97 kB / 0.7871 GB, free: 10.98 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 5.335e-05/0.003605, allocations: 5 kB / 0.7871 GB, free: 10.97 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.136e-05/0.003657, allocations: 4 kB / 0.7871 GB, free: 10.97 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.491e-05/0.003701, allocations: 7.984 kB / 0.7871 GB, free: 10.96 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.224e-05/0.003724, allocations: 1.156 kB / 0.7871 GB, free: 10.96 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000664/0.004388, allocations: 163.6 kB / 0.7873 GB, free: 10.8 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 6.258e-05/0.00445, allocations: 0 / 0.7873 GB, free: 10.8 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.38e-05/0.004484, allocations: 8.562 kB / 0.7873 GB, free: 10.79 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002756/0.00476, allocations: 88.42 kB / 0.7874 GB, free: 10.71 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.004763, allocations: 0 / 0.7874 GB, free: 10.71 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.112e-06/0.004764, allocations: 0.9062 kB / 0.7874 GB, free: 10.71 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.806e-06/0.004773, allocations: 3.938 kB / 0.7874 GB, free: 10.7 MB / 0.698 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.0006822/0.005455, allocations: 368.1 kB / 0.7877 GB, free: 10.3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.727e-05/0.005523, allocations: 12.69 kB / 0.7878 GB, free: 10.29 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.187e-05/0.005585, allocations: 2.531 kB / 0.7878 GB, free: 10.29 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001829/0.005767, allocations: 116.6 kB / 0.7879 GB, free: 10.15 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.005788, allocations: 4.359 kB / 0.7879 GB, free: 10.15 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.709e-05/0.005826, allocations: 4.375 kB / 0.7879 GB, free: 10.14 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001944/0.00602, allocations: 67.48 kB / 0.7879 GB, free: 10.07 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.006033, allocations: 192 / 0.7879 GB, free: 10.07 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.006046, allocations: 384 / 0.7879 GB, free: 10.07 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.006054, allocations: 384 / 0.7879 GB, free: 10.07 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.501e-05/0.006089, allocations: 7.938 kB / 0.788 GB, free: 10.06 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002861/0.006375, allocations: 116.6 kB / 0.7881 GB, free: 9.914 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.219e-05/0.006467, allocations: 31.03 kB / 0.7881 GB, free: 9.871 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.071e-05/0.006508, allocations: 15.75 kB / 0.7881 GB, free: 9.852 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.183e-05/0.006579, allocations: 4 kB / 0.7881 GB, free: 9.848 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.814e-05/0.006638, allocations: 34.08 kB / 0.7881 GB, free: 9.805 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.006638, allocations: 0 / 0.7881 GB, free: 9.805 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0008593/0.007498, allocations: 191.4 kB / 0.7883 GB, free: 9.582 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.028e-05/0.007568, allocations: 55.41 kB / 0.7884 GB, free: 9.516 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001976/0.007766, allocations: 174.9 kB / 0.7885 GB, free: 9.328 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.254e-05/0.007798, allocations: 29.7 kB / 0.7886 GB, free: 9.293 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.007912, allocations: 130.9 kB / 0.7887 GB, free: 9.16 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.389e-05/0.007956, allocations: 12.81 kB / 0.7887 GB, free: 9.148 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.716e-05/0.008013, allocations: 23.38 kB / 0.7887 GB, free: 9.117 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0004093/0.008423, allocations: 0.4884 MB / 0.7892 GB, free: 8.617 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.909e-05/0.008452, allocations: 12.84 kB / 0.7892 GB, free: 8.605 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.341e-05/0.008505, allocations: 23.92 kB / 0.7892 GB, free: 8.574 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.771e-05/0.008593, allocations: 40.39 kB / 0.7893 GB, free: 8.527 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.52e-07/0.008594, allocations: 1.344 kB / 0.7893 GB, free: 8.527 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001046/0.008698, allocations: 49.64 kB / 0.7893 GB, free: 8.473 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.008719, allocations: 8.562 kB / 0.7893 GB, free: 8.465 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.008726, allocations: 0 / 0.7893 GB, free: 8.465 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.008746, allocations: 0.5625 kB / 0.7893 GB, free: 8.465 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.101e-05/0.008837, allocations: 16.67 kB / 0.7894 GB, free: 8.449 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.281e-05/0.008849, allocations: 3.938 kB / 0.7894 GB, free: 8.445 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.63e-05/0.008866, allocations: 1.25 kB / 0.7894 GB, free: 8.445 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.008874, allocations: 0 / 0.7894 GB, free: 8.445 MB / 0.698 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.0001728/0.009047, allocations: 156.6 kB / 0.7895 GB, free: 8.281 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.961e-05/0.009067, allocations: 8.766 kB / 0.7895 GB, free: 8.273 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001773/0.009244, allocations: 61.61 kB / 0.7896 GB, free: 8.207 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.009246, allocations: 1.781 kB / 0.7896 GB, free: 8.207 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.009252, allocations: 0 / 0.7896 GB, free: 8.207 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.876e-06/0.009261, allocations: 3.938 kB / 0.7896 GB, free: 8.203 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001685/0.00943, allocations: 116.6 kB / 0.7897 GB, free: 8.055 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.009431, allocations: 0 / 0.7897 GB, free: 8.055 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.095e-05/0.009492, allocations: 8.609 kB / 0.7897 GB, free: 8.047 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.77e-06/0.009498, allocations: 4.688 kB / 0.7897 GB, free: 8.043 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.345e-06/0.009506, allocations: 0 / 0.7897 GB, free: 8.043 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.009507, allocations: 0.5312 kB / 0.7897 GB, free: 8.043 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.009508, allocations: 0 / 0.7897 GB, free: 8.043 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002208/0.009729, allocations: 101.6 kB / 0.7898 GB, free: 7.922 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.166e-05/0.009741, allocations: 3.953 kB / 0.7898 GB, free: 7.918 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.009755, allocations: 0 / 0.7898 GB, free: 7.918 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.77e-05/0.009812, allocations: 8.516 kB / 0.7898 GB, free: 7.91 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.5e-05/0.009837, allocations: 1.219 kB / 0.7898 GB, free: 7.91 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.98e-06/0.009842, allocations: 0 / 0.7898 GB, free: 7.91 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001362/0.009979, allocations: 135.1 kB / 0.7899 GB, free: 7.777 MB / 0.698 GB Notification: Performance of sort global known variables: time 7e-08/0.009979, allocations: 0.75 kB / 0.7899 GB, free: 7.777 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002411/0.01022, allocations: 19.98 kB / 0.79 GB, free: 7.758 MB / 0.698 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.0002993/0.01052, allocations: 120.2 kB / 0.7901 GB, free: 7.629 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001486/0.01067, allocations: 36.7 kB / 0.7901 GB, free: 7.59 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.01067, allocations: 0 / 0.7901 GB, free: 7.59 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.216e-05/0.0107, allocations: 15.69 kB / 0.7901 GB, free: 7.57 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002018/0.0109, allocations: 4.844 kB / 0.7901 GB, free: 7.566 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004005/0.0113, allocations: 126.3 kB / 0.7903 GB, free: 7.414 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001012/0.01141, allocations: 69.55 kB / 0.7903 GB, free: 7.328 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.198e-05/0.01144, allocations: 8 kB / 0.7903 GB, free: 7.32 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.542e-05/0.01146, allocations: 8.5 kB / 0.7903 GB, free: 7.312 MB / 0.698 GB Notification: Performance of SimCode: time 4.61e-07/0.01146, allocations: 0 / 0.7903 GB, free: 7.312 MB / 0.698 GB Notification: Performance of Templates: time 0.004878/0.01634, allocations: 0.9269 MB / 0.7912 GB, free: 6.414 MB / 0.698 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) [Timeout 240] 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: 8.148362884065136]