Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00126/0.00126, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001607/0.001607, allocations: 209.6 kB / 22.24 MB, free: 4.859 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.403/1.403, allocations: 230.6 MB / 256 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.095/3.095, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_latest_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.001912/0.001912, allocations: 71.52 kB / 1.186 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3033/0.3052, allocations: 181.9 MB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001562/0.3068, allocations: 0.5322 MB / 1.364 GB, free: 13.53 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0004833/0.3073, allocations: 183.8 kB / 1.364 GB, free: 13.35 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.957e-05/0.3073, allocations: 3.938 kB / 1.364 GB, free: 13.35 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.977e-05/0.3073, allocations: 0 / 1.364 GB, free: 13.35 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.302e-05/0.3074, allocations: 0 / 1.364 GB, free: 13.35 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003593/0.3077, allocations: 71.77 kB / 1.364 GB, free: 13.28 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 4.876e-05/0.3078, allocations: 12 kB / 1.364 GB, free: 13.27 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.139e-05/0.3078, allocations: 0 / 1.364 GB, free: 13.27 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.656e-05/0.3078, allocations: 8 kB / 1.364 GB, free: 13.26 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 2.825e-05/0.3078, allocations: 11.91 kB / 1.364 GB, free: 13.25 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.899e-06/0.3078, allocations: 0 / 1.364 GB, free: 13.25 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002861/0.3081, allocations: 159.7 kB / 1.364 GB, free: 13.09 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.31e-05/0.3082, allocations: 7.938 kB / 1.364 GB, free: 13.08 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.836e-05/0.3082, allocations: 7.938 kB / 1.364 GB, free: 13.07 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001535/0.3083, allocations: 72.05 kB / 1.364 GB, free: 13 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.3083, allocations: 0 / 1.364 GB, free: 13 MB / 1.061 GB Notification: Performance of FrontEnd: time 4.639e-06/0.3083, allocations: 4 kB / 1.364 GB, free: 13 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.3084, allocations: 0 / 1.364 GB, free: 13 MB / 1.061 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.0003246/0.3087, allocations: 262.2 kB / 1.365 GB, free: 12.71 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.3087, allocations: 12.03 kB / 1.365 GB, free: 12.7 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.701e-05/0.3087, allocations: 30.75 kB / 1.365 GB, free: 12.66 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.416e-05/0.3088, allocations: 4.938 kB / 1.365 GB, free: 12.66 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.3089, allocations: 114.5 kB / 1.365 GB, free: 12.52 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.3089, allocations: 4.375 kB / 1.365 GB, free: 12.52 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/0.3089, allocations: 384 / 1.365 GB, free: 12.52 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.309, allocations: 63.97 kB / 1.365 GB, free: 12.44 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.309, allocations: 7.875 kB / 1.365 GB, free: 12.43 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.532e-06/0.309, allocations: 0 / 1.365 GB, free: 12.43 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-06/0.309, allocations: 0 / 1.365 GB, free: 12.43 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.59e-05/0.3091, allocations: 15.98 kB / 1.365 GB, free: 12.42 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001598/0.3092, allocations: 132.8 kB / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.17e-05/0.3093, allocations: 22.58 kB / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.173e-05/0.3093, allocations: 12.92 kB / 1.365 GB, free: 12.2 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.345e-05/0.3093, allocations: 7.984 kB / 1.365 GB, free: 12.19 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.3094, allocations: 30.56 kB / 1.365 GB, free: 12.15 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.3094, allocations: 0 / 1.365 GB, free: 12.15 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0004772/0.3098, allocations: 233 kB / 1.365 GB, free: 11.89 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.3099, allocations: 55.62 kB / 1.365 GB, free: 11.82 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.47e-05/0.31, allocations: 109.8 kB / 1.365 GB, free: 11.71 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.31, allocations: 25.7 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.415e-05/0.31, allocations: 84.14 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.801e-05/0.3101, allocations: 11.91 kB / 1.366 GB, free: 11.58 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-05/0.3101, allocations: 21.7 kB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.3102, allocations: 310.8 kB / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.162e-05/0.3102, allocations: 8 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.481e-05/0.3103, allocations: 33.64 kB / 1.366 GB, free: 11.19 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.006e-05/0.3103, allocations: 45.7 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.3103, allocations: 3.938 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001021/0.3104, allocations: 61.69 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.3104, allocations: 7.938 kB / 1.366 GB, free: 11.06 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.3105, allocations: 0 / 1.366 GB, free: 11.06 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.3105, allocations: 4 kB / 1.366 GB, free: 11.06 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.101e-05/0.3105, allocations: 11.98 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.3105, allocations: 7.875 kB / 1.366 GB, free: 11.04 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.503e-05/0.3105, allocations: 0 / 1.366 GB, free: 11.04 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.3106, allocations: 4 kB / 1.366 GB, free: 11.04 MB / 1.061 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 7.702e-05/0.3106, allocations: 117.9 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.317e-05/0.3106, allocations: 7.891 kB / 1.366 GB, free: 10.9 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001342/0.3108, allocations: 69.67 kB / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.3108, allocations: 0 / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.175e-06/0.3108, allocations: 0 / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.3108, allocations: 192 / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001148/0.3109, allocations: 132.8 kB / 1.366 GB, free: 10.64 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3109, allocations: 0 / 1.366 GB, free: 10.64 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.496e-05/0.311, allocations: 15.97 kB / 1.366 GB, free: 10.63 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.311, allocations: 7.938 kB / 1.366 GB, free: 10.62 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5e-06/0.311, allocations: 7.938 kB / 1.366 GB, free: 10.61 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.311, allocations: 0 / 1.366 GB, free: 10.61 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.311, allocations: 0 / 1.366 GB, free: 10.61 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001446/0.3111, allocations: 101.1 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.618e-06/0.3111, allocations: 7.891 kB / 1.367 GB, free: 10.49 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.261e-05/0.3111, allocations: 4.031 kB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.335e-05/0.3112, allocations: 3.984 kB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.207e-06/0.3112, allocations: 0 / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.662e-06/0.3112, allocations: 4 kB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.858e-05/0.3113, allocations: 87.27 kB / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3113, allocations: 0 / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001944/0.3114, allocations: 24 kB / 1.367 GB, free: 10.37 MB / 1.061 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.0004954/0.3119, allocations: 0.6592 MB / 1.367 GB, free: 9.68 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.595e-05/0.312, allocations: 35.91 kB / 1.367 GB, free: 9.645 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.312, allocations: 0 / 1.367 GB, free: 9.645 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.261e-05/0.3121, allocations: 15.94 kB / 1.367 GB, free: 9.629 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001376/0.3122, allocations: 9.312 kB / 1.367 GB, free: 9.621 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.3133, allocations: 1.243 MB / 1.369 GB, free: 8.293 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.9e-05/0.3133, allocations: 75.53 kB / 1.369 GB, free: 8.199 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.098e-05/0.3134, allocations: 0.7031 kB / 1.369 GB, free: 8.199 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.875e-05/0.3134, allocations: 15.44 kB / 1.369 GB, free: 8.184 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.3134, allocations: 0 / 1.369 GB, free: 8.184 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0301/0.3435, allocations: 2.372 MB / 1.371 GB, free: 5.953 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.19/10.54, allocations: 5.656 kB / 1.371 GB, free: 5.949 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.csv --start-time 0 --stop-time 4 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 Buildings_latest_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.fmu > Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.csv. Warning: Get data of variable x from file Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.csv failed! Error: Could not read variable der(x) in file Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.csv. Warning: Get data of variable der(x) from file Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.csv failed! Error: Could not read variable der(y) in file Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.csv. Warning: Get data of variable der(y) from file Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.943569660186768]