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.001792/0.001792, allocations: 103 kB / 16.45 MB, free: 6.449 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.002159/0.002159, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.48/1.48, allocations: 230.6 MB / 252.8 MB, free: 9.145 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.095/3.095, allocations: 0.49 GB / 0.7916 GB, free: 33.46 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.001931/0.001931, allocations: 83.62 kB / 1.149 GB, free: 26.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.3419, allocations: 176.1 MB / 1.321 GB, free: 3.363 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001626/0.3435, allocations: 0.524 MB / 1.321 GB, free: 2.844 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0004979/0.344, allocations: 195.8 kB / 1.321 GB, free: 2.652 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.077e-05/0.344, allocations: 0 / 1.321 GB, free: 2.652 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.641e-05/0.3441, allocations: 3.984 kB / 1.321 GB, free: 2.648 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.646e-05/0.3441, allocations: 7.938 kB / 1.321 GB, free: 2.641 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003595/0.3445, allocations: 59.8 kB / 1.322 GB, free: 2.582 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 4.948e-05/0.3445, allocations: 11.98 kB / 1.322 GB, free: 2.57 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.761e-05/0.3445, allocations: 0 / 1.322 GB, free: 2.57 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.883e-05/0.3446, allocations: 11.88 kB / 1.322 GB, free: 2.559 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 2.633e-05/0.3446, allocations: 3.984 kB / 1.322 GB, free: 2.555 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.156e-05/0.3446, allocations: 8 kB / 1.322 GB, free: 2.547 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00022/0.3448, allocations: 127.8 kB / 1.322 GB, free: 2.422 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.344e-05/0.3449, allocations: 15.91 kB / 1.322 GB, free: 2.406 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.143e-05/0.3449, allocations: 3.938 kB / 1.322 GB, free: 2.402 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001532/0.345, allocations: 76.11 kB / 1.322 GB, free: 2.328 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.345, allocations: 0 / 1.322 GB, free: 2.328 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.493e-06/0.345, allocations: 0 / 1.322 GB, free: 2.328 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.3451, allocations: 0 / 1.322 GB, free: 2.328 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.0003872/0.3454, allocations: 347.2 kB / 1.322 GB, free: 1.938 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.3455, allocations: 11.98 kB / 1.322 GB, free: 1.926 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.393e-05/0.3455, allocations: 34.75 kB / 1.322 GB, free: 1.883 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.935e-05/0.3455, allocations: 8.891 kB / 1.322 GB, free: 1.875 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.3457, allocations: 164.4 kB / 1.322 GB, free: 1.676 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.3457, allocations: 8.359 kB / 1.322 GB, free: 1.668 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.205e-05/0.3457, allocations: 4.375 kB / 1.322 GB, free: 1.664 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.556e-05/0.3458, allocations: 34.27 kB / 1.322 GB, free: 1.625 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.3458, allocations: 3.938 kB / 1.322 GB, free: 1.621 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.153e-06/0.3458, allocations: 0 / 1.322 GB, free: 1.621 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.3458, allocations: 0 / 1.322 GB, free: 1.621 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.924e-05/0.3459, allocations: 15.98 kB / 1.322 GB, free: 1.605 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001797/0.346, allocations: 169.6 kB / 1.323 GB, free: 1.391 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 5.405e-05/0.3461, allocations: 26.61 kB / 1.323 GB, free: 1.355 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.553e-05/0.3461, allocations: 12.91 kB / 1.323 GB, free: 1.34 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.319e-05/0.3462, allocations: 4 kB / 1.323 GB, free: 1.336 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.3462, allocations: 30.56 kB / 1.323 GB, free: 1.297 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.3462, allocations: 4 kB / 1.323 GB, free: 1.293 MB / 1.014 GB Notification: Performance of matching and sorting (n=3): time 0.000555/0.3467, allocations: 306.2 kB / 1.323 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/0.3468, allocations: 51.41 kB / 1.323 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.549e-05/0.3468, allocations: 109.8 kB / 1.323 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.3469, allocations: 25.7 kB / 1.323 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.323e-05/0.3469, allocations: 84.14 kB / 1.323 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.599e-05/0.3469, allocations: 16.11 kB / 1.323 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.297e-05/0.347, allocations: 21.72 kB / 1.323 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.3471, allocations: 310.8 kB / 1.324 GB, free: 296 kB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.363e-05/0.3471, allocations: 15.92 kB / 1.324 GB, free: 280 kB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.49e-05/0.3471, allocations: 25.72 kB / 1.324 GB, free: 248 kB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.98e-05/0.3472, allocations: 41.64 kB / 1.324 GB, free: 200 kB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.3472, allocations: 4 kB / 1.324 GB, free: 196 kB / 1.014 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001119/0.3473, allocations: 69.62 kB / 1.324 GB, free: 120 kB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.3473, allocations: 11.92 kB / 1.324 GB, free: 108 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3473, allocations: 3.938 kB / 1.324 GB, free: 104 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.3474, allocations: 0 / 1.324 GB, free: 104 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.802e-05/0.3474, allocations: 8 kB / 1.324 GB, free: 96 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.321e-06/0.3474, allocations: 0 / 1.324 GB, free: 96 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.873e-05/0.3474, allocations: 4 kB / 1.324 GB, free: 92 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.3475, allocations: 4 kB / 1.324 GB, free: 88 kB / 1.014 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 0.0001028/0.3476, allocations: 109.9 kB / 1.324 GB, free: 15.97 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.472e-05/0.3476, allocations: 7.938 kB / 1.324 GB, free: 15.96 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001688/0.3477, allocations: 73.47 kB / 1.324 GB, free: 15.87 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.3477, allocations: 3.984 kB / 1.324 GB, free: 15.87 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.3478, allocations: 0 / 1.324 GB, free: 15.87 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.3478, allocations: 4 kB / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001647/0.3479, allocations: 165.7 kB / 1.324 GB, free: 15.65 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.3479, allocations: 0 / 1.324 GB, free: 15.65 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.159e-05/0.348, allocations: 4 kB / 1.324 GB, free: 15.65 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.348, allocations: 7.938 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.348, allocations: 3.984 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.348, allocations: 0 / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.348, allocations: 4 kB / 1.324 GB, free: 15.63 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000179/0.3482, allocations: 105.2 kB / 1.324 GB, free: 15.51 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.841e-05/0.3482, allocations: 81.05 kB / 1.324 GB, free: 15.41 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.3482, allocations: 4.031 kB / 1.324 GB, free: 15.41 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.876e-05/0.3483, allocations: 4 kB / 1.324 GB, free: 15.41 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.776e-05/0.3483, allocations: 8.047 kB / 1.324 GB, free: 15.4 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.201e-06/0.3483, allocations: 4 kB / 1.324 GB, free: 15.39 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.122e-05/0.3484, allocations: 91.56 kB / 1.324 GB, free: 15.3 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3484, allocations: 0 / 1.324 GB, free: 15.3 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002131/0.3486, allocations: 23.92 kB / 1.324 GB, free: 15.28 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.0005612/0.3492, allocations: 0.6632 MB / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001119/0.3493, allocations: 27.98 kB / 1.325 GB, free: 14.56 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.3493, allocations: 0 / 1.325 GB, free: 14.56 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.732e-05/0.3493, allocations: 19.98 kB / 1.325 GB, free: 14.54 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001517/0.3494, allocations: 1.875 kB / 1.325 GB, free: 14.54 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.3506, allocations: 1.256 MB / 1.326 GB, free: 13.2 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002915/0.3509, allocations: 0.6846 MB / 1.327 GB, free: 12.49 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.172e-05/0.3509, allocations: 4 kB / 1.327 GB, free: 12.48 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.08e-05/0.351, allocations: 18.06 kB / 1.327 GB, free: 12.47 MB / 1.029 GB Notification: Performance of SimCode: time 2.91e-07/0.351, allocations: 0 / 1.327 GB, free: 12.47 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02669/0.3776, allocations: 1.87 MB / 1.329 GB, free: 10.73 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.401/7.779, allocations: 9.781 kB / 1.329 GB, free: 10.73 MB / 1.029 GB " [Timeout remaining time 292] (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: 14.316522731911391]