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.001014/0.001014, allocations: 80.8 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.00105/0.00105, allocations: 165 kB / 24.16 MB, free: 332 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 1.021/1.021, allocations: 177.2 MB / 204.6 MB, free: 5.488 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.889/1.889, allocations: 377.9 MB / 0.624 GB, free: 8.344 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 2.064e-06/2.064e-06, allocations: 0 / 0.76 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.765e-05/1.972e-05, allocations: 6.812 kB / 0.76 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.00119/0.00121, allocations: 0.5984 MB / 0.7606 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0004107/0.001621, allocations: 176.7 kB / 0.7608 GB, free: 5.848 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.75e-05/0.001638, allocations: 1.797 kB / 0.7608 GB, free: 5.848 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.646e-05/0.001665, allocations: 3.938 kB / 0.7608 GB, free: 5.844 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.633e-05/0.001711, allocations: 1.203 kB / 0.7608 GB, free: 5.844 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004027/0.002114, allocations: 60.61 kB / 0.7608 GB, free: 5.785 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.509e-05/0.002179, allocations: 14.42 kB / 0.7609 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.499e-05/0.002224, allocations: 5.656 kB / 0.7609 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.029e-05/0.002264, allocations: 5.078 kB / 0.7609 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.06e-05/0.002295, allocations: 4 kB / 0.7609 GB, free: 5.762 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.002309, allocations: 1.203 kB / 0.7609 GB, free: 5.762 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002358/0.002545, allocations: 171.6 kB / 0.761 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.256e-05/0.002578, allocations: 6.234 kB / 0.761 GB, free: 5.59 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.467e-05/0.002592, allocations: 8.969 kB / 0.761 GB, free: 5.582 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001495/0.002742, allocations: 90.3 kB / 0.7611 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.002744, allocations: 0 / 0.7611 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.11e-07/0.002744, allocations: 0.75 kB / 0.7611 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.002749, allocations: 0 / 0.7611 GB, free: 5.496 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.0002808/0.00303, allocations: 233.8 kB / 0.7614 GB, free: 5.242 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.003069, allocations: 8.906 kB / 0.7614 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.01e-05/0.003099, allocations: 7.125 kB / 0.7614 GB, free: 5.23 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.587e-05/0.003195, allocations: 117.7 kB / 0.7615 GB, free: 5.09 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.003206, allocations: 384 / 0.7615 GB, free: 5.09 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/0.003226, allocations: 4.359 kB / 0.7615 GB, free: 5.086 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.255e-05/0.003309, allocations: 62.8 kB / 0.7615 GB, free: 5.012 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.003316, allocations: 192 / 0.7615 GB, free: 5.012 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.003325, allocations: 6.172 kB / 0.7616 GB, free: 5.008 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.003331, allocations: 5.578 kB / 0.7616 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.043e-05/0.003341, allocations: 3.938 kB / 0.7616 GB, free: 5 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001009/0.003442, allocations: 66.7 kB / 0.7616 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.892e-05/0.003481, allocations: 25.58 kB / 0.7617 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.415e-05/0.003495, allocations: 12.92 kB / 0.7617 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.676e-05/0.003532, allocations: 4 kB / 0.7617 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.003555, allocations: 30.56 kB / 0.7617 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.003556, allocations: 0 / 0.7617 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.000446/0.004002, allocations: 189.6 kB / 0.7619 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.601e-05/0.004028, allocations: 52.06 kB / 0.7619 GB, free: 4.547 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.764e-05/0.004085, allocations: 118.7 kB / 0.762 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.021e-05/0.004095, allocations: 25.7 kB / 0.7621 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.291e-05/0.004118, allocations: 84.12 kB / 0.7621 GB, free: 4.301 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.311e-05/0.004142, allocations: 11.91 kB / 0.7622 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.389e-05/0.004165, allocations: 13.72 kB / 0.7622 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.727e-05/0.004253, allocations: 328.5 kB / 0.7625 GB, free: 3.941 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.836e-06/0.004261, allocations: 2.828 kB / 0.7625 GB, free: 3.938 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.14e-05/0.004283, allocations: 18.88 kB / 0.7625 GB, free: 3.914 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.236e-05/0.004315, allocations: 28.02 kB / 0.7625 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.004316, allocations: 0 / 0.7625 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.691e-05/0.004373, allocations: 56.84 kB / 0.7626 GB, free: 3.816 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.004387, allocations: 8 kB / 0.7626 GB, free: 3.809 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.004392, allocations: 0 / 0.7626 GB, free: 3.809 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.004403, allocations: 1.281 kB / 0.7626 GB, free: 3.809 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.819e-05/0.004442, allocations: 8 kB / 0.7626 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.125e-06/0.004445, allocations: 0.6562 kB / 0.7626 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.337e-06/0.004454, allocations: 0 / 0.7626 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.992e-06/0.00446, allocations: 4.594 kB / 0.7626 GB, free: 3.797 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 5.365e-05/0.004514, allocations: 113.5 kB / 0.7627 GB, free: 3.676 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.883e-06/0.004521, allocations: 3.984 kB / 0.7627 GB, free: 3.672 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.712e-05/0.004598, allocations: 54.25 kB / 0.7628 GB, free: 3.613 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.004599, allocations: 3.906 kB / 0.7628 GB, free: 3.613 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.0046, allocations: 0 / 0.7628 GB, free: 3.613 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.004603, allocations: 192 / 0.7628 GB, free: 3.613 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.218e-05/0.004665, allocations: 77.81 kB / 0.7628 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.004666, allocations: 0 / 0.7628 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.492e-05/0.004691, allocations: 4 kB / 0.7629 GB, free: 3.516 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.004693, allocations: 4.75 kB / 0.7629 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.641e-06/0.004699, allocations: 0 / 0.7629 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.0047, allocations: 0 / 0.7629 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.004701, allocations: 3.125 kB / 0.7629 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.815e-05/0.004789, allocations: 86.64 kB / 0.7629 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.034e-06/0.004796, allocations: 0 / 0.7629 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.514e-06/0.004804, allocations: 0 / 0.7629 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.12e-05/0.004825, allocations: 4.547 kB / 0.7629 GB, free: 3.402 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.078e-05/0.004836, allocations: 4 kB / 0.763 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.786e-06/0.004838, allocations: 0 / 0.763 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.749e-05/0.004856, allocations: 25.12 kB / 0.763 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.004856, allocations: 0 / 0.763 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001255/0.004981, allocations: 21.75 kB / 0.763 GB, free: 3.352 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.000121/0.005102, allocations: 101.8 kB / 0.7631 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.844e-05/0.005161, allocations: 16.8 kB / 0.7631 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.005164, allocations: 0 / 0.7631 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.372e-05/0.005178, allocations: 22.41 kB / 0.7631 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.395e-05/0.005242, allocations: 3.938 kB / 0.7631 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001832/0.005425, allocations: 130.8 kB / 0.7633 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.9e-05/0.005454, allocations: 60.56 kB / 0.7633 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.778e-05/0.005472, allocations: 4 kB / 0.7633 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.747e-05/0.005509, allocations: 51.38 kB / 0.7634 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of SimCode: time 4.21e-07/0.00551, allocations: 1.594 kB / 0.7634 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of Templates: time 0.002492/0.008001, allocations: 1.031 MB / 0.7644 GB, free: 1.922 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 -s gbode -gbm=radauIIA3 -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: 5.015580523293465]