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.001327/0.001327, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001775/0.001775, allocations: 211.5 kB / 22.24 MB, free: 5.262 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.426/1.426, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.112/3.112, allocations: 0.4892 GB / 0.7943 GB, free: 35.67 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.001999/0.001999, allocations: 75.02 kB / 1.153 GB, free: 25.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.3396, allocations: 176.1 MB / 1.325 GB, free: 2.398 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001769/0.3414, allocations: 0.5188 MB / 1.326 GB, free: 1.887 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0005325/0.3419, allocations: 191.8 kB / 1.326 GB, free: 1.699 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.661e-05/0.3419, allocations: 4 kB / 1.326 GB, free: 1.695 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.626e-05/0.3419, allocations: 0 / 1.326 GB, free: 1.695 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.482e-05/0.342, allocations: 0 / 1.326 GB, free: 1.695 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003847/0.3423, allocations: 71.77 kB / 1.326 GB, free: 1.625 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 4.48e-05/0.3424, allocations: 8 kB / 1.326 GB, free: 1.617 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.24e-05/0.3424, allocations: 0 / 1.326 GB, free: 1.617 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.933e-05/0.3425, allocations: 7.984 kB / 1.326 GB, free: 1.609 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.13e-05/0.3425, allocations: 7.922 kB / 1.326 GB, free: 1.602 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.3425, allocations: 4 kB / 1.326 GB, free: 1.598 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003016/0.3428, allocations: 155.7 kB / 1.326 GB, free: 1.445 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.912e-05/0.3428, allocations: 8 kB / 1.326 GB, free: 1.438 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.938e-05/0.3429, allocations: 3.938 kB / 1.326 GB, free: 1.434 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000161/0.343, allocations: 80.05 kB / 1.326 GB, free: 1.355 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.343, allocations: 0 / 1.326 GB, free: 1.355 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.463e-06/0.343, allocations: 0 / 1.326 GB, free: 1.355 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.207e-06/0.343, allocations: 0 / 1.326 GB, free: 1.355 MB / 1.014 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.0003815/0.3434, allocations: 262.2 kB / 1.326 GB, free: 1.066 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.3435, allocations: 8.031 kB / 1.326 GB, free: 1.059 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.951e-05/0.3435, allocations: 34.75 kB / 1.326 GB, free: 1.016 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.539e-05/0.3435, allocations: 8.828 kB / 1.326 GB, free: 1.008 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002116/0.3437, allocations: 114.5 kB / 1.326 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.834e-06/0.3437, allocations: 4.375 kB / 1.326 GB, free: 0.8672 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.3438, allocations: 4.375 kB / 1.326 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.3439, allocations: 63.91 kB / 1.327 GB, free: 0.7891 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.3439, allocations: 7.922 kB / 1.327 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.557e-06/0.3439, allocations: 0 / 1.327 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.3439, allocations: 4 kB / 1.327 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.863e-05/0.3439, allocations: 8 kB / 1.327 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001793/0.3441, allocations: 132.7 kB / 1.327 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 5.695e-05/0.3442, allocations: 26.58 kB / 1.327 GB, free: 0.5625 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.536e-05/0.3442, allocations: 16.91 kB / 1.327 GB, free: 0.543 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.9e-05/0.3442, allocations: 7.938 kB / 1.327 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.3443, allocations: 34.56 kB / 1.327 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.3443, allocations: 0 / 1.327 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of matching and sorting (n=3): time 0.0005881/0.3449, allocations: 229.1 kB / 1.327 GB, free: 240 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.3449, allocations: 51.41 kB / 1.327 GB, free: 176 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002028/0.3451, allocations: 109.8 kB / 1.327 GB, free: 56 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.3451, allocations: 25.7 kB / 1.327 GB, free: 24 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 9.234e-05/0.3452, allocations: 88.14 kB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.01e-05/0.3452, allocations: 8.172 kB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.613e-05/0.3453, allocations: 21.7 kB / 1.327 GB, free: 15.9 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.3454, allocations: 314.8 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.575e-05/0.3454, allocations: 15.98 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.693e-05/0.3455, allocations: 25.72 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.952e-05/0.3456, allocations: 41.64 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.3456, allocations: 0 / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001066/0.3457, allocations: 65.64 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.3457, allocations: 8 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.3457, allocations: 8 kB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.3457, allocations: 0 / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.762e-05/0.3457, allocations: 11.92 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.393e-06/0.3458, allocations: 4 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.581e-05/0.3458, allocations: 4 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.3458, allocations: 0 / 1.328 GB, free: 15.38 MB / 1.029 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.948e-05/0.3459, allocations: 110.4 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.374e-05/0.3459, allocations: 7.938 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000143/0.346, allocations: 65.98 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.346, allocations: 4 kB / 1.328 GB, free: 15.17 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.346, allocations: 0 / 1.328 GB, free: 15.17 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.346, allocations: 3.938 kB / 1.328 GB, free: 15.17 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001549/0.3462, allocations: 144.7 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.3462, allocations: 3.938 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.275e-05/0.3462, allocations: 4.188 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.3462, allocations: 3.938 kB / 1.328 GB, free: 14.97 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.3462, allocations: 0 / 1.328 GB, free: 14.97 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.3462, allocations: 0 / 1.328 GB, free: 14.97 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.3462, allocations: 3.984 kB / 1.328 GB, free: 14.97 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000212/0.3464, allocations: 105.1 kB / 1.328 GB, free: 14.85 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.315e-05/0.3465, allocations: 12.03 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.3465, allocations: 3.984 kB / 1.328 GB, free: 14.83 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.487e-05/0.3465, allocations: 0 / 1.328 GB, free: 14.83 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.801e-05/0.3465, allocations: 4 kB / 1.328 GB, free: 14.83 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.3465, allocations: 4 kB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.154e-05/0.3466, allocations: 95.25 kB / 1.328 GB, free: 14.73 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3466, allocations: 3.938 kB / 1.328 GB, free: 14.73 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000204/0.3468, allocations: 19.94 kB / 1.328 GB, free: 14.71 MB / 1.029 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.0005928/0.3474, allocations: 0.667 MB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.269e-05/0.3475, allocations: 31.98 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3475, allocations: 0 / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.366e-05/0.3475, allocations: 16 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001442/0.3477, allocations: 5.891 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001294/0.349, allocations: 1.244 MB / 1.33 GB, free: 12.63 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.417e-05/0.349, allocations: 67.25 kB / 1.33 GB, free: 12.54 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.329e-05/0.3491, allocations: 4 kB / 1.33 GB, free: 12.54 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.148e-05/0.3491, allocations: 15.42 kB / 1.33 GB, free: 12.52 MB / 1.029 GB Notification: Performance of SimCode: time 4.01e-07/0.3491, allocations: 8.125 kB / 1.33 GB, free: 12.52 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02851/0.3776, allocations: 2.367 MB / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/11.03, allocations: 4.062 kB / 1.333 GB, free: 10.27 MB / 1.029 GB " [Timeout remaining time 289] (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/jenkins1/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: 17.668149144388735]