Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_10_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_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 107.3 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001508/0.001509, allocations: 193.8 kB / 16.26 MB, free: 6.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.659/1.659, allocations: 222.9 MB / 239.9 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.869/2.869, allocations: 437 MB / 0.7101 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001851/0.001852, allocations: 63.89 kB / 0.8687 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8738/0.8757, allocations: 151.6 MB / 1.017 GB, free: 2.695 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.002816/0.8786, allocations: 0.5933 MB / 1.017 GB, free: 2.102 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008264/0.8794, allocations: 191.4 kB / 1.018 GB, free: 1.914 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.452e-05/0.8795, allocations: 8 kB / 1.018 GB, free: 1.906 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.997e-05/0.8795, allocations: 0 / 1.018 GB, free: 1.906 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.011e-05/0.8796, allocations: 0 / 1.018 GB, free: 1.906 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006149/0.8802, allocations: 55.86 kB / 1.018 GB, free: 1.852 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.878e-05/0.8803, allocations: 11.98 kB / 1.018 GB, free: 1.84 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 6.645e-05/0.8804, allocations: 4 kB / 1.018 GB, free: 1.836 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.832e-05/0.8805, allocations: 3.984 kB / 1.018 GB, free: 1.832 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.751e-05/0.8805, allocations: 11.92 kB / 1.018 GB, free: 1.82 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.8806, allocations: 0 / 1.018 GB, free: 1.82 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003737/0.8809, allocations: 131.8 kB / 1.018 GB, free: 1.691 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 6.68e-05/0.881, allocations: 11.98 kB / 1.018 GB, free: 1.68 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.105e-05/0.8811, allocations: 3.938 kB / 1.018 GB, free: 1.676 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002551/0.8813, allocations: 75.83 kB / 1.018 GB, free: 1.602 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.8814, allocations: 0 / 1.018 GB, free: 1.602 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.946e-06/0.8814, allocations: 0 / 1.018 GB, free: 1.602 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.8814, allocations: 0 / 1.018 GB, free: 1.602 MB / 0.7637 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.0006145/0.882, allocations: 341.4 kB / 1.018 GB, free: 1.219 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.577e-05/0.8821, allocations: 8.031 kB / 1.018 GB, free: 1.211 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.403e-05/0.8822, allocations: 4.938 kB / 1.018 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002064/0.8824, allocations: 168.4 kB / 1.018 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.8824, allocations: 384 / 1.018 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.828e-05/0.8825, allocations: 8.281 kB / 1.018 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.8826, allocations: 38.25 kB / 1.018 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.8827, allocations: 4.188 kB / 1.018 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.93e-05/0.8827, allocations: 7.875 kB / 1.018 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.8827, allocations: 3.938 kB / 1.018 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.926e-05/0.8828, allocations: 8 kB / 1.018 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002778/0.8831, allocations: 157.7 kB / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 8.793e-05/0.8832, allocations: 30.56 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.108e-05/0.8833, allocations: 12.92 kB / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 5.378e-05/0.8833, allocations: 4 kB / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.355e-05/0.8834, allocations: 30.56 kB / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 1.472e-06/0.8834, allocations: 0 / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of matching and sorting (n=3): time 0.0008418/0.8842, allocations: 310.3 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.095e-05/0.8843, allocations: 55.41 kB / 1.019 GB, free: 212 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.8845, allocations: 109.8 kB / 1.019 GB, free: 92 kB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 2.578e-05/0.8845, allocations: 29.64 kB / 1.019 GB, free: 56 kB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001486/0.8847, allocations: 84.12 kB / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.971e-05/0.8847, allocations: 11.91 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.954e-05/0.8848, allocations: 13.72 kB / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002165/0.885, allocations: 318.9 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.419e-05/0.8851, allocations: 11.98 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.306e-05/0.8852, allocations: 29.7 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001085/0.8853, allocations: 33.72 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/0.8853, allocations: 0 / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002438/0.8856, allocations: 73.52 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.8856, allocations: 16 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.8856, allocations: 0 / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.8857, allocations: 0 / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.8858, allocations: 8 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/0.8858, allocations: 0 / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.515e-05/0.8858, allocations: 3.938 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/0.8859, allocations: 4 kB / 1.02 GB, free: 15.42 MB / 0.7794 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 0.000135/0.886, allocations: 113.8 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.353e-05/0.886, allocations: 7.938 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002324/0.8863, allocations: 69.58 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.8863, allocations: 0 / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.8863, allocations: 0 / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/0.8863, allocations: 0 / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000248/0.8866, allocations: 173.6 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.8866, allocations: 0 / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.174e-05/0.8867, allocations: 7.984 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.629e-05/0.8867, allocations: 8.125 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.8868, allocations: 0 / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.8868, allocations: 3.938 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.8868, allocations: 4 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002852/0.8871, allocations: 109 kB / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.056e-05/0.8872, allocations: 81.11 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.609e-05/0.8873, allocations: 7.969 kB / 1.02 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.603e-05/0.8873, allocations: 3.984 kB / 1.02 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.85e-05/0.8874, allocations: 0 / 1.02 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.8874, allocations: 4 kB / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.42e-05/0.8875, allocations: 87.33 kB / 1.02 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.51e-07/0.8875, allocations: 4 kB / 1.02 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003895/0.8879, allocations: 20 kB / 1.02 GB, free: 14.62 MB / 0.7794 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.0003077/0.8882, allocations: 115.8 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001837/0.8884, allocations: 31.92 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/0.8885, allocations: 4 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.416e-05/0.8885, allocations: 15.92 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002462/0.8888, allocations: 10.53 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004458/0.8893, allocations: 149.6 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005087/0.8898, allocations: 0.6845 MB / 1.021 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.795e-05/0.8898, allocations: 4.547 kB / 1.021 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.497e-05/0.8899, allocations: 7.438 kB / 1.021 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of SimCode: time 4.71e-07/0.8899, allocations: 0 / 1.021 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of Templates: time 0.005899/0.8958, allocations: 0.8864 MB / 1.022 GB, free: 12.66 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.makefile (rm -f Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & ./Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches