Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") translateModel(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.598/1.598, allocations: 249.3 MB / 261.8 MB, free: 5.852 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001048/0.001048, allocations: 184.8 kB / 321.3 MB, free: 14.68 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.334/1.334, allocations: 205.2 MB / 0.572 GB, free: 10.72 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008702/0.0008703, allocations: 88.8 kB / 0.6764 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.123e-05/3.125e-05, allocations: 4 kB / 0.7879 GB, free: 97.14 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1913/0.1913, allocations: 106.3 MB / 0.8918 GB, free: 6.715 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.65/0.8413, allocations: 131.1 MB / 1.02 GB, free: 3.691 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00022/0.8416, allocations: 71.7 kB / 1.02 GB, free: 3.652 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004385/0.846, allocations: 1.359 MB / 1.021 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.062e-06/0.8461, allocations: 0 / 1.021 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.8461, allocations: 4 kB / 1.021 GB, free: 2.453 MB / 0.6355 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.000269/0.8463, allocations: 337.1 kB / 1.021 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.8464, allocations: 8.031 kB / 1.021 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.963e-05/0.8464, allocations: 4 kB / 1.021 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.8466, allocations: 166.9 kB / 1.022 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.8466, allocations: 4 kB / 1.022 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.052e-05/0.8466, allocations: 2.938 kB / 1.022 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.8468, allocations: 41.69 kB / 1.022 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.004e-06/0.8468, allocations: 0 / 1.022 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.8468, allocations: 0 / 1.022 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.8468, allocations: 0 / 1.022 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.581e-05/0.8469, allocations: 11.98 kB / 1.022 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001901/0.8471, allocations: 159.2 kB / 1.022 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.011e-05/0.8471, allocations: 33.84 kB / 1.022 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.155e-05/0.8472, allocations: 16.92 kB / 1.022 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.265e-05/0.8472, allocations: 0 / 1.022 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.8473, allocations: 34.56 kB / 1.022 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.375e-06/0.8473, allocations: 3.984 kB / 1.022 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0006016/0.8479, allocations: 289.9 kB / 1.022 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.8479, allocations: 51.41 kB / 1.022 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.511e-05/0.848, allocations: 112.1 kB / 1.022 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.848, allocations: 28.2 kB / 1.022 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.165e-05/0.8481, allocations: 82.64 kB / 1.022 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.43e-05/0.8481, allocations: 11.84 kB / 1.022 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.237e-06/0.8481, allocations: 0 / 1.022 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.8483, allocations: 325.5 kB / 1.023 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.181e-05/0.8483, allocations: 15.05 kB / 1.023 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.012e-05/0.8483, allocations: 36.17 kB / 1.023 GB, free: 0.4961 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.48e-05/0.8484, allocations: 18.92 kB / 1.023 GB, free: 492 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.8484, allocations: 4 kB / 1.023 GB, free: 488 kB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001024/0.8485, allocations: 68.58 kB / 1.023 GB, free: 416 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.8485, allocations: 4 kB / 1.023 GB, free: 412 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.8485, allocations: 0 / 1.023 GB, free: 412 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.8486, allocations: 0 / 1.023 GB, free: 412 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.287e-05/0.8486, allocations: 11.94 kB / 1.023 GB, free: 400 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.8487, allocations: 0 / 1.023 GB, free: 400 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.574e-05/0.8487, allocations: 4.062 kB / 1.023 GB, free: 396 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.234e-05/0.8487, allocations: 4 kB / 1.023 GB, free: 392 kB / 0.6355 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.282e-05/0.8488, allocations: 116.2 kB / 1.023 GB, free: 272 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.097e-06/0.8488, allocations: 0 / 1.023 GB, free: 272 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001717/0.849, allocations: 79.19 kB / 1.023 GB, free: 192 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.849, allocations: 4 kB / 1.023 GB, free: 188 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.849, allocations: 0 / 1.023 GB, free: 188 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.849, allocations: 0 / 1.023 GB, free: 188 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001215/0.8491, allocations: 156 kB / 1.023 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.8491, allocations: 7.938 kB / 1.023 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.282e-05/0.8492, allocations: 11.98 kB / 1.023 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.8492, allocations: 0 / 1.023 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.8492, allocations: 2.938 kB / 1.023 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.8492, allocations: 0 / 1.023 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.8492, allocations: 0 / 1.023 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001668/0.8494, allocations: 112.1 kB / 1.023 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.975e-05/0.8495, allocations: 81.06 kB / 1.024 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.8495, allocations: 4.062 kB / 1.024 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.254e-05/0.8495, allocations: 0 / 1.024 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.233e-05/0.8496, allocations: 4.031 kB / 1.024 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.8496, allocations: 11.42 kB / 1.024 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.877e-05/0.8496, allocations: 80.22 kB / 1.024 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8496, allocations: 0 / 1.024 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002014/0.8498, allocations: 26.56 kB / 1.024 GB, free: 15.63 MB / 0.6511 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002024/0.8501, allocations: 127 kB / 1.024 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 9.383e-05/0.8502, allocations: 35.55 kB / 1.024 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.8502, allocations: 0 / 1.024 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.841e-05/0.8502, allocations: 15.98 kB / 1.024 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001143/0.8503, allocations: 11.88 kB / 1.024 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002467/0.8506, allocations: 87.12 kB / 1.024 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002707/0.8509, allocations: 0.6887 MB / 1.025 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.159e-05/0.8509, allocations: 8.828 kB / 1.025 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.566e-05/0.8509, allocations: 11.56 kB / 1.025 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of SimCode: time 2.7e-07/0.8509, allocations: 0 / 1.025 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of Templates: time 0.003274/0.8542, allocations: 0.8747 MB / 1.025 GB, free: 13.74 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches