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.000782/0.000782, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0007314/0.0007314, 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.8882/0.8882, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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 1.732/1.732, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 0.9996 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.031e-05/2.241e-05, allocations: 8.953 kB / 0.9996 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001179/0.001201, allocations: 0.5207 MB / 1 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0003806/0.001582, allocations: 179.3 kB / 1 GB, free: 12.82 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.973e-05/0.001602, allocations: 4 kB / 1 GB, free: 12.82 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.833e-05/0.00163, allocations: 7.938 kB / 1 GB, free: 12.81 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.175e-05/0.001672, allocations: 3.938 kB / 1 GB, free: 12.81 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000383/0.002055, allocations: 63.78 kB / 1 GB, free: 12.75 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 5.351e-05/0.002108, allocations: 11.92 kB / 1 GB, free: 12.73 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.722e-05/0.002146, allocations: 4 kB / 1 GB, free: 12.73 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.372e-05/0.002179, allocations: 11.98 kB / 1 GB, free: 12.72 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 2.515e-05/0.002204, allocations: 3.984 kB / 1 GB, free: 12.71 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.002218, allocations: 0 / 1 GB, free: 12.71 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001834/0.002401, allocations: 155.6 kB / 1.001 GB, free: 12.56 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.283e-05/0.002444, allocations: 15.91 kB / 1.001 GB, free: 12.55 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.519e-05/0.002459, allocations: 8 kB / 1.001 GB, free: 12.54 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001369/0.002596, allocations: 79.81 kB / 1.001 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.002598, allocations: 0 / 1.001 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.21e-07/0.002599, allocations: 0 / 1.001 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.487e-06/0.002603, allocations: 0 / 1.001 GB, free: 12.46 MB / 0.9636 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.0002593/0.002862, allocations: 258.3 kB / 1.001 GB, free: 12.18 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.002909, allocations: 16.73 kB / 1.001 GB, free: 12.16 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.028e-05/0.002939, allocations: 30.75 kB / 1.001 GB, free: 12.12 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.202e-05/0.002961, allocations: 4.891 kB / 1.001 GB, free: 12.12 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.854e-05/0.00304, allocations: 117.7 kB / 1.001 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.003049, allocations: 4.375 kB / 1.001 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.003067, allocations: 4.375 kB / 1.001 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.747e-05/0.003165, allocations: 59.95 kB / 1.001 GB, free: 11.9 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.003172, allocations: 4.188 kB / 1.001 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.713e-06/0.003179, allocations: 384 / 1.001 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.003185, allocations: 4.125 kB / 1.001 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.376e-05/0.003209, allocations: 15.94 kB / 1.001 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001436/0.003353, allocations: 128.8 kB / 1.001 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 5.249e-05/0.003405, allocations: 26.56 kB / 1.001 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.08e-05/0.003426, allocations: 8.922 kB / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 4.203e-05/0.003468, allocations: 8 kB / 1.001 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.003493, allocations: 38.56 kB / 1.001 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.003494, allocations: 0 / 1.001 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0004771/0.003971, allocations: 225.1 kB / 1.002 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.786e-05/0.003999, allocations: 55.41 kB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.062e-05/0.00408, allocations: 113.8 kB / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.007e-06/0.004089, allocations: 25.7 kB / 1.002 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.11e-05/0.00412, allocations: 88.14 kB / 1.002 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.998e-05/0.00414, allocations: 8.156 kB / 1.002 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.633e-05/0.004166, allocations: 21.72 kB / 1.002 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.004281, allocations: 314.8 kB / 1.002 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.835e-05/0.004299, allocations: 19.92 kB / 1.002 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.449e-05/0.004324, allocations: 21.72 kB / 1.002 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.321e-05/0.004367, allocations: 37.7 kB / 1.002 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.004368, allocations: 0 / 1.002 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.934e-05/0.004437, allocations: 77.56 kB / 1.002 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.004451, allocations: 8 kB / 1.002 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.004456, allocations: 4.062 kB / 1.002 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.00447, allocations: 3.938 kB / 1.002 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.913e-05/0.004519, allocations: 8 kB / 1.002 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.004523, allocations: 0 / 1.002 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.796e-06/0.004532, allocations: 0 / 1.002 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.004539, allocations: 4 kB / 1.002 GB, free: 10.49 MB / 0.9636 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 5.765e-05/0.004597, allocations: 117.7 kB / 1.002 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.945e-06/0.004605, allocations: 7.984 kB / 1.002 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.874e-05/0.004704, allocations: 73.61 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.004706, allocations: 4.125 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.00471, allocations: 4 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.004714, allocations: 7.984 kB / 1.003 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.786e-05/0.004792, allocations: 136.7 kB / 1.003 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-07/0.004793, allocations: 0 / 1.003 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.484e-05/0.004828, allocations: 4 kB / 1.003 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.004829, allocations: 0 / 1.003 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.47e-06/0.004834, allocations: 0 / 1.003 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.004837, allocations: 7.938 kB / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.004838, allocations: 0 / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001053/0.004943, allocations: 109 kB / 1.003 GB, free: 9.945 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5.009e-06/0.004948, allocations: 4 kB / 1.003 GB, free: 9.941 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.705e-06/0.004956, allocations: 4.062 kB / 1.003 GB, free: 9.938 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.823e-05/0.004984, allocations: 3.938 kB / 1.003 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.23e-05/0.004996, allocations: 4 kB / 1.003 GB, free: 9.93 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.005001, allocations: 4 kB / 1.003 GB, free: 9.926 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001036/0.005104, allocations: 91.27 kB / 1.003 GB, free: 9.836 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.005104, allocations: 0 / 1.003 GB, free: 9.836 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001396/0.005244, allocations: 16 kB / 1.003 GB, free: 9.82 MB / 0.9636 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.0003228/0.005567, allocations: 0.6631 MB / 1.004 GB, free: 9.129 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 7.778e-05/0.005645, allocations: 36.11 kB / 1.004 GB, free: 9.094 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.193e-06/0.005646, allocations: 0 / 1.004 GB, free: 9.094 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.646e-05/0.005662, allocations: 19.92 kB / 1.004 GB, free: 9.074 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001164/0.005779, allocations: 11.73 kB / 1.004 GB, free: 9.066 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008815/0.00666, allocations: 1.248 MB / 1.005 GB, free: 7.727 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.079e-05/0.006701, allocations: 71.27 kB / 1.005 GB, free: 7.637 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.719e-05/0.006718, allocations: 4 kB / 1.005 GB, free: 7.633 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.211e-05/0.00674, allocations: 12.5 kB / 1.005 GB, free: 7.621 MB / 0.9636 GB Notification: Performance of SimCode: time 1.012e-06/0.006741, allocations: 0 / 1.005 GB, free: 7.621 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01628/0.02303, allocations: 2.51 MB / 1.007 GB, free: 5.246 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.332/6.355, allocations: 15.36 kB / 1.007 GB, free: 5.234 MB / 0.9636 GB " [Timeout remaining time 294] (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/jenkins/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: 10.530111148953438]