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.0009916/0.0009916, allocations: 81.86 kB / 20.68 MB, free: 3.82 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.00156/0.00156, allocations: 181 kB / 24.09 MB, free: 420 kB / 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.9276/0.9276, allocations: 177.1 MB / 204.5 MB, free: 5.484 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.714/1.714, allocations: 359 MB / 0.6055 GB, free: 10.88 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.114e-06/2.114e-06, allocations: 0 / 0.7875 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.667e-05/2.878e-05, allocations: 2.312 kB / 0.7875 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001886/0.001915, allocations: 0.5261 MB / 0.788 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0005286/0.002444, allocations: 183.3 kB / 0.7882 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.086e-05/0.002475, allocations: 1.156 kB / 0.7882 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.191e-05/0.002507, allocations: 0 / 0.7882 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.229e-05/0.002559, allocations: 4 kB / 0.7882 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005333/0.003092, allocations: 73.5 kB / 0.7883 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.652e-05/0.003159, allocations: 15.92 kB / 0.7883 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.578e-05/0.003204, allocations: 4 kB / 0.7883 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.238e-05/0.003247, allocations: 0.7812 kB / 0.7883 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.627e-05/0.003283, allocations: 7.984 kB / 0.7883 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.003298, allocations: 0.7188 kB / 0.7883 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003061/0.003604, allocations: 163.7 kB / 0.7885 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.797e-05/0.003642, allocations: 5.25 kB / 0.7885 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.62e-05/0.003658, allocations: 4 kB / 0.7885 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001768/0.003835, allocations: 87.78 kB / 0.7886 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.003837, allocations: 1.375 kB / 0.7886 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.62e-07/0.003838, allocations: 3.938 kB / 0.7886 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.003842, allocations: 0 / 0.7886 GB, free: 11.14 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.0003265/0.004169, allocations: 364.5 kB / 0.7889 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.004214, allocations: 13.09 kB / 0.7889 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.514e-05/0.004239, allocations: 4.875 kB / 0.7889 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.076e-05/0.00433, allocations: 116.6 kB / 0.7891 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.004343, allocations: 1.812 kB / 0.7891 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.067e-05/0.004363, allocations: 8.359 kB / 0.7891 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.284e-05/0.004456, allocations: 63.95 kB / 0.7891 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.303e-06/0.004463, allocations: 1.844 kB / 0.7891 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.981e-06/0.004469, allocations: 384 / 0.7891 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.004476, allocations: 384 / 0.7891 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.152e-05/0.004487, allocations: 3.938 kB / 0.7891 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001314/0.004619, allocations: 103.8 kB / 0.7892 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.406e-05/0.004663, allocations: 35.05 kB / 0.7893 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.403e-05/0.004677, allocations: 7.688 kB / 0.7893 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.779e-05/0.004724, allocations: 8.062 kB / 0.7893 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.004756, allocations: 37.39 kB / 0.7893 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.004757, allocations: 0 / 0.7893 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0003941/0.005151, allocations: 188 kB / 0.7895 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.521e-05/0.005176, allocations: 51.41 kB / 0.7895 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.445e-05/0.00525, allocations: 170.1 kB / 0.7897 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.879e-06/0.00526, allocations: 25.7 kB / 0.7897 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.242e-05/0.005303, allocations: 135.4 kB / 0.7899 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.188e-05/0.005325, allocations: 7.953 kB / 0.7899 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.711e-05/0.005352, allocations: 24.38 kB / 0.7899 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.005468, allocations: 0.4922 MB / 0.7904 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.045e-06/0.005476, allocations: 9.531 kB / 0.7904 GB, free: 9.082 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.012e-05/0.005497, allocations: 19.98 kB / 0.7904 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.372e-05/0.00553, allocations: 23.38 kB / 0.7904 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.005531, allocations: 2.062 kB / 0.7904 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.441e-05/0.005596, allocations: 53.58 kB / 0.7905 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.005609, allocations: 8 kB / 0.7905 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.005614, allocations: 0 / 0.7905 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.005624, allocations: 0.5312 kB / 0.7905 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.706e-05/0.005671, allocations: 8 kB / 0.7905 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.361e-06/0.005677, allocations: 8.578 kB / 0.7905 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.062e-05/0.005687, allocations: 4.656 kB / 0.7905 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.005692, allocations: 7.938 kB / 0.7905 GB, free: 8.93 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 7.607e-05/0.005768, allocations: 157.1 kB / 0.7907 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.174e-06/0.005776, allocations: 5.5 kB / 0.7907 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.088e-05/0.005867, allocations: 53.62 kB / 0.7907 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.005868, allocations: 0 / 0.7907 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.00587, allocations: 0 / 0.7907 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.005873, allocations: 0.5312 kB / 0.7907 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.801e-05/0.005951, allocations: 106.5 kB / 0.7908 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.005953, allocations: 4 kB / 0.7908 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.692e-05/0.00599, allocations: 4 kB / 0.7908 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.005991, allocations: 0 / 0.7908 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.218e-06/0.005996, allocations: 1.156 kB / 0.7908 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.005996, allocations: 0 / 0.7908 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.005998, allocations: 0 / 0.7908 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000108/0.006106, allocations: 101.8 kB / 0.7909 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.192e-06/0.006112, allocations: 4 kB / 0.7909 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.306e-06/0.00612, allocations: 0 / 0.7909 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.215e-05/0.006163, allocations: 9.75 kB / 0.7909 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.344e-05/0.006176, allocations: 4 kB / 0.7909 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-06/0.00618, allocations: 0 / 0.7909 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.34e-05/0.006223, allocations: 131.2 kB / 0.7911 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.006223, allocations: 0 / 0.7911 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001556/0.006379, allocations: 20.78 kB / 0.7911 GB, free: 8.281 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.0001595/0.006538, allocations: 120.6 kB / 0.7912 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.258e-05/0.006611, allocations: 23.61 kB / 0.7912 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.006613, allocations: 0 / 0.7912 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.295e-05/0.006626, allocations: 16.2 kB / 0.7912 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001173/0.006743, allocations: 8.594 kB / 0.7912 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001906/0.006934, allocations: 126.2 kB / 0.7914 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.21e-05/0.006966, allocations: 61.12 kB / 0.7914 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.907e-05/0.006985, allocations: 7.953 kB / 0.7914 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.108e-05/0.007026, allocations: 70.2 kB / 0.7915 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of SimCode: time 8.11e-07/0.007027, allocations: 4.812 kB / 0.7915 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of Templates: time 0.002642/0.009669, allocations: 1.041 MB / 0.7925 GB, free: 6.77 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: 4.674190255347639]