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.001402/0.001402, 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.00174/0.00174, allocations: 211.6 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.512/1.512, allocations: 230.6 MB / 256 MB, free: 7.777 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.874/2.874, allocations: 476 MB / 0.7699 GB, free: 4.719 MB / 0.6231 GB " [Timeout remaining time 177] 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.002104/0.002104, allocations: 67.34 kB / 1.117 GB, free: 41.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3618/0.3639, allocations: 170 MB / 1.283 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002265/0.3661, allocations: 0.7572 MB / 1.283 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001254/0.3674, allocations: 0.8861 MB / 1.284 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.157e-05/0.3674, allocations: 0 / 1.284 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.075e-05/0.3675, allocations: 3.938 kB / 1.284 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.346e-05/0.3676, allocations: 11.88 kB / 1.284 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000193/0.3677, allocations: 39.95 kB / 1.284 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001219/0.3679, allocations: 91.75 kB / 1.284 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.368, allocations: 13.67 kB / 1.284 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.98e-05/0.3681, allocations: 43.91 kB / 1.284 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.522e-05/0.3682, allocations: 43.81 kB / 1.284 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.999e-05/0.3682, allocations: 8 kB / 1.284 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.983e-05/0.3682, allocations: 8 kB / 1.284 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.09e-05/0.3683, allocations: 27.86 kB / 1.284 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.912e-05/0.3683, allocations: 31.84 kB / 1.284 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001574/0.3685, allocations: 87.19 kB / 1.285 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3685, allocations: 0 / 1.285 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.843e-06/0.3685, allocations: 3.938 kB / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.3685, allocations: 0 / 1.285 GB, free: 10.34 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.0007164/0.3692, allocations: 326 kB / 1.285 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.3693, allocations: 12.03 kB / 1.285 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.8e-05/0.3693, allocations: 34.73 kB / 1.285 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.704e-05/0.3693, allocations: 8.891 kB / 1.285 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.3695, allocations: 118.4 kB / 1.285 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.3695, allocations: 4.375 kB / 1.285 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.883e-05/0.3695, allocations: 12.12 kB / 1.285 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003244/0.3699, allocations: 109.1 kB / 1.285 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.3699, allocations: 7.984 kB / 1.285 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.3699, allocations: 3.984 kB / 1.285 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.3699, allocations: 4 kB / 1.285 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003721/0.3703, allocations: 91.91 kB / 1.285 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005636/0.3708, allocations: 299.7 kB / 1.286 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006152/0.3715, allocations: 122.6 kB / 1.286 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002022/0.3717, allocations: 52.8 kB / 1.286 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.004e-05/0.3717, allocations: 7.984 kB / 1.286 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.3717, allocations: 34.5 kB / 1.286 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.3717, allocations: 0 / 1.286 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.000686/0.3724, allocations: 181.5 kB / 1.286 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/0.3725, allocations: 51.41 kB / 1.286 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.3726, allocations: 129.8 kB / 1.286 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.3726, allocations: 25.7 kB / 1.286 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.459e-05/0.3727, allocations: 96.03 kB / 1.286 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.238e-05/0.3727, allocations: 27.81 kB / 1.286 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.084e-05/0.3727, allocations: 21.7 kB / 1.286 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.3729, allocations: 318.8 kB / 1.287 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001848/0.3731, allocations: 47.95 kB / 1.287 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001872/0.3733, allocations: 47.89 kB / 1.287 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003596/0.3736, allocations: 96.77 kB / 1.287 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3736, allocations: 4 kB / 1.287 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004109/0.3741, allocations: 137.5 kB / 1.287 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.3741, allocations: 10.19 kB / 1.287 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.3741, allocations: 0 / 1.287 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.3741, allocations: 0 / 1.287 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/0.3743, allocations: 23.97 kB / 1.287 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.595e-06/0.3743, allocations: 3.938 kB / 1.287 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.3744, allocations: 15.98 kB / 1.287 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.3744, allocations: 3.938 kB / 1.287 GB, free: 7.715 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.0001118/0.3745, allocations: 117.8 kB / 1.287 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.196e-05/0.3745, allocations: 7.953 kB / 1.287 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004916/0.375, allocations: 157.9 kB / 1.287 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.375, allocations: 0 / 1.287 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.375, allocations: 7.938 kB / 1.287 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.375, allocations: 0 / 1.287 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000218/0.3752, allocations: 160.7 kB / 1.287 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3752, allocations: 0 / 1.287 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001533/0.3754, allocations: 27.91 kB / 1.287 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3754, allocations: 0 / 1.287 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.868e-06/0.3754, allocations: 0 / 1.287 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.3754, allocations: 0 / 1.287 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.3754, allocations: 7.938 kB / 1.287 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004859/0.3759, allocations: 237.8 kB / 1.288 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.741e-05/0.3759, allocations: 11.89 kB / 1.288 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.3759, allocations: 0 / 1.288 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.3761, allocations: 15.97 kB / 1.288 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.275e-05/0.3762, allocations: 23.91 kB / 1.288 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.3762, allocations: 11.94 kB / 1.288 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.671e-05/0.3762, allocations: 99.64 kB / 1.288 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3762, allocations: 0 / 1.288 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002422/0.3765, allocations: 19.95 kB / 1.288 GB, free: 6.75 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.0008391/0.3773, allocations: 0.7593 MB / 1.289 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004252/0.3778, allocations: 112 kB / 1.289 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3778, allocations: 3.938 kB / 1.289 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002163/0.378, allocations: 55.95 kB / 1.289 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003262/0.3783, allocations: 15.92 kB / 1.289 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002257/0.3806, allocations: 1.537 MB / 1.29 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.231e-05/0.3806, allocations: 75.33 kB / 1.29 GB, free: 4.07 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.312e-05/0.3807, allocations: 15.98 kB / 1.29 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.507e-05/0.3808, allocations: 27.42 kB / 1.29 GB, free: 4.027 MB / 0.9825 GB Notification: Performance of SimCode: time 3.4e-07/0.3808, allocations: 0 / 1.29 GB, free: 4.027 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02972/0.4105, allocations: 3.354 MB / 1.294 GB, free: 0.8125 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.77, allocations: 11.98 kB / 1.294 GB, free: 0.8008 MB / 0.9825 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: 18.643940748181194]