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: "" <> buildModelFMU(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_10_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_10_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.328/1.328, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.63/2.63, allocations: 437.1 MB / 0.7104 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00237/0.00237, allocations: 67.91 kB / 0.8693 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6557/0.6581, allocations: 151.6 MB / 1.017 GB, free: 2.469 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.00199/0.6602, allocations: 0.5231 MB / 1.018 GB, free: 1.945 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0004966/0.6607, allocations: 195.3 kB / 1.018 GB, free: 1.754 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.886e-05/0.6607, allocations: 0 / 1.018 GB, free: 1.754 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.408e-05/0.6608, allocations: 0 / 1.018 GB, free: 1.754 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.452e-05/0.6608, allocations: 3.938 kB / 1.018 GB, free: 1.75 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004004/0.6612, allocations: 59.86 kB / 1.018 GB, free: 1.691 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.273e-05/0.6613, allocations: 7.984 kB / 1.018 GB, free: 1.684 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.495e-05/0.6613, allocations: 4 kB / 1.018 GB, free: 1.68 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.823e-05/0.6614, allocations: 4 kB / 1.018 GB, free: 1.676 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.134e-05/0.6614, allocations: 15.92 kB / 1.018 GB, free: 1.66 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.038e-05/0.6614, allocations: 0 / 1.018 GB, free: 1.66 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002085/0.6616, allocations: 127.8 kB / 1.018 GB, free: 1.535 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.448e-05/0.6617, allocations: 4 kB / 1.018 GB, free: 1.531 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.403e-05/0.6617, allocations: 15.94 kB / 1.018 GB, free: 1.516 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001423/0.6618, allocations: 67.83 kB / 1.018 GB, free: 1.449 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.6618, allocations: 0 / 1.018 GB, free: 1.449 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6619, allocations: 0 / 1.018 GB, free: 1.449 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.6619, allocations: 0 / 1.018 GB, free: 1.449 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.0003224/0.6622, allocations: 345.6 kB / 1.019 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.6622, allocations: 15.97 kB / 1.019 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.094e-05/0.6623, allocations: 34.69 kB / 1.019 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.405e-05/0.6623, allocations: 4.938 kB / 1.019 GB, free: 1 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.6624, allocations: 168.4 kB / 1.019 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.162e-06/0.6624, allocations: 4.375 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.968e-05/0.6624, allocations: 4.281 kB / 1.019 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.988e-05/0.6625, allocations: 42.25 kB / 1.019 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.6626, allocations: 7.875 kB / 1.019 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.103e-06/0.6626, allocations: 0 / 1.019 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.6626, allocations: 0 / 1.019 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.427e-05/0.6626, allocations: 12 kB / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001432/0.6627, allocations: 157.7 kB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 4.591e-05/0.6628, allocations: 30.53 kB / 1.019 GB, free: 492 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.842e-05/0.6628, allocations: 12.92 kB / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 3.258e-05/0.6629, allocations: 7.984 kB / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.6629, allocations: 34.56 kB / 1.019 GB, free: 424 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.6629, allocations: 4 kB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of matching and sorting (n=3): time 0.0004855/0.6634, allocations: 298.2 kB / 1.02 GB, free: 68 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.618e-05/0.6634, allocations: 55.41 kB / 1.02 GB, free: 0 / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.031e-05/0.6635, allocations: 105.8 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.6635, allocations: 29.7 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.603e-05/0.6636, allocations: 88.12 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.895e-05/0.6636, allocations: 8.125 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.041e-05/0.6636, allocations: 17.72 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.295e-05/0.6637, allocations: 314.8 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.282e-05/0.6638, allocations: 15.98 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.469e-05/0.6638, allocations: 29.64 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.498e-05/0.6639, allocations: 37.72 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.6639, allocations: 4 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.53e-05/0.664, allocations: 73.52 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.664, allocations: 7.938 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.664, allocations: 0 / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.664, allocations: 4 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.291e-05/0.6641, allocations: 8 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.6641, allocations: 0 / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.443e-05/0.6641, allocations: 0 / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-06/0.6641, allocations: 4 kB / 1.02 GB, free: 15.21 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 6.895e-05/0.6642, allocations: 121.9 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.333e-05/0.6642, allocations: 3.938 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00012/0.6643, allocations: 69.52 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.6643, allocations: 4 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.6643, allocations: 3.938 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.6644, allocations: 3.938 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001017/0.6645, allocations: 161.7 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.6645, allocations: 0 / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.67e-05/0.6645, allocations: 7.984 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.6645, allocations: 7.938 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.6645, allocations: 4 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.6646, allocations: 0 / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.6646, allocations: 0 / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001332/0.6647, allocations: 105 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.363e-05/0.6647, allocations: 85.08 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.108e-05/0.6648, allocations: 0 / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.736e-05/0.6648, allocations: 7.984 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.286e-05/0.6648, allocations: 8.062 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.6648, allocations: 0 / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.012e-05/0.6649, allocations: 87.27 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.61e-07/0.6649, allocations: 0 / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002187/0.6651, allocations: 24 kB / 1.021 GB, free: 14.42 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.0004045/0.6655, allocations: 0.6594 MB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001012/0.6656, allocations: 43.94 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.6657, allocations: 0 / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.056e-05/0.6657, allocations: 12 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001345/0.6658, allocations: 5.125 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009272/0.6668, allocations: 1.25 MB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001927/0.667, allocations: 0.6885 MB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.251e-05/0.667, allocations: 4.703 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.591e-05/0.667, allocations: 11.44 kB / 1.024 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of SimCode: time 2.8e-07/0.667, allocations: 0 / 1.024 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01957/0.6866, allocations: 1.841 MB / 1.025 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.291/7.977, allocations: 7.953 kB / 1.025 GB, free: 9.867 MB / 0.7794 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 Buildings_10_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.fmu > Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches