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.441/1.441, allocations: 249.5 MB / 257 MB, free: 6.855 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.0009758/0.0009758, allocations: 184.9 kB / 316.3 MB, free: 3.301 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.469/1.469, allocations: 205.3 MB / 0.5671 GB, free: 15.91 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.0008493/0.0008492, allocations: 94.47 kB / 0.6714 GB, free: 5.027 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.023e-05/2.027e-05, allocations: 3.984 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.2194, allocations: 106.3 MB / 0.8852 GB, free: 12.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6986/0.918, allocations: 131.3 MB / 1.013 GB, free: 6.512 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002526/0.9183, allocations: 66.84 kB / 1.014 GB, free: 6.477 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004181/0.9225, allocations: 1.353 MB / 1.015 GB, free: 5.301 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.453e-06/0.9225, allocations: 3.938 kB / 1.015 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.622e-06/0.9225, allocations: 0 / 1.015 GB, free: 5.297 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.0003115/0.9228, allocations: 333.4 kB / 1.015 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.9229, allocations: 12.03 kB / 1.015 GB, free: 4.918 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.722e-05/0.9229, allocations: 3.938 kB / 1.015 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.9231, allocations: 178.9 kB / 1.015 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.9231, allocations: 0 / 1.015 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.108e-05/0.9231, allocations: 0 / 1.015 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.425e-05/0.9232, allocations: 11.98 kB / 1.015 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.632e-05/0.9233, allocations: 41.31 kB / 1.015 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.9233, allocations: 0 / 1.015 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.9233, allocations: 3.984 kB / 1.015 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.9233, allocations: 0 / 1.015 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001598/0.9235, allocations: 137.8 kB / 1.016 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.086e-05/0.9236, allocations: 30.55 kB / 1.016 GB, free: 4.434 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.301e-05/0.9236, allocations: 12.91 kB / 1.016 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.033e-05/0.9236, allocations: 4 kB / 1.016 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.9237, allocations: 34.5 kB / 1.016 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.9237, allocations: 0 / 1.016 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0006386/0.9243, allocations: 297.7 kB / 1.016 GB, free: 4.035 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/0.9244, allocations: 51.41 kB / 1.016 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.491e-05/0.9244, allocations: 99.98 kB / 1.016 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.9245, allocations: 25.7 kB / 1.016 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.596e-05/0.9245, allocations: 88.2 kB / 1.016 GB, free: 3.754 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.176e-05/0.9245, allocations: 7.844 kB / 1.016 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.868e-06/0.9246, allocations: 0 / 1.016 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.9247, allocations: 321.9 kB / 1.016 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.309e-05/0.9247, allocations: 12 kB / 1.016 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.26e-05/0.9247, allocations: 24.95 kB / 1.017 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.158e-05/0.9248, allocations: 15.98 kB / 1.017 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.9248, allocations: 3.938 kB / 1.017 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001277/0.9249, allocations: 80.95 kB / 1.017 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.925, allocations: 4 kB / 1.017 GB, free: 3.281 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.925, allocations: 3.938 kB / 1.017 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.925, allocations: 4.062 kB / 1.017 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.546e-05/0.9251, allocations: 8 kB / 1.017 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.9251, allocations: 0 / 1.017 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.576e-05/0.9251, allocations: 4 kB / 1.017 GB, free: 3.262 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.897e-05/0.9251, allocations: 0 / 1.017 GB, free: 3.262 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 6.999e-05/0.9252, allocations: 114.1 kB / 1.017 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.079e-05/0.9252, allocations: 3.953 kB / 1.017 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001816/0.9254, allocations: 81.98 kB / 1.017 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.9254, allocations: 3.5 kB / 1.017 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.9254, allocations: 4 kB / 1.017 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.9254, allocations: 0 / 1.017 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.49e-05/0.9255, allocations: 133.2 kB / 1.017 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.9255, allocations: 0 / 1.017 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.294e-05/0.9256, allocations: 15.17 kB / 1.017 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.9256, allocations: 0 / 1.017 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-06/0.9256, allocations: 3.953 kB / 1.017 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.9256, allocations: 0 / 1.017 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.9256, allocations: 0 / 1.017 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001877/0.9258, allocations: 115.7 kB / 1.017 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.025e-05/0.9258, allocations: 81.05 kB / 1.017 GB, free: 2.648 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.9259, allocations: 0 / 1.017 GB, free: 2.648 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.762e-05/0.9259, allocations: 3.953 kB / 1.017 GB, free: 2.645 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.801e-05/0.9259, allocations: 8.25 kB / 1.017 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.577e-06/0.9259, allocations: 4 kB / 1.017 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.875e-05/0.926, allocations: 86.77 kB / 1.017 GB, free: 2.551 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.61e-07/0.926, allocations: 0 / 1.017 GB, free: 2.551 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002026/0.9262, allocations: 20 kB / 1.017 GB, free: 2.531 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.000193/0.9264, allocations: 131.2 kB / 1.017 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.514e-05/0.9265, allocations: 27.25 kB / 1.017 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.9265, allocations: 0 / 1.017 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.096e-05/0.9265, allocations: 23.91 kB / 1.017 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001081/0.9266, allocations: 7.75 kB / 1.017 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002295/0.9269, allocations: 81.95 kB / 1.018 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002353/0.9271, allocations: 0.6886 MB / 1.018 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.612e-05/0.9272, allocations: 4 kB / 1.018 GB, free: 1.52 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.626e-05/0.9272, allocations: 7.438 kB / 1.018 GB, free: 1.512 MB / 0.6355 GB Notification: Performance of SimCode: time 2.3e-07/0.9272, allocations: 0 / 1.018 GB, free: 1.512 MB / 0.6355 GB Notification: Performance of Templates: time 0.002864/0.9301, allocations: 0.8612 MB / 1.019 GB, free: 0.6719 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