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.007149/0.007149, allocations: 100.3 kB / 15.73 MB, free: 6.012 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.001839/0.001839, allocations: 190.1 kB / 16.67 MB, free: 5.934 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.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.571/2.571, allocations: 437 MB / 0.7105 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 67.83 kB / 1.018 GB, free: 9.891 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7033/0.7052, allocations: 151.6 MB / 1.166 GB, free: 3.746 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001584/0.7068, allocations: 0.5134 MB / 1.167 GB, free: 3.234 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0004848/0.7073, allocations: 197.3 kB / 1.167 GB, free: 3.043 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.758e-05/0.7073, allocations: 0 / 1.167 GB, free: 3.043 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.45e-05/0.7074, allocations: 3.938 kB / 1.167 GB, free: 3.039 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.871e-05/0.7074, allocations: 0 / 1.167 GB, free: 3.039 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003586/0.7078, allocations: 59.84 kB / 1.167 GB, free: 2.98 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 5.016e-05/0.7078, allocations: 15.94 kB / 1.167 GB, free: 2.965 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.642e-05/0.7079, allocations: 7.984 kB / 1.167 GB, free: 2.957 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.81e-05/0.7079, allocations: 3.984 kB / 1.167 GB, free: 2.953 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 2.273e-05/0.7079, allocations: 7.938 kB / 1.167 GB, free: 2.945 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.067e-05/0.7079, allocations: 0 / 1.167 GB, free: 2.945 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000237/0.7082, allocations: 131.8 kB / 1.167 GB, free: 2.816 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.255e-05/0.7082, allocations: 11.98 kB / 1.167 GB, free: 2.805 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.331e-05/0.7083, allocations: 7.938 kB / 1.167 GB, free: 2.797 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001641/0.7084, allocations: 78.38 kB / 1.167 GB, free: 2.723 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.7085, allocations: 0 / 1.167 GB, free: 2.723 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.463e-06/0.7085, allocations: 0 / 1.167 GB, free: 2.723 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.7085, allocations: 4 kB / 1.167 GB, free: 2.719 MB / 0.8887 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.0003794/0.7089, allocations: 344.3 kB / 1.167 GB, free: 2.332 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.7089, allocations: 8.922 kB / 1.167 GB, free: 2.324 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.667e-05/0.7089, allocations: 30.75 kB / 1.168 GB, free: 2.285 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.388e-05/0.709, allocations: 4.938 kB / 1.168 GB, free: 2.281 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.7091, allocations: 172.3 kB / 1.168 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.7091, allocations: 4.359 kB / 1.168 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.928e-05/0.7091, allocations: 384 / 1.168 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.7092, allocations: 38.27 kB / 1.168 GB, free: 2.027 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.7093, allocations: 7.938 kB / 1.168 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-06/0.7093, allocations: 3.938 kB / 1.168 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.7093, allocations: 0 / 1.168 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.842e-05/0.7093, allocations: 15.92 kB / 1.168 GB, free: 2 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001754/0.7095, allocations: 161.7 kB / 1.168 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 5.313e-05/0.7096, allocations: 22.61 kB / 1.168 GB, free: 1.762 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.806e-05/0.7096, allocations: 20.91 kB / 1.168 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.159e-05/0.7096, allocations: 4 kB / 1.168 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.7097, allocations: 34.56 kB / 1.168 GB, free: 1.691 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.7097, allocations: 0 / 1.168 GB, free: 1.691 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.000554/0.7102, allocations: 294.3 kB / 1.168 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.7103, allocations: 59.41 kB / 1.168 GB, free: 1.281 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.881e-05/0.7104, allocations: 110 kB / 1.168 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.7104, allocations: 29.7 kB / 1.168 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.794e-05/0.7105, allocations: 84.14 kB / 1.169 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.639e-05/0.7105, allocations: 19.88 kB / 1.169 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.43e-05/0.7105, allocations: 13.72 kB / 1.169 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.7107, allocations: 314.8 kB / 1.169 GB, free: 0.6875 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.682e-05/0.7107, allocations: 15.98 kB / 1.169 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.56e-05/0.7107, allocations: 21.72 kB / 1.169 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.311e-05/0.7108, allocations: 45.7 kB / 1.169 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.7108, allocations: 0 / 1.169 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001187/0.7109, allocations: 65.62 kB / 1.169 GB, free: 0.5234 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.711, allocations: 7.938 kB / 1.169 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.711, allocations: 3.984 kB / 1.169 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.711, allocations: 4 kB / 1.169 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.51e-05/0.711, allocations: 4 kB / 1.169 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.7111, allocations: 64 / 1.169 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.687e-05/0.7111, allocations: 8 kB / 1.169 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-06/0.7111, allocations: 0 / 1.169 GB, free: 0.4961 MB / 0.8887 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 8.647e-05/0.7112, allocations: 127.8 kB / 1.169 GB, free: 372 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.519e-05/0.7112, allocations: 7.891 kB / 1.169 GB, free: 364 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001362/0.7113, allocations: 69.72 kB / 1.169 GB, free: 280 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.7114, allocations: 4.031 kB / 1.169 GB, free: 276 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.7114, allocations: 0 / 1.169 GB, free: 276 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.7114, allocations: 7.922 kB / 1.169 GB, free: 268 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001313/0.7115, allocations: 165.7 kB / 1.169 GB, free: 52 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.7115, allocations: 0 / 1.169 GB, free: 52 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.663e-05/0.7116, allocations: 4 kB / 1.169 GB, free: 48 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.7116, allocations: 3.938 kB / 1.169 GB, free: 44 kB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-06/0.7116, allocations: 4 kB / 1.169 GB, free: 40 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.7116, allocations: 3.984 kB / 1.169 GB, free: 36 kB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.7116, allocations: 0 / 1.169 GB, free: 36 kB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001728/0.7118, allocations: 101.2 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.597e-05/0.7118, allocations: 93.06 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.7119, allocations: 4 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.667e-05/0.7119, allocations: 4 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.777e-05/0.7119, allocations: 7.984 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.712, allocations: 0 / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.511e-05/0.712, allocations: 87.28 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.31e-07/0.712, allocations: 0 / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002132/0.7122, allocations: 19.98 kB / 1.17 GB, free: 15.68 MB / 0.9044 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.0004988/0.7127, allocations: 0.6605 MB / 1.17 GB, free: 15 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001036/0.7129, allocations: 31.98 kB / 1.17 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.7129, allocations: 0 / 1.17 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 2.578e-05/0.7129, allocations: 19.92 kB / 1.17 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001415/0.7131, allocations: 4.562 kB / 1.17 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.7142, allocations: 1.247 MB / 1.172 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/0.7145, allocations: 0.6885 MB / 1.172 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.573e-05/0.7145, allocations: 4 kB / 1.172 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.647e-05/0.7146, allocations: 7.438 kB / 1.172 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of SimCode: time 2.51e-07/0.7146, allocations: 0 / 1.172 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02425/0.7388, allocations: 1.888 MB / 1.174 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.07/8.808, allocations: 13.45 kB / 1.174 GB, free: 11.13 MB / 0.9044 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