Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_9_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.004004/0.004004, allocations: 101.2 kB / 15.73 MB, free: 6.035 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.001039/0.001039, allocations: 193.2 kB / 16.67 MB, free: 5.973 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.335/1.335, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.395/2.395, allocations: 390.2 MB / 0.6648 GB, free: 232 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 67.23 kB / 0.9504 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2255/0.2268, allocations: 140.4 MB / 1.087 GB, free: 2.051 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001493/0.2284, allocations: 0.5242 MB / 1.088 GB, free: 1.527 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0004566/0.2288, allocations: 199.7 kB / 1.088 GB, free: 1.332 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.742e-05/0.2289, allocations: 0 / 1.088 GB, free: 1.332 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.126e-05/0.2289, allocations: 0 / 1.088 GB, free: 1.332 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.806e-05/0.229, allocations: 0 / 1.088 GB, free: 1.332 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003636/0.2293, allocations: 63.78 kB / 1.088 GB, free: 1.27 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 4.5e-05/0.2294, allocations: 12 kB / 1.088 GB, free: 1.258 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.507e-05/0.2294, allocations: 4 kB / 1.088 GB, free: 1.254 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.957e-05/0.2294, allocations: 11.91 kB / 1.088 GB, free: 1.242 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 2.3e-05/0.2295, allocations: 4 kB / 1.088 GB, free: 1.238 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.999e-06/0.2295, allocations: 0 / 1.088 GB, free: 1.238 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000206/0.2297, allocations: 131.8 kB / 1.088 GB, free: 1.109 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.993e-05/0.2297, allocations: 11.97 kB / 1.088 GB, free: 1.098 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.045e-05/0.2298, allocations: 3.938 kB / 1.088 GB, free: 1.094 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001545/0.2299, allocations: 71.84 kB / 1.088 GB, free: 1.023 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2299, allocations: 3.984 kB / 1.088 GB, free: 1.02 MB / 0.8419 GB Notification: Performance of FrontEnd: time 9.51e-07/0.2299, allocations: 0 / 1.088 GB, free: 1.02 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.23, allocations: 4 kB / 1.088 GB, free: 1.016 MB / 0.8419 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.0003174/0.2303, allocations: 338.3 kB / 1.089 GB, free: 0.6367 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.2303, allocations: 8.031 kB / 1.089 GB, free: 0.6289 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.993e-05/0.2304, allocations: 30.75 kB / 1.089 GB, free: 0.5898 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.883e-05/0.2304, allocations: 4.938 kB / 1.089 GB, free: 0.5859 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.993e-05/0.2305, allocations: 168.2 kB / 1.089 GB, free: 392 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.2305, allocations: 4.375 kB / 1.089 GB, free: 388 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.898e-05/0.2305, allocations: 384 / 1.089 GB, free: 388 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.71e-05/0.2306, allocations: 50.19 kB / 1.089 GB, free: 332 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.086e-06/0.2307, allocations: 3.938 kB / 1.089 GB, free: 328 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-06/0.2307, allocations: 0 / 1.089 GB, free: 328 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.2307, allocations: 0 / 1.089 GB, free: 328 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.68e-05/0.2307, allocations: 11.98 kB / 1.089 GB, free: 316 kB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001426/0.2309, allocations: 157.7 kB / 1.089 GB, free: 108 kB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 4.935e-05/0.2309, allocations: 26.61 kB / 1.089 GB, free: 72 kB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.846e-05/0.2309, allocations: 8.922 kB / 1.089 GB, free: 60 kB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.61e-05/0.231, allocations: 11.98 kB / 1.089 GB, free: 48 kB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/0.231, allocations: 42.44 kB / 1.089 GB, free: 16 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.231, allocations: 0 / 1.089 GB, free: 16 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005137/0.2316, allocations: 298.8 kB / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/0.2316, allocations: 51.41 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.532e-05/0.2317, allocations: 114 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.2317, allocations: 29.7 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.452e-05/0.2317, allocations: 88.14 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.311e-05/0.2318, allocations: 12.03 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-05/0.2318, allocations: 21.7 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.623e-05/0.2319, allocations: 310.8 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.308e-05/0.2319, allocations: 12 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.154e-05/0.232, allocations: 25.7 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.688e-05/0.232, allocations: 49.64 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.232, allocations: 0 / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.05e-05/0.2321, allocations: 61.83 kB / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.2321, allocations: 9.656 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.2322, allocations: 0 / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.2322, allocations: 3.984 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.048e-05/0.2322, allocations: 15.92 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.2323, allocations: 64 / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.535e-05/0.2323, allocations: 4 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.2323, allocations: 4 kB / 1.09 GB, free: 14.79 MB / 0.8575 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.621e-05/0.2324, allocations: 117.8 kB / 1.09 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.353e-05/0.2324, allocations: 7.844 kB / 1.09 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001259/0.2325, allocations: 65.58 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.2325, allocations: 4 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.2325, allocations: 4 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.2325, allocations: 0 / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001066/0.2327, allocations: 173.6 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.2327, allocations: 0 / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.793e-05/0.2327, allocations: 7.938 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.2327, allocations: 3.938 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.2327, allocations: 8 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.2327, allocations: 0 / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2328, allocations: 0 / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001394/0.2329, allocations: 101.1 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.07e-05/0.2329, allocations: 89.14 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.141e-05/0.233, allocations: 0 / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.505e-05/0.233, allocations: 0 / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.611e-05/0.233, allocations: 4 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.698e-06/0.233, allocations: 0 / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.686e-05/0.2331, allocations: 91.27 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2331, allocations: 3.938 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002205/0.2333, allocations: 16 kB / 1.091 GB, free: 14 MB / 0.8575 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.0004231/0.2337, allocations: 0.6689 MB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.175e-05/0.2339, allocations: 31.92 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2339, allocations: 0 / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.145e-05/0.2339, allocations: 15.98 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001504/0.234, allocations: 8 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009452/0.235, allocations: 1.248 MB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001957/0.2352, allocations: 0.6807 MB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.669e-05/0.2352, allocations: 7.984 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.648e-05/0.2353, allocations: 11.44 kB / 1.094 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of SimCode: time 2.31e-07/0.2353, allocations: 0 / 1.094 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01765/0.2529, allocations: 1.877 MB / 1.095 GB, free: 9.449 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.412/7.665, allocations: 9.562 kB / 1.095 GB, free: 9.441 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.fmu > Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches