Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0007902/0.0007902, allocations: 80.44 kB / 19.17 MB, free: 0.7344 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.0007451/0.0007451, allocations: 166.3 kB / 22.46 MB, free: 2.098 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.8596/0.8596, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.686/1.686, allocations: 377.8 MB / 0.6221 GB, free: 8.688 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_12_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.9809 GB, free: 1.477 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.213e-05/2.391e-05, allocations: 2.281 kB / 0.9809 GB, free: 1.473 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001288/0.001312, allocations: 0.5244 MB / 0.9815 GB, free: 0.9531 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.000394/0.001706, allocations: 175.5 kB / 0.9816 GB, free: 0.7812 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.027e-05/0.001726, allocations: 0 / 0.9816 GB, free: 0.7812 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 2.929e-05/0.001755, allocations: 0 / 0.9816 GB, free: 0.7812 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 4.384e-05/0.001799, allocations: 7.875 kB / 0.9816 GB, free: 0.7734 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004312/0.002231, allocations: 63.78 kB / 0.9817 GB, free: 0.7109 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 6.369e-05/0.002294, allocations: 15.98 kB / 0.9817 GB, free: 0.6953 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 4.289e-05/0.002337, allocations: 3.984 kB / 0.9817 GB, free: 0.6914 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 3.658e-05/0.002374, allocations: 7.984 kB / 0.9817 GB, free: 0.6836 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 2.8e-05/0.002402, allocations: 8 kB / 0.9817 GB, free: 0.6758 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.002415, allocations: 3.938 kB / 0.9817 GB, free: 0.6719 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002496/0.002665, allocations: 159.7 kB / 0.9819 GB, free: 0.5156 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 4.433e-05/0.002709, allocations: 7.938 kB / 0.9819 GB, free: 0.5078 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 1.983e-05/0.002729, allocations: 4 kB / 0.9819 GB, free: 0.5039 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0001623/0.002891, allocations: 91.73 kB / 0.982 GB, free: 424 kB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.002894, allocations: 0 / 0.982 GB, free: 424 kB / 0.8855 GB Notification: Performance of FrontEnd: time 1.323e-06/0.002895, allocations: 0 / 0.982 GB, free: 424 kB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.187e-06/0.002899, allocations: 0 / 0.982 GB, free: 424 kB / 0.8855 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.0003233/0.003222, allocations: 266.2 kB / 0.9822 GB, free: 124 kB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.003264, allocations: 12.03 kB / 0.9822 GB, free: 112 kB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.217e-05/0.003296, allocations: 30.75 kB / 0.9823 GB, free: 72 kB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.73e-05/0.003323, allocations: 8.938 kB / 0.9823 GB, free: 64 kB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.003432, allocations: 113.7 kB / 0.9824 GB, free: 15.93 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.003443, allocations: 4.312 kB / 0.9824 GB, free: 15.92 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.95e-05/0.003462, allocations: 384 / 0.9824 GB, free: 15.92 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001144/0.003577, allocations: 67.95 kB / 0.9825 GB, free: 15.84 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.003584, allocations: 192 / 0.9825 GB, free: 15.84 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.003592, allocations: 384 / 0.9825 GB, free: 15.84 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.003598, allocations: 4.125 kB / 0.9825 GB, free: 15.84 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.619e-05/0.003624, allocations: 15.92 kB / 0.9825 GB, free: 15.82 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001455/0.00377, allocations: 136.8 kB / 0.9826 GB, free: 15.65 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 4.971e-05/0.003819, allocations: 22.58 kB / 0.9826 GB, free: 15.62 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.009e-05/0.003839, allocations: 12.92 kB / 0.9826 GB, free: 15.6 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 4.067e-05/0.00388, allocations: 4 kB / 0.9826 GB, free: 15.6 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.003905, allocations: 34.55 kB / 0.9827 GB, free: 15.55 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.003906, allocations: 0 / 0.9827 GB, free: 15.55 MB / 0.9011 GB Notification: Performance of matching and sorting (n=3): time 0.000492/0.004398, allocations: 217.2 kB / 0.9829 GB, free: 15.31 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.004432, allocations: 59.39 kB / 0.9829 GB, free: 15.24 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.127e-05/0.004503, allocations: 122 kB / 0.9831 GB, free: 15.11 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.004516, allocations: 25.7 kB / 0.9831 GB, free: 15.08 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.06e-05/0.004546, allocations: 88.08 kB / 0.9832 GB, free: 14.99 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.27e-05/0.004569, allocations: 15.89 kB / 0.9832 GB, free: 14.97 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.332e-05/0.004592, allocations: 13.72 kB / 0.9832 GB, free: 14.95 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.598e-05/0.004668, allocations: 318.8 kB / 0.9835 GB, free: 14.63 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.804e-05/0.004686, allocations: 12 kB / 0.9835 GB, free: 14.62 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.622e-05/0.004713, allocations: 25.7 kB / 0.9835 GB, free: 14.59 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.322e-05/0.004756, allocations: 41.7 kB / 0.9836 GB, free: 14.54 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.041e-06/0.004757, allocations: 4 kB / 0.9836 GB, free: 14.54 MB / 0.9011 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.483e-05/0.004822, allocations: 65.62 kB / 0.9836 GB, free: 14.47 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.004834, allocations: 4 kB / 0.9836 GB, free: 14.46 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.00484, allocations: 4 kB / 0.9836 GB, free: 14.46 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.004852, allocations: 3.938 kB / 0.9837 GB, free: 14.46 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.923e-05/0.004901, allocations: 4 kB / 0.9837 GB, free: 14.45 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.004909, allocations: 0 / 0.9837 GB, free: 14.45 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.498e-06/0.004918, allocations: 4 kB / 0.9837 GB, free: 14.45 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.69e-06/0.004924, allocations: 0 / 0.9837 GB, free: 14.45 MB / 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 5.66e-05/0.00498, allocations: 129.8 kB / 0.9838 GB, free: 14.31 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.132e-06/0.004987, allocations: 4.094 kB / 0.9838 GB, free: 14.31 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.547e-05/0.005082, allocations: 73.66 kB / 0.9839 GB, free: 14.23 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.005085, allocations: 3.938 kB / 0.9839 GB, free: 14.22 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.005089, allocations: 0 / 0.9839 GB, free: 14.22 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.005092, allocations: 0 / 0.9839 GB, free: 14.22 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.316e-05/0.005165, allocations: 132.8 kB / 0.984 GB, free: 14.05 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.005166, allocations: 0 / 0.984 GB, free: 14.05 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.335e-05/0.005199, allocations: 8 kB / 0.984 GB, free: 14.04 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.0052, allocations: 3.938 kB / 0.984 GB, free: 14.04 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.605e-06/0.005208, allocations: 7.984 kB / 0.984 GB, free: 14.03 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.00521, allocations: 7.938 kB / 0.984 GB, free: 14.02 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.00521, allocations: 0 / 0.984 GB, free: 14.02 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000105/0.005315, allocations: 105 kB / 0.9841 GB, free: 13.9 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 6.963e-06/0.005322, allocations: 7.984 kB / 0.9841 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.007e-06/0.005331, allocations: 0 / 0.9841 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.514e-05/0.005366, allocations: 7.938 kB / 0.9841 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.155e-05/0.005378, allocations: 3.984 kB / 0.9841 GB, free: 13.88 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.005382, allocations: 4 kB / 0.9841 GB, free: 13.88 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 2.597e-05/0.005408, allocations: 79.28 kB / 0.9842 GB, free: 13.8 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5e-08/0.005409, allocations: 7.938 kB / 0.9842 GB, free: 13.79 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.000147/0.005556, allocations: 31.98 kB / 0.9843 GB, free: 13.76 MB / 0.9011 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.0003293/0.005885, allocations: 0.6476 MB / 0.9849 GB, free: 13.09 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 8.156e-05/0.005966, allocations: 31.98 kB / 0.9849 GB, free: 13.05 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.005968, allocations: 0 / 0.9849 GB, free: 13.05 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 1.598e-05/0.005984, allocations: 15.98 kB / 0.9849 GB, free: 13.04 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001121/0.006096, allocations: 3.938 kB / 0.9849 GB, free: 13.04 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008115/0.006907, allocations: 1.259 MB / 0.9862 GB, free: 11.69 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.506e-05/0.006952, allocations: 67.53 kB / 0.9862 GB, free: 11.6 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 1.985e-05/0.006972, allocations: 4 kB / 0.9862 GB, free: 11.6 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.149e-05/0.007004, allocations: 16.5 kB / 0.9862 GB, free: 11.58 MB / 0.9011 GB Notification: Performance of SimCode: time 6.61e-07/0.007004, allocations: 0 / 0.9862 GB, free: 11.58 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01456/0.02157, allocations: 2.511 MB / 0.9887 GB, free: 9.203 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.497/6.519, allocations: 9.672 kB / 0.9887 GB, free: 9.199 MB / 0.9011 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.fmu > Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.csv. Warning: Get data of variable x from file Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.csv failed! Error: Could not read variable der(x) in file Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.csv. Warning: Get data of variable der(x) from file Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.csv failed! Error: Could not read variable der(y) in file Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.csv. Warning: Get data of variable der(y) from file Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.556567431427538]