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.0008465/0.0008465, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0009084/0.0009084, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.946/0.946, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.702/1.702, allocations: 359 MB / 0.6037 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 2.464e-06/2.464e-06, allocations: 3.938 kB / 0.9505 GB, free: 3.512 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.04e-05/3.286e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.508 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001914/0.001947, allocations: 0.5253 MB / 0.951 GB, free: 2.977 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0005545/0.002501, allocations: 183.3 kB / 0.9512 GB, free: 2.797 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.434e-05/0.002526, allocations: 0 / 0.9512 GB, free: 2.797 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.689e-05/0.002562, allocations: 0 / 0.9512 GB, free: 2.797 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.642e-05/0.002609, allocations: 3.938 kB / 0.9512 GB, free: 2.793 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004693/0.003078, allocations: 63.77 kB / 0.9512 GB, free: 2.73 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.54e-05/0.003144, allocations: 12 kB / 0.9512 GB, free: 2.719 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.782e-05/0.003191, allocations: 7.938 kB / 0.9512 GB, free: 2.711 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 4.228e-05/0.003234, allocations: 11.97 kB / 0.9513 GB, free: 2.699 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.162e-05/0.003265, allocations: 0 / 0.9513 GB, free: 2.699 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.003281, allocations: 0 / 0.9513 GB, free: 2.699 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002659/0.003547, allocations: 159.7 kB / 0.9514 GB, free: 2.543 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 4.715e-05/0.003595, allocations: 3.984 kB / 0.9514 GB, free: 2.539 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.266e-05/0.003617, allocations: 15.86 kB / 0.9514 GB, free: 2.523 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001747/0.003792, allocations: 83.81 kB / 0.9515 GB, free: 2.441 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.003795, allocations: 0 / 0.9515 GB, free: 2.441 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.433e-06/0.003797, allocations: 0 / 0.9515 GB, free: 2.441 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.003801, allocations: 4 kB / 0.9515 GB, free: 2.438 MB / 0.9011 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.0003387/0.00414, allocations: 266.2 kB / 0.9518 GB, free: 2.145 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.004189, allocations: 12.03 kB / 0.9518 GB, free: 2.133 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.512e-05/0.004224, allocations: 30.75 kB / 0.9518 GB, free: 2.094 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.631e-05/0.00425, allocations: 0.9375 kB / 0.9518 GB, free: 2.094 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.703e-05/0.004347, allocations: 117.7 kB / 0.9519 GB, free: 1.953 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.004359, allocations: 384 / 0.9519 GB, free: 1.953 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.483e-05/0.004384, allocations: 4.375 kB / 0.9519 GB, free: 1.949 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.004508, allocations: 59.97 kB / 0.952 GB, free: 1.879 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.004518, allocations: 4.188 kB / 0.952 GB, free: 1.875 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.004527, allocations: 384 / 0.952 GB, free: 1.875 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.004534, allocations: 12.06 kB / 0.952 GB, free: 1.863 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.971e-05/0.004563, allocations: 15.92 kB / 0.952 GB, free: 1.848 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001733/0.004737, allocations: 128.8 kB / 0.9521 GB, free: 1.68 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 6.304e-05/0.0048, allocations: 22.61 kB / 0.9522 GB, free: 1.648 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.488e-05/0.004824, allocations: 16.91 kB / 0.9522 GB, free: 1.629 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 5.06e-05/0.004875, allocations: 4 kB / 0.9522 GB, free: 1.625 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.004903, allocations: 34.56 kB / 0.9522 GB, free: 1.582 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 1.352e-06/0.004904, allocations: 0 / 0.9522 GB, free: 1.582 MB / 0.9011 GB Notification: Performance of matching and sorting (n=3): time 0.0006064/0.00551, allocations: 221.3 kB / 0.9524 GB, free: 1.332 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.005549, allocations: 59.41 kB / 0.9525 GB, free: 1.262 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.998e-05/0.005629, allocations: 105.8 kB / 0.9526 GB, free: 1.148 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.005645, allocations: 33.64 kB / 0.9526 GB, free: 1.109 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.084e-05/0.005685, allocations: 80.14 kB / 0.9527 GB, free: 1.027 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.985e-05/0.005715, allocations: 11.91 kB / 0.9527 GB, free: 1.016 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-05/0.005748, allocations: 17.7 kB / 0.9527 GB, free: 0.9922 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.00586, allocations: 318.8 kB / 0.953 GB, free: 0.6719 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.13e-05/0.005881, allocations: 8 kB / 0.953 GB, free: 0.6641 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.647e-05/0.005918, allocations: 29.7 kB / 0.953 GB, free: 0.6289 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.893e-05/0.005977, allocations: 45.73 kB / 0.9531 GB, free: 0.5781 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.005978, allocations: 0 / 0.9531 GB, free: 0.5781 MB / 0.9011 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.629e-05/0.006074, allocations: 65.62 kB / 0.9532 GB, free: 0.5078 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.006093, allocations: 10.34 kB / 0.9532 GB, free: 0.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/0.0061, allocations: 0 / 0.9532 GB, free: 0.5 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.006117, allocations: 3.938 kB / 0.9532 GB, free: 0.4961 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.814e-05/0.006185, allocations: 12.12 kB / 0.9532 GB, free: 496 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.006191, allocations: 0 / 0.9532 GB, free: 496 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.399e-05/0.006205, allocations: 0 / 0.9532 GB, free: 496 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.006212, allocations: 8.062 kB / 0.9532 GB, free: 488 kB / 0.9011 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.567e-05/0.006288, allocations: 117.8 kB / 0.9533 GB, free: 360 kB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.215e-05/0.0063, allocations: 11.94 kB / 0.9533 GB, free: 348 kB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001367/0.006437, allocations: 69.92 kB / 0.9534 GB, free: 264 kB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.00644, allocations: 3.938 kB / 0.9534 GB, free: 260 kB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.064e-06/0.006447, allocations: 7.938 kB / 0.9534 GB, free: 252 kB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.006452, allocations: 0 / 0.9534 GB, free: 252 kB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001075/0.006559, allocations: 140.7 kB / 0.9535 GB, free: 68 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.00656, allocations: 0 / 0.9535 GB, free: 68 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.263e-05/0.006613, allocations: 7.984 kB / 0.9535 GB, free: 60 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.006616, allocations: 4 kB / 0.9535 GB, free: 56 kB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.006623, allocations: 0 / 0.9535 GB, free: 56 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.006626, allocations: 7.938 kB / 0.9535 GB, free: 48 kB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.006627, allocations: 0 / 0.9535 GB, free: 48 kB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001639/0.006791, allocations: 105.1 kB / 0.9536 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.206e-06/0.006799, allocations: 3.953 kB / 0.9536 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.006812, allocations: 0 / 0.9536 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.921e-05/0.006861, allocations: 11.92 kB / 0.9537 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.404e-05/0.006875, allocations: 4 kB / 0.9537 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.006881, allocations: 0 / 0.9537 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.102e-05/0.006922, allocations: 95.31 kB / 0.9538 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.006922, allocations: 0 / 0.9538 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002343/0.007156, allocations: 20 kB / 0.9538 GB, free: 15.79 MB / 0.9167 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.0004594/0.007615, allocations: 0.6553 MB / 0.9544 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001037/0.007719, allocations: 31.97 kB / 0.9544 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.007721, allocations: 0 / 0.9544 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.787e-05/0.007739, allocations: 12 kB / 0.9545 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001755/0.007915, allocations: 11.88 kB / 0.9545 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.009121, allocations: 1.256 MB / 0.9557 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.562e-05/0.009177, allocations: 67.25 kB / 0.9558 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.176e-05/0.009208, allocations: 8 kB / 0.9558 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.713e-05/0.009245, allocations: 16.48 kB / 0.9558 GB, free: 13.6 MB / 0.9167 GB Notification: Performance of SimCode: time 6.71e-07/0.009246, allocations: 0 / 0.9558 GB, free: 13.6 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02179/0.03104, allocations: 2.519 MB / 0.9582 GB, free: 11.22 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.531/7.562, allocations: 8.641 kB / 0.9582 GB, free: 11.22 MB / 0.9167 GB " [Timeout remaining time 292] (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/jenkins/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: 11.954918311908841]