Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001737/0.001737, allocations: 107.6 kB / 16.45 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002495/0.002495, allocations: 213.7 kB / 19.43 MB, free: 3.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.585/1.585, allocations: 230.6 MB / 252.8 MB, free: 8.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.907/2.907, allocations: 476.7 MB / 0.7672 GB, free: 5.227 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002142/0.002142, allocations: 71.91 kB / 1.112 GB, free: 1.535 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9816/0.9837, allocations: 169.9 MB / 1.278 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001932/0.9856, allocations: 0.5329 MB / 1.279 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0005986/0.9862, allocations: 189.2 kB / 1.279 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.343e-05/0.9863, allocations: 0 / 1.279 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.75e-05/0.9863, allocations: 4 kB / 1.279 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.893e-05/0.9863, allocations: 4 kB / 1.279 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004317/0.9868, allocations: 63.78 kB / 1.279 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.769e-05/0.9868, allocations: 4 kB / 1.279 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.653e-05/0.9869, allocations: 7.984 kB / 1.279 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.299e-05/0.9869, allocations: 7.938 kB / 1.279 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 2.718e-05/0.9869, allocations: 7.938 kB / 1.279 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.9869, allocations: 7.984 kB / 1.279 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002444/0.9872, allocations: 139.8 kB / 1.279 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.83e-05/0.9872, allocations: 7.984 kB / 1.279 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.522e-05/0.9872, allocations: 3.938 kB / 1.279 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001905/0.9874, allocations: 77.59 kB / 1.279 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.9874, allocations: 0 / 1.279 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.603e-06/0.9874, allocations: 0 / 1.279 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.212e-05/0.9875, allocations: 0 / 1.279 GB, free: 12.36 MB / 0.9825 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.0004376/0.9879, allocations: 343.4 kB / 1.28 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.9879, allocations: 8.031 kB / 1.28 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.812e-05/0.988, allocations: 30.75 kB / 1.28 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.331e-05/0.988, allocations: 12.83 kB / 1.28 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/0.9882, allocations: 164.3 kB / 1.28 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.9882, allocations: 4.375 kB / 1.28 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.659e-05/0.9882, allocations: 8.312 kB / 1.28 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001106/0.9883, allocations: 38.25 kB / 1.28 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.9883, allocations: 3.938 kB / 1.28 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.437e-06/0.9883, allocations: 0 / 1.28 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.9883, allocations: 4 kB / 1.28 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.818e-05/0.9884, allocations: 8 kB / 1.28 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002057/0.9886, allocations: 161.7 kB / 1.28 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.784e-05/0.9886, allocations: 26.61 kB / 1.28 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.872e-05/0.9887, allocations: 12.86 kB / 1.28 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.018e-05/0.9887, allocations: 7.984 kB / 1.28 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/0.9887, allocations: 34.56 kB / 1.28 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.9887, allocations: 0 / 1.28 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0007047/0.9895, allocations: 302.2 kB / 1.28 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/0.9895, allocations: 55.39 kB / 1.28 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.53e-05/0.9896, allocations: 109.8 kB / 1.281 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.9896, allocations: 25.7 kB / 1.281 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.237e-05/0.9897, allocations: 84.36 kB / 1.281 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.789e-05/0.9897, allocations: 11.95 kB / 1.281 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-05/0.9897, allocations: 17.72 kB / 1.281 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.9899, allocations: 314.8 kB / 1.281 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.404e-05/0.9899, allocations: 8 kB / 1.281 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.08e-05/0.9899, allocations: 33.73 kB / 1.281 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.629e-05/0.99, allocations: 45.64 kB / 1.281 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.99, allocations: 0 / 1.281 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001066/0.9901, allocations: 69.64 kB / 1.281 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.9901, allocations: 11.88 kB / 1.281 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.9901, allocations: 3.938 kB / 1.281 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.9901, allocations: 0 / 1.281 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.205e-05/0.9902, allocations: 8 kB / 1.281 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.9902, allocations: 0 / 1.281 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.617e-05/0.9902, allocations: 3.984 kB / 1.281 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.9902, allocations: 7.938 kB / 1.281 GB, free: 10.13 MB / 0.9825 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 9.498e-05/0.9903, allocations: 117.8 kB / 1.281 GB, free: 10 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.703e-05/0.9903, allocations: 7.938 kB / 1.281 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001534/0.9905, allocations: 73.52 kB / 1.281 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.9905, allocations: 0 / 1.281 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.9905, allocations: 0 / 1.281 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.9905, allocations: 4 kB / 1.281 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001439/0.9907, allocations: 169.6 kB / 1.282 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.9907, allocations: 0 / 1.282 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.015e-05/0.9907, allocations: 12 kB / 1.282 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.9907, allocations: 3.938 kB / 1.282 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.9907, allocations: 0 / 1.282 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.9907, allocations: 0 / 1.282 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.9907, allocations: 4 kB / 1.282 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001614/0.9909, allocations: 101.1 kB / 1.282 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.563e-05/0.9909, allocations: 85.03 kB / 1.282 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.046e-05/0.9909, allocations: 4.031 kB / 1.282 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.601e-05/0.991, allocations: 4.062 kB / 1.282 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.615e-05/0.991, allocations: 0 / 1.282 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.991, allocations: 7.938 kB / 1.282 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.751e-05/0.9911, allocations: 87.27 kB / 1.282 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.9911, allocations: 0 / 1.282 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002053/0.9913, allocations: 16 kB / 1.282 GB, free: 9.332 MB / 0.9825 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.000529/0.9918, allocations: 0.6675 MB / 1.282 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000101/0.9919, allocations: 31.92 kB / 1.283 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.9919, allocations: 0 / 1.283 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.362e-05/0.9919, allocations: 12 kB / 1.283 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001527/0.9921, allocations: 5.562 kB / 1.283 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001232/0.9933, allocations: 1.256 MB / 1.284 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003283/0.9936, allocations: 0.6846 MB / 1.284 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.232e-05/0.9937, allocations: 48 / 1.284 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.729e-05/0.9937, allocations: 23.36 kB / 1.284 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.9937, allocations: 0 / 1.284 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03139/1.025, allocations: 1.887 MB / 1.286 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.107/9.132, allocations: 5.734 kB / 1.286 GB, free: 4.758 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.csv --start-time 0 --stop-time 4 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 Buildings_11_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.fmu > Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable x in file Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.csv. Warning: Get data of variable x from file Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.csv failed! Error: Could not read variable der(x) in file Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.csv. Warning: Get data of variable der(x) from file Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.csv failed! Error: Could not read variable der(y) in file Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.csv. Warning: Get data of variable der(y) from file Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.73932975018397]