Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.373/2.373, allocations: 390.3 MB / 405.3 MB, free: 13.47 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 189 kB / 498.1 MB, free: 5.727 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.593/1.593, allocations: 223.2 MB / 0.7949 GB, free: 18.74 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000942/0.0009423, allocations: 109.6 kB / 0.9346 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000385/0.000385, allocations: 9.828 kB / 1.084 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.335/0.3354, allocations: 142.4 MB / 1.223 GB, free: 89.58 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2041/0.5396, allocations: 148.7 MB / 1.368 GB, free: 4.727 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002463/0.5399, allocations: 71.95 kB / 1.368 GB, free: 4.656 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004423/0.5443, allocations: 1.372 MB / 1.369 GB, free: 3.281 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.655e-06/0.5443, allocations: 0 / 1.369 GB, free: 3.281 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.598e-06/0.5444, allocations: 4 kB / 1.369 GB, free: 3.277 MB / 0.8698 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.0003603/0.5447, allocations: 343.2 kB / 1.37 GB, free: 2.895 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/0.5448, allocations: 12.03 kB / 1.37 GB, free: 2.883 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.885e-05/0.5448, allocations: 0 / 1.37 GB, free: 2.883 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/0.545, allocations: 174.9 kB / 1.37 GB, free: 2.672 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.545, allocations: 0 / 1.37 GB, free: 2.672 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.485e-05/0.5451, allocations: 0 / 1.37 GB, free: 2.672 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/0.5452, allocations: 37.69 kB / 1.37 GB, free: 2.629 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.5452, allocations: 0 / 1.37 GB, free: 2.629 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.5452, allocations: 4 kB / 1.37 GB, free: 2.625 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.5453, allocations: 0 / 1.37 GB, free: 2.625 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.158e-05/0.5453, allocations: 19.92 kB / 1.37 GB, free: 2.605 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002173/0.5455, allocations: 157.6 kB / 1.37 GB, free: 2.402 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.628e-05/0.5456, allocations: 26.59 kB / 1.37 GB, free: 2.367 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.674e-05/0.5457, allocations: 4.062 kB / 1.37 GB, free: 2.363 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.5457, allocations: 34.56 kB / 1.37 GB, free: 2.32 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.553e-06/0.5457, allocations: 3.938 kB / 1.37 GB, free: 2.316 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0006873/0.5464, allocations: 306.2 kB / 1.371 GB, free: 1.965 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.5465, allocations: 51.41 kB / 1.371 GB, free: 1.902 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.369e-05/0.5466, allocations: 97 kB / 1.371 GB, free: 1.801 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.5466, allocations: 25.7 kB / 1.371 GB, free: 1.77 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.061e-05/0.5467, allocations: 92.34 kB / 1.371 GB, free: 1.676 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.91e-05/0.5467, allocations: 7.906 kB / 1.371 GB, free: 1.668 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-06/0.5467, allocations: 3.938 kB / 1.371 GB, free: 1.664 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.5468, allocations: 322.8 kB / 1.371 GB, free: 1.34 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.017e-05/0.5469, allocations: 11.98 kB / 1.371 GB, free: 1.328 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.572e-05/0.5469, allocations: 21.7 kB / 1.371 GB, free: 1.301 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.069e-05/0.547, allocations: 19.98 kB / 1.371 GB, free: 1.281 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.547, allocations: 0 / 1.371 GB, free: 1.281 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001247/0.5471, allocations: 77.52 kB / 1.371 GB, free: 1.199 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.5471, allocations: 8.922 kB / 1.371 GB, free: 1.191 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.5471, allocations: 0 / 1.371 GB, free: 1.191 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.5472, allocations: 0 / 1.371 GB, free: 1.191 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.346e-05/0.5472, allocations: 8 kB / 1.371 GB, free: 1.184 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.5473, allocations: 3.938 kB / 1.371 GB, free: 1.18 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.974e-05/0.5473, allocations: 4 kB / 1.371 GB, free: 1.176 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.321e-05/0.5473, allocations: 0 / 1.371 GB, free: 1.176 MB / 0.8698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.266e-05/0.5474, allocations: 121.9 kB / 1.371 GB, free: 1.047 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.472e-05/0.5474, allocations: 7.984 kB / 1.371 GB, free: 1.039 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001792/0.5476, allocations: 81.5 kB / 1.371 GB, free: 0.9453 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.5476, allocations: 0 / 1.371 GB, free: 0.9453 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.5476, allocations: 0 / 1.371 GB, free: 0.9453 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.5476, allocations: 0 / 1.371 GB, free: 0.9453 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000129/0.5478, allocations: 161.6 kB / 1.372 GB, free: 0.7383 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.5478, allocations: 0 / 1.372 GB, free: 0.7383 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.472e-05/0.5478, allocations: 7.984 kB / 1.372 GB, free: 0.7305 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.5478, allocations: 0 / 1.372 GB, free: 0.7305 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.5479, allocations: 8 kB / 1.372 GB, free: 0.7227 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.5479, allocations: 0 / 1.372 GB, free: 0.7227 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.5479, allocations: 4.188 kB / 1.372 GB, free: 0.7188 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000194/0.5481, allocations: 113 kB / 1.372 GB, free: 0.5898 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.031e-05/0.5481, allocations: 81.06 kB / 1.372 GB, free: 0.4922 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/0.5482, allocations: 4.031 kB / 1.372 GB, free: 500 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.591e-05/0.5482, allocations: 3.938 kB / 1.372 GB, free: 496 kB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.833e-05/0.5482, allocations: 3.984 kB / 1.372 GB, free: 492 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.429e-05/0.5483, allocations: 12.06 kB / 1.372 GB, free: 480 kB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.66e-05/0.5483, allocations: 87.58 kB / 1.372 GB, free: 392 kB / 0.8698 GB Notification: Performance of sort global known variables: time 9.62e-07/0.5483, allocations: 0 / 1.372 GB, free: 392 kB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000236/0.5486, allocations: 35.86 kB / 1.372 GB, free: 356 kB / 0.8698 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 (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.0002274/0.5488, allocations: 130.9 kB / 1.372 GB, free: 216 kB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001015/0.5489, allocations: 27.98 kB / 1.372 GB, free: 188 kB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.5489, allocations: 0 / 1.372 GB, free: 188 kB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 3.377e-05/0.549, allocations: 20.05 kB / 1.372 GB, free: 168 kB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001225/0.5491, allocations: 11.94 kB / 1.372 GB, free: 156 kB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003152/0.5494, allocations: 141.1 kB / 1.372 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002724/0.5497, allocations: 0.6848 MB / 1.373 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.076e-05/0.5497, allocations: 4 kB / 1.373 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.925e-05/0.5498, allocations: 7.438 kB / 1.373 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of SimCode: time 2.1e-07/0.5498, allocations: 0 / 1.373 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of Templates: time 0.003482/0.5533, allocations: 0.8623 MB / 1.374 GB, free: 14.4 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.makefile (rm -f Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & ./Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.csv","../files/Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches