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.001692/0.001692, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002331/0.002331, allocations: 216.2 kB / 22.24 MB, free: 5.258 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.407/1.407, allocations: 230.6 MB / 256 MB, free: 7.805 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.053/3.053, allocations: 0.49 GB / 0.7951 GB, free: 35.4 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.001991/0.001991, allocations: 66.09 kB / 1.154 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3834/0.3854, allocations: 176.1 MB / 1.326 GB, free: 1.496 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001827/0.3872, allocations: 0.5398 MB / 1.326 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0006481/0.3878, allocations: 179.9 kB / 1.327 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.133e-05/0.3879, allocations: 0 / 1.327 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.995e-05/0.3879, allocations: 0 / 1.327 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.185e-05/0.3879, allocations: 3.938 kB / 1.327 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004496/0.3884, allocations: 63.84 kB / 1.327 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.724e-05/0.3885, allocations: 15.98 kB / 1.327 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.421e-05/0.3885, allocations: 0 / 1.327 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.632e-05/0.3885, allocations: 11.92 kB / 1.327 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 2.495e-05/0.3886, allocations: 4 kB / 1.327 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.3886, allocations: 4 kB / 1.327 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003381/0.3889, allocations: 163.7 kB / 1.327 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.548e-05/0.389, allocations: 7.984 kB / 1.327 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.04e-05/0.389, allocations: 7.922 kB / 1.327 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000181/0.3892, allocations: 76.06 kB / 1.327 GB, free: 444 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3892, allocations: 0 / 1.327 GB, free: 444 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3892, allocations: 0 / 1.327 GB, free: 444 kB / 1.014 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.3892, allocations: 0 / 1.327 GB, free: 444 kB / 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.0004492/0.3896, allocations: 266.2 kB / 1.327 GB, free: 144 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.3897, allocations: 12.03 kB / 1.327 GB, free: 132 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.089e-05/0.3897, allocations: 30.75 kB / 1.327 GB, free: 92 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.236e-05/0.3898, allocations: 8.891 kB / 1.327 GB, free: 84 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/0.3899, allocations: 114.5 kB / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.3899, allocations: 384 / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.574e-05/0.39, allocations: 4.312 kB / 1.327 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.3901, allocations: 63.95 kB / 1.327 GB, free: 15.87 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.3901, allocations: 3.938 kB / 1.327 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.3901, allocations: 0 / 1.327 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.3901, allocations: 0 / 1.327 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.984e-05/0.3902, allocations: 11.94 kB / 1.327 GB, free: 15.85 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000211/0.3904, allocations: 140.8 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.191e-05/0.3904, allocations: 30.5 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.387e-05/0.3905, allocations: 8.922 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.985e-05/0.3905, allocations: 4 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.3905, allocations: 30.56 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 9.71e-07/0.3905, allocations: 0 / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0005929/0.3911, allocations: 233 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.3912, allocations: 51.41 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.3913, allocations: 114.1 kB / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.3913, allocations: 25.7 kB / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.018e-05/0.3913, allocations: 88.12 kB / 1.328 GB, free: 15.01 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.307e-05/0.3914, allocations: 7.953 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.267e-05/0.3914, allocations: 17.72 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.3916, allocations: 310.8 kB / 1.328 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.934e-05/0.3916, allocations: 19.98 kB / 1.328 GB, free: 14.65 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.159e-05/0.3916, allocations: 25.73 kB / 1.328 GB, free: 14.62 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.937e-05/0.3917, allocations: 41.66 kB / 1.328 GB, free: 14.57 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.3917, allocations: 4 kB / 1.328 GB, free: 14.57 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001102/0.3918, allocations: 77.56 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.3918, allocations: 7.938 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.3918, allocations: 0 / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.3918, allocations: 4 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.955e-05/0.3919, allocations: 4 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.3919, allocations: 0 / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.618e-05/0.3919, allocations: 8 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.3919, allocations: 0 / 1.329 GB, free: 14.46 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 9.596e-05/0.392, allocations: 119.5 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.173e-05/0.392, allocations: 3.938 kB / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002342/0.3923, allocations: 77.61 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.3923, allocations: 0 / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.3923, allocations: 0 / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.3923, allocations: 0 / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001265/0.3924, allocations: 132.8 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3924, allocations: 3.938 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.388e-05/0.3924, allocations: 8 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.3924, allocations: 3.938 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.643e-06/0.3925, allocations: 3.938 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3925, allocations: 4 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.3925, allocations: 0 / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001598/0.3926, allocations: 109 kB / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.137e-05/0.3926, allocations: 7.969 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/0.3926, allocations: 3.938 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.081e-05/0.3927, allocations: 0 / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.58e-05/0.3927, allocations: 0 / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/0.3927, allocations: 8 kB / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.088e-05/0.3928, allocations: 83.27 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3928, allocations: 4 kB / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002037/0.393, allocations: 20 kB / 1.329 GB, free: 13.79 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.0005285/0.3935, allocations: 0.6631 MB / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001026/0.3936, allocations: 35.92 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3936, allocations: 0 / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.509e-05/0.3936, allocations: 15.98 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001414/0.3938, allocations: 7.938 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/0.3949, allocations: 1.245 MB / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.624e-05/0.395, allocations: 67.44 kB / 1.331 GB, free: 11.62 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.871e-05/0.395, allocations: 12.69 kB / 1.331 GB, free: 11.61 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.239e-05/0.3951, allocations: 15.38 kB / 1.331 GB, free: 11.6 MB / 1.029 GB Notification: Performance of SimCode: time 4e-07/0.3951, allocations: 0 / 1.331 GB, free: 11.6 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03591/0.431, allocations: 2.409 MB / 1.333 GB, free: 9.32 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.41/10.84, allocations: 11.31 kB / 1.334 GB, free: 9.316 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.347841792012332]