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.0013/0.0013, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.001374/0.001374, allocations: 165 kB / 23.82 MB, free: 0.75 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.009/1.009, allocations: 177.1 MB / 204.2 MB, free: 5.242 MB / 186.7 MB " [Timeout remaining time 179] 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 1.706/1.706, allocations: 359 MB / 0.6052 GB, free: 10.99 MB / 0.573 GB " [Timeout remaining time 178] 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.244e-06/2.244e-06, allocations: 0 / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.072e-05/3.296e-05, allocations: 6.938 kB / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001991/0.002024, allocations: 0.5356 MB / 0.7876 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0005707/0.002594, allocations: 183.4 kB / 0.7878 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.751e-05/0.002622, allocations: 1.219 kB / 0.7878 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.879e-05/0.002661, allocations: 0 / 0.7878 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.179e-05/0.002713, allocations: 7.938 kB / 0.7878 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005616/0.003274, allocations: 64.7 kB / 0.7878 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.258e-05/0.003347, allocations: 11.98 kB / 0.7878 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.111e-05/0.003388, allocations: 1.031 kB / 0.7878 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.731e-05/0.003425, allocations: 7.938 kB / 0.7878 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.559e-05/0.003471, allocations: 11.97 kB / 0.7879 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.003488, allocations: 0.6562 kB / 0.7879 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003147/0.003803, allocations: 161.2 kB / 0.788 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.862e-05/0.003852, allocations: 4 kB / 0.788 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.598e-05/0.003878, allocations: 11.92 kB / 0.788 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002108/0.004088, allocations: 83.81 kB / 0.7881 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.004096, allocations: 3.984 kB / 0.7881 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.433e-06/0.004097, allocations: 3.406 kB / 0.7881 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.004103, allocations: 0 / 0.7881 GB, free: 11.43 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.0003901/0.004493, allocations: 364.5 kB / 0.7885 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.004541, allocations: 8.031 kB / 0.7885 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.537e-05/0.004597, allocations: 4.938 kB / 0.7885 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.004711, allocations: 112.6 kB / 0.7886 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.004724, allocations: 384 / 0.7886 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.863e-05/0.004753, allocations: 4.359 kB / 0.7886 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/0.004894, allocations: 68.7 kB / 0.7887 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.004902, allocations: 192 / 0.7887 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.004914, allocations: 4.969 kB / 0.7887 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.004923, allocations: 384 / 0.7887 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.056e-05/0.004944, allocations: 5.438 kB / 0.7887 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001788/0.005122, allocations: 124.6 kB / 0.7888 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.239e-05/0.005185, allocations: 27.06 kB / 0.7888 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.237e-05/0.005207, allocations: 8.25 kB / 0.7888 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.479e-05/0.005262, allocations: 8 kB / 0.7888 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.005294, allocations: 42.77 kB / 0.7889 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.005295, allocations: 0 / 0.7889 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0006862/0.005982, allocations: 191.2 kB / 0.789 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.628e-05/0.006038, allocations: 51.41 kB / 0.7891 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.006189, allocations: 169.9 kB / 0.7893 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.006207, allocations: 26.33 kB / 0.7893 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.97e-05/0.006287, allocations: 134.9 kB / 0.7894 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.788e-05/0.006345, allocations: 13.88 kB / 0.7894 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.763e-05/0.006432, allocations: 19.38 kB / 0.7894 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000555/0.006987, allocations: 0.4923 MB / 0.7899 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.282e-05/0.00701, allocations: 0 / 0.7899 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.914e-05/0.007049, allocations: 23.98 kB / 0.7899 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.02e-05/0.007109, allocations: 36.55 kB / 0.79 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.007112, allocations: 0 / 0.79 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001067/0.007218, allocations: 51 kB / 0.79 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.007238, allocations: 4 kB / 0.79 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.007246, allocations: 4.875 kB / 0.79 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.007263, allocations: 0 / 0.79 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.605e-05/0.007349, allocations: 13.08 kB / 0.7901 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.007357, allocations: 3.938 kB / 0.7901 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.757e-05/0.007374, allocations: 0 / 0.7901 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.007387, allocations: 8.734 kB / 0.7901 GB, free: 9.191 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 9.757e-05/0.007485, allocations: 157.3 kB / 0.7902 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.896e-05/0.007504, allocations: 8 kB / 0.7902 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001582/0.007662, allocations: 54.95 kB / 0.7903 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.007665, allocations: 0 / 0.7903 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.00767, allocations: 0 / 0.7903 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.007675, allocations: 7.875 kB / 0.7903 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000119/0.007794, allocations: 121.1 kB / 0.7904 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.007796, allocations: 1.031 kB / 0.7904 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.375e-05/0.00786, allocations: 11.92 kB / 0.7904 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.561e-05/0.007876, allocations: 4 kB / 0.7904 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.007886, allocations: 0.9062 kB / 0.7904 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.007889, allocations: 0 / 0.7904 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.007891, allocations: 0.8438 kB / 0.7904 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001609/0.008052, allocations: 92.55 kB / 0.7905 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.45e-05/0.008067, allocations: 10.22 kB / 0.7905 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.518e-05/0.008082, allocations: 0 / 0.7905 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.021e-05/0.008132, allocations: 3.984 kB / 0.7905 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.895e-05/0.008151, allocations: 0 / 0.7905 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.008159, allocations: 4 kB / 0.7905 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.671e-05/0.008216, allocations: 135.1 kB / 0.7907 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1e-07/0.008216, allocations: 2.688 kB / 0.7907 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000267/0.008483, allocations: 23.92 kB / 0.7907 GB, free: 8.5 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.0002358/0.008719, allocations: 115.2 kB / 0.7908 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001091/0.008828, allocations: 23.67 kB / 0.7908 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.686e-06/0.00883, allocations: 0 / 0.7908 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.12e-05/0.008852, allocations: 21.19 kB / 0.7908 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001798/0.009031, allocations: 0 / 0.7908 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003222/0.009354, allocations: 122.2 kB / 0.7909 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.636e-05/0.0094, allocations: 59.34 kB / 0.791 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.613e-05/0.009436, allocations: 5.031 kB / 0.791 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.248e-05/0.009458, allocations: 8.5 kB / 0.791 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of SimCode: time 6.81e-07/0.009459, allocations: 1.406 kB / 0.791 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of Templates: time 0.004151/0.01361, allocations: 1.04 MB / 0.792 GB, free: 7.074 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=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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.083898178767413]