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.0009996/0.0009996, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001419/0.001419, allocations: 161 kB / 23.82 MB, free: 0.7539 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.118/1.118, allocations: 177.1 MB / 204.2 MB, free: 5.445 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.813/1.813, allocations: 359 MB / 0.6052 GB, free: 11 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.385e-06/2.385e-06, allocations: 0 / 0.7871 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.273e-05/3.512e-05, allocations: 5.531 kB / 0.7871 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001981/0.002016, allocations: 0.5394 MB / 0.7876 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0005237/0.002539, allocations: 185 kB / 0.7878 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.548e-05/0.002565, allocations: 0 / 0.7878 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.42e-05/0.002599, allocations: 0 / 0.7878 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.902e-05/0.002648, allocations: 0 / 0.7878 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005077/0.003156, allocations: 72.91 kB / 0.7878 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.884e-05/0.003215, allocations: 8 kB / 0.7878 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.802e-05/0.003253, allocations: 3.984 kB / 0.7879 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.062e-05/0.003293, allocations: 12.78 kB / 0.7879 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.576e-05/0.003329, allocations: 0 / 0.7879 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.003347, allocations: 4.938 kB / 0.7879 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002955/0.003643, allocations: 155.7 kB / 0.788 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.019e-05/0.003693, allocations: 4 kB / 0.788 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.419e-05/0.003717, allocations: 12.58 kB / 0.788 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002064/0.003923, allocations: 87.73 kB / 0.7881 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.003927, allocations: 1.594 kB / 0.7881 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.193e-06/0.003928, allocations: 0 / 0.7881 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.003933, allocations: 0 / 0.7881 GB, free: 11.48 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.0003864/0.004319, allocations: 364.5 kB / 0.7885 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.004363, allocations: 15.47 kB / 0.7885 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.658e-05/0.00441, allocations: 0.9375 kB / 0.7885 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.004519, allocations: 120.6 kB / 0.7886 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.004534, allocations: 384 / 0.7886 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.301e-05/0.004567, allocations: 4.375 kB / 0.7886 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.004685, allocations: 55.97 kB / 0.7887 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.004693, allocations: 192 / 0.7887 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.004704, allocations: 384 / 0.7887 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.004714, allocations: 4.359 kB / 0.7887 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.103e-05/0.004735, allocations: 12.59 kB / 0.7887 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001667/0.004902, allocations: 116.6 kB / 0.7888 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.792e-05/0.00496, allocations: 31.69 kB / 0.7888 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.419e-05/0.004984, allocations: 17.3 kB / 0.7888 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.334e-05/0.005037, allocations: 4 kB / 0.7888 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.005065, allocations: 33.39 kB / 0.7889 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.005066, allocations: 4.594 kB / 0.7889 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0005833/0.00565, allocations: 191 kB / 0.7891 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/0.005693, allocations: 55.34 kB / 0.7891 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.582e-05/0.005789, allocations: 173.9 kB / 0.7893 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.998e-05/0.005819, allocations: 27.23 kB / 0.7893 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.914e-05/0.005868, allocations: 130.9 kB / 0.7894 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.183e-05/0.0059, allocations: 15.89 kB / 0.7894 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.663e-05/0.005937, allocations: 23.38 kB / 0.7895 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000171/0.006108, allocations: 492.7 kB / 0.7899 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.061e-05/0.006128, allocations: 5.375 kB / 0.7899 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.133e-05/0.00616, allocations: 27.97 kB / 0.79 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.719e-05/0.006207, allocations: 28 kB / 0.79 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.006208, allocations: 0 / 0.79 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.572e-05/0.006304, allocations: 59.55 kB / 0.79 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.006319, allocations: 4 kB / 0.79 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.006327, allocations: 4.312 kB / 0.7901 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.006343, allocations: 0 / 0.7901 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.918e-05/0.006412, allocations: 4.531 kB / 0.7901 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.006419, allocations: 4.656 kB / 0.7901 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.699e-05/0.006436, allocations: 4 kB / 0.7901 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.006444, allocations: 9.203 kB / 0.7901 GB, free: 9.238 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 8.13e-05/0.006526, allocations: 160.6 kB / 0.7902 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.274e-05/0.006538, allocations: 0 / 0.7902 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001424/0.006681, allocations: 58.31 kB / 0.7903 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.006683, allocations: 1.125 kB / 0.7903 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.006686, allocations: 4 kB / 0.7903 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.00669, allocations: 3.938 kB / 0.7903 GB, free: 9 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.911e-05/0.00678, allocations: 117.4 kB / 0.7904 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.006784, allocations: 4 kB / 0.7904 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.389e-05/0.006838, allocations: 4.719 kB / 0.7904 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.006841, allocations: 0 / 0.7904 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/0.006848, allocations: 1.281 kB / 0.7904 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.00685, allocations: 0 / 0.7904 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.006853, allocations: 3.938 kB / 0.7904 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001369/0.00699, allocations: 96.25 kB / 0.7905 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.746e-06/0.006998, allocations: 4.5 kB / 0.7905 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.007012, allocations: 1.125 kB / 0.7905 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.424e-05/0.007056, allocations: 0 / 0.7905 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.918e-05/0.007075, allocations: 4.234 kB / 0.7905 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/0.007082, allocations: 4.906 kB / 0.7905 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001274/0.007209, allocations: 131.1 kB / 0.7906 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.1e-07/0.00721, allocations: 0.8438 kB / 0.7906 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002577/0.007467, allocations: 19.94 kB / 0.7907 GB, free: 8.562 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.0002063/0.007674, allocations: 125.4 kB / 0.7908 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001039/0.007777, allocations: 31.59 kB / 0.7908 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.00778, allocations: 0 / 0.7908 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.597e-05/0.007796, allocations: 11.69 kB / 0.7908 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001603/0.007956, allocations: 12.48 kB / 0.7908 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002867/0.008243, allocations: 122.2 kB / 0.791 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.816e-05/0.008281, allocations: 59.34 kB / 0.791 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.994e-05/0.008311, allocations: 4 kB / 0.791 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.322e-05/0.008334, allocations: 12.5 kB / 0.791 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of SimCode: time 5.31e-07/0.008334, allocations: 0 / 0.791 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of Templates: time 0.003683/0.01202, allocations: 0.9237 MB / 0.7919 GB, free: 7.227 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.285960979294032]