Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.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.001287/0.001287, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002429/0.002429, allocations: 213.4 kB / 22.26 MB, free: 5.125 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.469/1.469, allocations: 230.6 MB / 256 MB, free: 7.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.875/2.875, allocations: 476.7 MB / 0.7707 GB, free: 4.246 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Controls.OBC.CDL.Integers.Validation.Min,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Min,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Min",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.00206/0.00206, allocations: 64.7 kB / 1.117 GB, free: 40.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3768/0.3788, allocations: 170 MB / 1.283 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002441/0.3813, allocations: 0.7774 MB / 1.284 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001323/0.3826, allocations: 0.8939 MB / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.829e-05/0.3826, allocations: 4 kB / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.247e-05/0.3827, allocations: 11.86 kB / 1.285 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001006/0.3828, allocations: 15.86 kB / 1.285 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001926/0.383, allocations: 39.95 kB / 1.285 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000145/0.3831, allocations: 91.75 kB / 1.285 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.3832, allocations: 16 kB / 1.285 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.981e-05/0.3833, allocations: 35.91 kB / 1.285 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.3835, allocations: 51.81 kB / 1.285 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.606e-05/0.3835, allocations: 8 kB / 1.285 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.711e-05/0.3835, allocations: 8 kB / 1.285 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.828e-05/0.3835, allocations: 19.92 kB / 1.285 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.617e-05/0.3836, allocations: 43.78 kB / 1.285 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001524/0.3837, allocations: 91.11 kB / 1.285 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3837, allocations: 0 / 1.285 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3837, allocations: 0 / 1.285 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.3837, allocations: 0 / 1.285 GB, free: 9.578 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006541/0.3844, allocations: 318 kB / 1.286 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.3844, allocations: 15.97 kB / 1.286 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.905e-05/0.3845, allocations: 38.75 kB / 1.286 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.433e-05/0.3845, allocations: 8.891 kB / 1.286 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001563/0.3847, allocations: 118.4 kB / 1.286 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.3847, allocations: 12.31 kB / 1.286 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.714e-05/0.3847, allocations: 8.125 kB / 1.286 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003185/0.385, allocations: 113.2 kB / 1.286 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.385, allocations: 0 / 1.286 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.3851, allocations: 4 kB / 1.286 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.3851, allocations: 8 kB / 1.286 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003696/0.3854, allocations: 91.91 kB / 1.286 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006046/0.386, allocations: 319.7 kB / 1.286 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006159/0.3867, allocations: 114.6 kB / 1.287 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001827/0.3868, allocations: 52.81 kB / 1.287 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.3869, allocations: 4 kB / 1.287 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.3869, allocations: 30.56 kB / 1.287 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.041e-06/0.3869, allocations: 0 / 1.287 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0006756/0.3876, allocations: 193.4 kB / 1.287 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.3876, allocations: 51.41 kB / 1.287 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.3877, allocations: 121.8 kB / 1.287 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.3878, allocations: 25.7 kB / 1.287 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.713e-05/0.3878, allocations: 104.1 kB / 1.287 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.832e-05/0.3879, allocations: 15.83 kB / 1.287 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.899e-05/0.3879, allocations: 25.7 kB / 1.287 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.388, allocations: 322.8 kB / 1.287 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001779/0.3882, allocations: 43.95 kB / 1.288 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001679/0.3884, allocations: 47.89 kB / 1.288 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003261/0.3887, allocations: 96.78 kB / 1.288 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3887, allocations: 3.938 kB / 1.288 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004165/0.3891, allocations: 137.5 kB / 1.288 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.3891, allocations: 8 kB / 1.288 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.3892, allocations: 0 / 1.288 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.3892, allocations: 0 / 1.288 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001888/0.3894, allocations: 23.97 kB / 1.288 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.3894, allocations: 8.484 kB / 1.288 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001159/0.3895, allocations: 11.94 kB / 1.288 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.479e-05/0.3895, allocations: 11.98 kB / 1.288 GB, free: 6.93 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,min1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001065/0.3896, allocations: 117.8 kB / 1.288 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.384e-05/0.3896, allocations: 4 kB / 1.288 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004592/0.3901, allocations: 153.9 kB / 1.288 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.3901, allocations: 0 / 1.288 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/0.3901, allocations: 3.938 kB / 1.288 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.3901, allocations: 7.984 kB / 1.288 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002185/0.3903, allocations: 172.6 kB / 1.288 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3903, allocations: 0 / 1.288 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000156/0.3905, allocations: 23.97 kB / 1.288 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.3905, allocations: 3.938 kB / 1.288 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.3905, allocations: 7.984 kB / 1.288 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3905, allocations: 0 / 1.288 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.3905, allocations: 3.938 kB / 1.288 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004693/0.391, allocations: 245.1 kB / 1.289 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.659e-05/0.391, allocations: 4 kB / 1.289 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.391, allocations: 0 / 1.289 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.3912, allocations: 19.98 kB / 1.289 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.585e-05/0.3912, allocations: 19.91 kB / 1.289 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.3913, allocations: 8 kB / 1.289 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.45e-05/0.3913, allocations: 95.27 kB / 1.289 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3913, allocations: 0 / 1.289 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002333/0.3916, allocations: 15.95 kB / 1.289 GB, free: 5.965 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (min1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0007726/0.3923, allocations: 0.7709 MB / 1.289 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004065/0.3927, allocations: 99.91 kB / 1.29 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3927, allocations: 0 / 1.29 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002161/0.3929, allocations: 63.88 kB / 1.29 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003438/0.3933, allocations: 15.94 kB / 1.29 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002159/0.3955, allocations: 1.535 MB / 1.291 GB, free: 3.379 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.3958, allocations: 0.6924 MB / 1.292 GB, free: 2.66 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.221e-05/0.3958, allocations: 12 kB / 1.292 GB, free: 2.648 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.53e-05/0.3959, allocations: 35.41 kB / 1.292 GB, free: 2.613 MB / 0.9825 GB Notification: Performance of SimCode: time 6.31e-07/0.3959, allocations: 0 / 1.292 GB, free: 2.613 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03177/0.4277, allocations: 2.84 MB / 1.295 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.67/11.1, allocations: 4 kB / 1.295 GB, free: 15.9 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Min.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable min1.u1 in file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.csv. Warning: Get data of variable min1.u1 from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.csv failed! Error: Could not read variable min1.u2 in file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.csv. Warning: Get data of variable min1.u2 from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.csv failed! Error: Could not read variable min1.y in file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.csv. Warning: Get data of variable min1.y from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.946005788000548]