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.001821/0.001821, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002185/0.002185, allocations: 193.7 kB / 16.14 MB, free: 6.629 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.566/1.566, allocations: 222.9 MB / 239.8 MB, free: 4.598 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.843/2.843, allocations: 437 MB / 0.71 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 67.89 kB / 0.8686 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8024/0.8044, allocations: 151.6 MB / 1.017 GB, free: 2.816 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.00262/0.807, allocations: 0.5894 MB / 1.017 GB, free: 2.227 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007526/0.8078, allocations: 199.4 kB / 1.017 GB, free: 2.031 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.699e-05/0.8079, allocations: 0 / 1.017 GB, free: 2.031 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.296e-05/0.8079, allocations: 3.938 kB / 1.017 GB, free: 2.027 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.335e-05/0.808, allocations: 4 kB / 1.017 GB, free: 2.023 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000442/0.8085, allocations: 39.88 kB / 1.017 GB, free: 1.984 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.497e-05/0.8086, allocations: 23.92 kB / 1.017 GB, free: 1.961 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.767e-05/0.8086, allocations: 3.984 kB / 1.017 GB, free: 1.957 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.671e-05/0.8087, allocations: 11.94 kB / 1.017 GB, free: 1.945 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.627e-05/0.8087, allocations: 0 / 1.017 GB, free: 1.945 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.8088, allocations: 4 kB / 1.017 GB, free: 1.941 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002564/0.809, allocations: 115.8 kB / 1.018 GB, free: 1.828 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 6.698e-05/0.8091, allocations: 8 kB / 1.018 GB, free: 1.82 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.756e-05/0.8091, allocations: 7.938 kB / 1.018 GB, free: 1.812 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002214/0.8094, allocations: 71.77 kB / 1.018 GB, free: 1.742 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 1.092e-05/0.8094, allocations: 4 kB / 1.018 GB, free: 1.738 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.452e-06/0.8094, allocations: 0 / 1.018 GB, free: 1.738 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.258e-05/0.8094, allocations: 0 / 1.018 GB, free: 1.738 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.0005613/0.81, allocations: 345.4 kB / 1.018 GB, free: 1.352 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.658e-05/0.81, allocations: 8.031 kB / 1.018 GB, free: 1.344 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.456e-05/0.8101, allocations: 0.9375 kB / 1.018 GB, free: 1.344 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002123/0.8103, allocations: 176.3 kB / 1.018 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.8103, allocations: 384 / 1.018 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.212e-05/0.8104, allocations: 4.375 kB / 1.018 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.8105, allocations: 30.27 kB / 1.018 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.8105, allocations: 4.125 kB / 1.018 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.866e-05/0.8106, allocations: 7.938 kB / 1.018 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.8106, allocations: 4 kB / 1.018 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.05e-05/0.8106, allocations: 15.92 kB / 1.018 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002831/0.8109, allocations: 161.7 kB / 1.018 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 8.367e-05/0.811, allocations: 26.52 kB / 1.018 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.136e-05/0.8111, allocations: 12.91 kB / 1.018 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 5.549e-05/0.8111, allocations: 4 kB / 1.018 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.347e-05/0.8112, allocations: 34.56 kB / 1.018 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.8112, allocations: 0 / 1.018 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of matching and sorting (n=3): time 0.000823/0.812, allocations: 306.2 kB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.174e-05/0.8121, allocations: 51.41 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.8122, allocations: 117.8 kB / 1.019 GB, free: 224 kB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.8122, allocations: 25.7 kB / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 7.265e-05/0.8123, allocations: 84.36 kB / 1.019 GB, free: 104 kB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 3.621e-05/0.8124, allocations: 15.89 kB / 1.019 GB, free: 88 kB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.536e-05/0.8124, allocations: 13.72 kB / 1.019 GB, free: 68 kB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0002084/0.8126, allocations: 314.8 kB / 1.019 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.17e-05/0.8127, allocations: 15.98 kB / 1.019 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.223e-05/0.8127, allocations: 21.72 kB / 1.019 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.16e-05/0.8128, allocations: 41.7 kB / 1.019 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.8128, allocations: 0 / 1.019 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001225/0.8129, allocations: 73.53 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.608e-05/0.813, allocations: 17.8 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.813, allocations: 0 / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/0.813, allocations: 0 / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.707e-05/0.8131, allocations: 8 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.8131, allocations: 0 / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.775e-05/0.8131, allocations: 0 / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.8131, allocations: 0 / 1.02 GB, free: 15.56 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.0001053/0.8132, allocations: 117.8 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.585e-05/0.8133, allocations: 7.938 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001676/0.8134, allocations: 69.58 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.8134, allocations: 3.984 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.8135, allocations: 3.938 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.8135, allocations: 0 / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001876/0.8137, allocations: 161.7 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.8137, allocations: 4 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.48e-05/0.8137, allocations: 8 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.8138, allocations: 7.938 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.8138, allocations: 3.984 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.8138, allocations: 0 / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.8138, allocations: 0 / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001908/0.814, allocations: 113.1 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.913e-05/0.814, allocations: 77.11 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.8141, allocations: 3.938 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.734e-05/0.8141, allocations: 4.094 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.253e-05/0.8141, allocations: 11.92 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.8142, allocations: 0 / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.706e-05/0.8142, allocations: 87.28 kB / 1.02 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8142, allocations: 0 / 1.02 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002333/0.8145, allocations: 23.98 kB / 1.02 GB, free: 14.76 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.000239/0.8147, allocations: 115.8 kB / 1.02 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001126/0.8148, allocations: 31.92 kB / 1.02 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.8149, allocations: 4.125 kB / 1.02 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.213e-05/0.8149, allocations: 16 kB / 1.02 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001711/0.8151, allocations: 11.98 kB / 1.02 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000309/0.8154, allocations: 139.1 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003427/0.8157, allocations: 0.6848 MB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.013e-05/0.8158, allocations: 4.547 kB / 1.021 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.76e-05/0.8158, allocations: 11.44 kB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of SimCode: time 4.91e-07/0.8158, allocations: 0 / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of Templates: time 0.003588/0.8194, allocations: 0.8785 MB / 1.022 GB, free: 12.8 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