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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.182/1.182, allocations: 249.4 MB / 256.7 MB, free: 6.934 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.0009548/0.0009548, allocations: 189.2 kB / 316 MB, free: 3.559 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.019/1.019, allocations: 205.2 MB / 0.5667 GB, free: 15.62 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.0008388/0.0008389, allocations: 81.91 kB / 0.671 GB, free: 4.758 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.59e-06/5.61e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1508, allocations: 106.3 MB / 0.8846 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4343/0.5851, allocations: 131.4 MB / 1.013 GB, free: 7.32 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001943/0.5854, allocations: 73.08 kB / 1.013 GB, free: 7.281 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.003838/0.5892, allocations: 1.046 MB / 1.014 GB, free: 6.41 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.5893, allocations: 7.938 kB / 1.014 GB, free: 6.402 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.0002529/0.5895, allocations: 345.8 kB / 1.014 GB, free: 6.023 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.5896, allocations: 8.031 kB / 1.014 GB, free: 6.016 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.319e-05/0.5896, allocations: 4 kB / 1.014 GB, free: 6.012 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.5897, allocations: 166.3 kB / 1.014 GB, free: 5.812 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.5897, allocations: 3.938 kB / 1.014 GB, free: 5.809 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/0.5898, allocations: 4 kB / 1.014 GB, free: 5.805 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.244e-05/0.5898, allocations: 15.98 kB / 1.014 GB, free: 5.789 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.74e-05/0.5899, allocations: 37.69 kB / 1.014 GB, free: 5.746 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.044e-06/0.5899, allocations: 0 / 1.014 GB, free: 5.746 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.5899, allocations: 0 / 1.014 GB, free: 5.746 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.5899, allocations: 3.906 kB / 1.015 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001434/0.5901, allocations: 133 kB / 1.015 GB, free: 5.578 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.736e-05/0.5901, allocations: 29.92 kB / 1.015 GB, free: 5.543 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.531e-05/0.5902, allocations: 16.91 kB / 1.015 GB, free: 5.523 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.35e-05/0.5902, allocations: 4 kB / 1.015 GB, free: 5.52 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.5902, allocations: 34.56 kB / 1.015 GB, free: 5.477 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.5903, allocations: 0 / 1.015 GB, free: 5.477 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0005868/0.5908, allocations: 304.8 kB / 1.015 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.623e-05/0.5909, allocations: 51.41 kB / 1.015 GB, free: 5.066 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.956e-05/0.5909, allocations: 103.7 kB / 1.015 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.591, allocations: 25.7 kB / 1.015 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.757e-05/0.591, allocations: 82.95 kB / 1.015 GB, free: 4.848 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.914e-05/0.591, allocations: 11.84 kB / 1.015 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-06/0.591, allocations: 0 / 1.015 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.114e-05/0.5911, allocations: 317.6 kB / 1.016 GB, free: 4.52 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.496e-05/0.5912, allocations: 15.98 kB / 1.016 GB, free: 4.504 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.099e-05/0.5912, allocations: 24.27 kB / 1.016 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.012e-05/0.5913, allocations: 23.42 kB / 1.016 GB, free: 4.457 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.5913, allocations: 4 kB / 1.016 GB, free: 4.453 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001277/0.5914, allocations: 73.45 kB / 1.016 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.5914, allocations: 4 kB / 1.016 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.5914, allocations: 0 / 1.016 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.5914, allocations: 4 kB / 1.016 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.112e-05/0.5915, allocations: 4 kB / 1.016 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.5915, allocations: 4 kB / 1.016 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.602e-05/0.5915, allocations: 8.047 kB / 1.016 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.71e-05/0.5916, allocations: 7.438 kB / 1.016 GB, free: 4.348 MB / 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 5.403e-05/0.5916, allocations: 104.9 kB / 1.016 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.348e-06/0.5916, allocations: 0 / 1.016 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001868/0.5918, allocations: 84.34 kB / 1.016 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.5918, allocations: 7.906 kB / 1.016 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.5918, allocations: 0 / 1.016 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.5918, allocations: 0 / 1.016 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.556e-05/0.5919, allocations: 141.5 kB / 1.016 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.5919, allocations: 3.688 kB / 1.016 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.952e-05/0.592, allocations: 8 kB / 1.016 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.592, allocations: 3.938 kB / 1.016 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.592, allocations: 0 / 1.016 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.592, allocations: 0 / 1.016 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.592, allocations: 0 / 1.016 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001737/0.5922, allocations: 121.6 kB / 1.016 GB, free: 3.832 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.888e-05/0.5922, allocations: 89.02 kB / 1.016 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.5923, allocations: 0 / 1.016 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.558e-05/0.5923, allocations: 0 / 1.016 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.699e-05/0.5923, allocations: 8.031 kB / 1.016 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-06/0.5923, allocations: 4 kB / 1.016 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.447e-05/0.5924, allocations: 82.59 kB / 1.016 GB, free: 3.637 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001909/0.5926, allocations: 20 kB / 1.016 GB, free: 3.617 MB / 0.6355 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.0002034/0.5928, allocations: 131.1 kB / 1.017 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.676e-05/0.5929, allocations: 35.3 kB / 1.017 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.175e-06/0.5929, allocations: 0 / 1.017 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.72e-05/0.5929, allocations: 19.88 kB / 1.017 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001016/0.593, allocations: 3.906 kB / 1.017 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001992/0.5932, allocations: 87.98 kB / 1.017 GB, free: 3.32 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002152/0.5934, allocations: 0.6915 MB / 1.017 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of SimCode: time 2.21e-07/0.5934, allocations: 0 / 1.017 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of Templates: time 0.002605/0.596, allocations: 0.935 MB / 1.018 GB, free: 1.691 MB / 0.6355 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