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.001654/0.001654, allocations: 108.9 kB / 16.46 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.001951/0.001951, allocations: 216.2 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.487/1.487, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.21/3.21, allocations: 0.505 GB / 0.8066 GB, free: 23.05 MB / 0.6231 GB " [Timeout remaining time 176] 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.002001/0.002001, allocations: 68.95 kB / 1.172 GB, free: 17.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.3528, allocations: 180.2 MB / 1.348 GB, free: 9.977 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001701/0.3545, allocations: 0.5329 MB / 1.348 GB, free: 9.445 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0004937/0.355, allocations: 195.8 kB / 1.348 GB, free: 9.254 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.85e-05/0.355, allocations: 4 kB / 1.348 GB, free: 9.25 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.716e-05/0.355, allocations: 0 / 1.348 GB, free: 9.25 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 3.295e-05/0.355, allocations: 3.938 kB / 1.348 GB, free: 9.246 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003796/0.3554, allocations: 63.84 kB / 1.349 GB, free: 9.184 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 5.148e-05/0.3555, allocations: 11.94 kB / 1.349 GB, free: 9.172 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.656e-05/0.3555, allocations: 0 / 1.349 GB, free: 9.172 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.046e-05/0.3555, allocations: 11.92 kB / 1.349 GB, free: 9.16 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 2.797e-05/0.3555, allocations: 11.92 kB / 1.349 GB, free: 9.148 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.021e-05/0.3556, allocations: 0 / 1.349 GB, free: 9.148 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002232/0.3558, allocations: 135.8 kB / 1.349 GB, free: 9.016 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.993e-05/0.3558, allocations: 4 kB / 1.349 GB, free: 9.012 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 1.937e-05/0.3558, allocations: 3.938 kB / 1.349 GB, free: 9.008 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001569/0.356, allocations: 79.98 kB / 1.349 GB, free: 8.93 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.356, allocations: 4 kB / 1.349 GB, free: 8.926 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.353e-06/0.356, allocations: 0 / 1.349 GB, free: 8.926 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.356, allocations: 0 / 1.349 GB, free: 8.926 MB / 1.045 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.0003735/0.3564, allocations: 343.3 kB / 1.349 GB, free: 8.539 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.3564, allocations: 11.98 kB / 1.349 GB, free: 8.527 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.025e-05/0.3565, allocations: 34.73 kB / 1.349 GB, free: 8.484 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.252e-05/0.3565, allocations: 4.938 kB / 1.349 GB, free: 8.48 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.3566, allocations: 164.3 kB / 1.349 GB, free: 8.281 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.3566, allocations: 8.312 kB / 1.349 GB, free: 8.273 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.063e-05/0.3566, allocations: 4.375 kB / 1.349 GB, free: 8.27 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001063/0.3567, allocations: 42.25 kB / 1.349 GB, free: 8.223 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.3567, allocations: 3.938 kB / 1.349 GB, free: 8.219 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.3568, allocations: 0 / 1.349 GB, free: 8.219 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.3568, allocations: 0 / 1.349 GB, free: 8.219 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.58e-05/0.3568, allocations: 11.94 kB / 1.349 GB, free: 8.207 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00017/0.357, allocations: 157.7 kB / 1.35 GB, free: 8.004 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 5.111e-05/0.357, allocations: 30.59 kB / 1.35 GB, free: 7.965 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.313e-05/0.357, allocations: 12.92 kB / 1.35 GB, free: 7.949 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.297e-05/0.3571, allocations: 4 kB / 1.35 GB, free: 7.945 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.3571, allocations: 38.55 kB / 1.35 GB, free: 7.898 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 9.31e-07/0.3571, allocations: 0 / 1.35 GB, free: 7.898 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0005395/0.3576, allocations: 298.2 kB / 1.35 GB, free: 7.555 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/0.3577, allocations: 51.62 kB / 1.35 GB, free: 7.492 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.355e-05/0.3578, allocations: 117.8 kB / 1.35 GB, free: 7.367 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.3578, allocations: 29.69 kB / 1.35 GB, free: 7.332 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.467e-05/0.3578, allocations: 84.14 kB / 1.35 GB, free: 7.246 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.458e-05/0.3578, allocations: 15.89 kB / 1.35 GB, free: 7.23 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.304e-05/0.3579, allocations: 17.72 kB / 1.35 GB, free: 7.207 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.358, allocations: 314.8 kB / 1.35 GB, free: 6.891 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.538e-05/0.358, allocations: 12 kB / 1.35 GB, free: 6.879 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.596e-05/0.3581, allocations: 29.7 kB / 1.351 GB, free: 6.844 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.167e-05/0.3581, allocations: 41.7 kB / 1.351 GB, free: 6.797 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.3581, allocations: 0 / 1.351 GB, free: 6.797 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.757e-05/0.3582, allocations: 65.77 kB / 1.351 GB, free: 6.727 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.3582, allocations: 7.938 kB / 1.351 GB, free: 6.719 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.3582, allocations: 3.938 kB / 1.351 GB, free: 6.715 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.3583, allocations: 3.984 kB / 1.351 GB, free: 6.711 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.594e-05/0.3583, allocations: 12.06 kB / 1.351 GB, free: 6.699 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.3583, allocations: 0 / 1.351 GB, free: 6.699 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.762e-05/0.3583, allocations: 8 kB / 1.351 GB, free: 6.691 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.635e-06/0.3583, allocations: 4 kB / 1.351 GB, free: 6.688 MB / 1.045 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.053e-05/0.3584, allocations: 117.8 kB / 1.351 GB, free: 6.562 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.357e-05/0.3584, allocations: 11.83 kB / 1.351 GB, free: 6.551 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001314/0.3586, allocations: 65.58 kB / 1.351 GB, free: 6.469 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.3586, allocations: 0 / 1.351 GB, free: 6.469 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.3586, allocations: 8 kB / 1.351 GB, free: 6.461 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.3586, allocations: 0 / 1.351 GB, free: 6.461 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001303/0.3587, allocations: 169.7 kB / 1.351 GB, free: 6.246 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.3587, allocations: 0 / 1.351 GB, free: 6.246 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.502e-05/0.3588, allocations: 4 kB / 1.351 GB, free: 6.242 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.3588, allocations: 3.938 kB / 1.351 GB, free: 6.238 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-06/0.3588, allocations: 0 / 1.351 GB, free: 6.238 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.3588, allocations: 4 kB / 1.351 GB, free: 6.234 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3588, allocations: 0 / 1.351 GB, free: 6.234 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001585/0.3589, allocations: 105 kB / 1.351 GB, free: 6.113 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.868e-05/0.359, allocations: 93.02 kB / 1.351 GB, free: 6.004 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.13e-05/0.359, allocations: 0 / 1.351 GB, free: 6.004 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.368e-05/0.359, allocations: 0 / 1.351 GB, free: 6.004 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.172e-05/0.359, allocations: 0 / 1.351 GB, free: 6.004 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.114e-06/0.359, allocations: 4 kB / 1.351 GB, free: 6 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.004e-05/0.3591, allocations: 87.27 kB / 1.351 GB, free: 5.914 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3591, allocations: 4 kB / 1.351 GB, free: 5.91 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002072/0.3593, allocations: 19.94 kB / 1.351 GB, free: 5.891 MB / 1.045 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.0004825/0.3598, allocations: 0.6593 MB / 1.352 GB, free: 5.203 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 9.45e-05/0.3599, allocations: 27.98 kB / 1.352 GB, free: 5.176 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3599, allocations: 0 / 1.352 GB, free: 5.176 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 2.377e-05/0.3599, allocations: 19.94 kB / 1.352 GB, free: 5.156 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001314/0.36, allocations: 192 / 1.352 GB, free: 5.156 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.3611, allocations: 1.256 MB / 1.353 GB, free: 3.812 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/0.3614, allocations: 0.6807 MB / 1.354 GB, free: 3.105 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.363e-05/0.3614, allocations: 4.141 kB / 1.354 GB, free: 3.102 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.822e-05/0.3614, allocations: 19.38 kB / 1.354 GB, free: 3.086 MB / 1.045 GB Notification: Performance of SimCode: time 3.01e-07/0.3614, allocations: 0 / 1.354 GB, free: 3.086 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02605/0.3875, allocations: 1.893 MB / 1.356 GB, free: 1.332 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.554/7.941, allocations: 10.72 kB / 1.356 GB, free: 1.324 MB / 1.045 GB " [Timeout remaining time 292] (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: 14.617860296042636]