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.0008917/0.0008917, allocations: 80.92 kB / 20.75 MB, free: 3.738 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.0009231/0.0009231, allocations: 165 kB / 24.17 MB, free: 328 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.9974/0.9974, allocations: 177.1 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.835/1.835, allocations: 377.9 MB / 0.624 GB, free: 8.367 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.543e-06/1.543e-06, allocations: 1.094 kB / 0.76 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.824e-05/1.979e-05, allocations: 6.25 kB / 0.76 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001025/0.001045, allocations: 0.5499 MB / 0.7605 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0003762/0.001421, allocations: 181.4 kB / 0.7607 GB, free: 5.961 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.016e-05/0.001442, allocations: 0 / 0.7607 GB, free: 5.961 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.481e-05/0.001466, allocations: 0.7812 kB / 0.7607 GB, free: 5.961 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.919e-05/0.001516, allocations: 0.6562 kB / 0.7607 GB, free: 5.961 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003729/0.001889, allocations: 77.97 kB / 0.7608 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 4.853e-05/0.001937, allocations: 8.922 kB / 0.7608 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.623e-05/0.001973, allocations: 5.109 kB / 0.7608 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.412e-05/0.002007, allocations: 14.06 kB / 0.7608 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 2.461e-05/0.002032, allocations: 8.953 kB / 0.7608 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.136e-05/0.002043, allocations: 0 / 0.7608 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001866/0.00223, allocations: 148.6 kB / 0.761 GB, free: 5.711 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.676e-05/0.002267, allocations: 18.2 kB / 0.761 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.493e-05/0.002282, allocations: 4.875 kB / 0.761 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001304/0.002412, allocations: 81.34 kB / 0.7611 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.503e-06/0.002414, allocations: 0.5938 kB / 0.7611 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.483e-06/0.002415, allocations: 0 / 0.7611 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.026e-06/0.002418, allocations: 1.516 kB / 0.7611 GB, free: 5.613 MB / 0.7136 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.0002347/0.002653, allocations: 246.4 kB / 0.7613 GB, free: 5.348 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.018e-05/0.002683, allocations: 8.031 kB / 0.7613 GB, free: 5.34 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.736e-05/0.00271, allocations: 8.922 kB / 0.7613 GB, free: 5.332 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.375e-05/0.002784, allocations: 109.8 kB / 0.7614 GB, free: 5.199 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.305e-06/0.002792, allocations: 384 / 0.7614 GB, free: 5.199 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/0.002814, allocations: 5.406 kB / 0.7614 GB, free: 5.195 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.615e-05/0.00289, allocations: 59.44 kB / 0.7615 GB, free: 5.125 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.08e-06/0.002895, allocations: 2.156 kB / 0.7615 GB, free: 5.125 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.744e-06/0.002903, allocations: 4.375 kB / 0.7615 GB, free: 5.121 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.002907, allocations: 384 / 0.7615 GB, free: 5.121 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.345e-06/0.002916, allocations: 3.938 kB / 0.7615 GB, free: 5.117 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.722e-05/0.003003, allocations: 66.7 kB / 0.7615 GB, free: 5.035 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.671e-05/0.00304, allocations: 24.67 kB / 0.7616 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.175e-05/0.003052, allocations: 9.609 kB / 0.7616 GB, free: 4.992 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.497e-05/0.003086, allocations: 7.984 kB / 0.7616 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.003106, allocations: 31.31 kB / 0.7616 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 7.21e-07/0.003107, allocations: 0 / 0.7616 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0004096/0.003516, allocations: 189 kB / 0.7618 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.674e-05/0.003543, allocations: 55.41 kB / 0.7618 GB, free: 4.66 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.516e-05/0.003598, allocations: 118.7 kB / 0.762 GB, free: 4.531 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.003608, allocations: 27.17 kB / 0.762 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.173e-05/0.00363, allocations: 80.14 kB / 0.7621 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.199e-05/0.003652, allocations: 12.89 kB / 0.7621 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.557e-05/0.003678, allocations: 21.7 kB / 0.7621 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.586e-05/0.003753, allocations: 324 kB / 0.7624 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.938e-06/0.003763, allocations: 6.828 kB / 0.7624 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.587e-05/0.003779, allocations: 13.72 kB / 0.7624 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.897e-05/0.003808, allocations: 34.47 kB / 0.7625 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.00381, allocations: 0 / 0.7625 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.389e-05/0.003863, allocations: 51.28 kB / 0.7625 GB, free: 3.93 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.508e-06/0.003873, allocations: 4 kB / 0.7625 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.003877, allocations: 0.6562 kB / 0.7625 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.238e-06/0.003886, allocations: 0 / 0.7625 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.321e-05/0.003919, allocations: 10.78 kB / 0.7625 GB, free: 3.918 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.354e-06/0.003921, allocations: 0 / 0.7625 GB, free: 3.918 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.667e-06/0.00393, allocations: 0 / 0.7625 GB, free: 3.918 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.003936, allocations: 3.938 kB / 0.7625 GB, free: 3.914 MB / 0.7136 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.0002132/0.004149, allocations: 121.9 kB / 0.7626 GB, free: 3.785 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.921e-06/0.004155, allocations: 3.938 kB / 0.7626 GB, free: 3.781 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.341e-05/0.004229, allocations: 50.97 kB / 0.7627 GB, free: 3.723 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.00423, allocations: 192 / 0.7627 GB, free: 3.723 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.004232, allocations: 0 / 0.7627 GB, free: 3.723 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.004235, allocations: 3.984 kB / 0.7627 GB, free: 3.719 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.594e-05/0.004291, allocations: 78.48 kB / 0.7628 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.004292, allocations: 0 / 0.7628 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.016e-05/0.004322, allocations: 4.562 kB / 0.7628 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.004323, allocations: 3 kB / 0.7628 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.468e-06/0.004328, allocations: 0 / 0.7628 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.004329, allocations: 0.875 kB / 0.7628 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.004329, allocations: 0 / 0.7628 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.78e-05/0.004407, allocations: 86.62 kB / 0.7629 GB, free: 3.516 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.861e-06/0.004413, allocations: 0 / 0.7629 GB, free: 3.516 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.266e-06/0.004421, allocations: 4 kB / 0.7629 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.826e-05/0.00444, allocations: 0 / 0.7629 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.208e-05/0.004452, allocations: 11.11 kB / 0.7629 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/0.004455, allocations: 0 / 0.7629 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.143e-05/0.004466, allocations: 9.828 kB / 0.7629 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.004466, allocations: 0 / 0.7629 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001083/0.004574, allocations: 19.94 kB / 0.7629 GB, free: 3.473 MB / 0.7136 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.0001122/0.004687, allocations: 108.4 kB / 0.763 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.155e-05/0.004738, allocations: 21.77 kB / 0.763 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.004741, allocations: 1.812 kB / 0.763 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.358e-06/0.00475, allocations: 12.86 kB / 0.763 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.648e-05/0.004806, allocations: 3.938 kB / 0.763 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001659/0.004972, allocations: 126.2 kB / 0.7632 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.62e-05/0.004999, allocations: 60.22 kB / 0.7632 GB, free: 3.086 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.058e-05/0.005019, allocations: 10.66 kB / 0.7632 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.456e-05/0.005054, allocations: 56.12 kB / 0.7633 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of SimCode: time 4.71e-07/0.005054, allocations: 0 / 0.7633 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of Templates: time 0.002361/0.007415, allocations: 1.026 MB / 0.7643 GB, free: 2.035 MB / 0.7136 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.971949086058885]