Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001946/0.001946, allocations: 109.3 kB / 16.46 MB, free: 6.453 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.002488/0.002488, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.536/1.536, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.223/3.223, allocations: 0.49 GB / 0.7916 GB, free: 33.3 MB / 0.6231 GB " [Timeout remaining time 176] 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.Controls.OBC.CDL.Integers.Validation.Min,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Min,fileNamePrefix="Buildings_12_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.002033/0.002033, allocations: 74.45 kB / 1.149 GB, free: 26.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3912/0.3933, allocations: 176.1 MB / 1.321 GB, free: 3.355 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002135/0.3954, allocations: 0.7776 MB / 1.322 GB, free: 2.586 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001278/0.3967, allocations: 0.9055 MB / 1.322 GB, free: 1.668 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.835e-05/0.3968, allocations: 0 / 1.322 GB, free: 1.668 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.714e-05/0.3968, allocations: 7.875 kB / 1.322 GB, free: 1.66 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.413e-05/0.3969, allocations: 11.88 kB / 1.322 GB, free: 1.648 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00019/0.3971, allocations: 35.95 kB / 1.323 GB, free: 1.613 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000151/0.3972, allocations: 87.75 kB / 1.323 GB, free: 1.527 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.3973, allocations: 23.98 kB / 1.323 GB, free: 1.504 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.506e-05/0.3974, allocations: 39.84 kB / 1.323 GB, free: 1.465 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 9.428e-05/0.3975, allocations: 47.81 kB / 1.323 GB, free: 1.418 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.534e-05/0.3976, allocations: 12 kB / 1.323 GB, free: 1.406 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.964e-05/0.3976, allocations: 8 kB / 1.323 GB, free: 1.398 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.13e-05/0.3976, allocations: 23.92 kB / 1.323 GB, free: 1.375 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.362e-05/0.3977, allocations: 39.78 kB / 1.323 GB, free: 1.336 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001488/0.3978, allocations: 87.88 kB / 1.323 GB, free: 1.25 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3978, allocations: 0 / 1.323 GB, free: 1.25 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3978, allocations: 0 / 1.323 GB, free: 1.25 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.087e-05/0.3978, allocations: 0 / 1.323 GB, free: 1.25 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007214/0.3985, allocations: 403.1 kB / 1.323 GB, free: 0.8086 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.3986, allocations: 11.98 kB / 1.323 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.982e-05/0.3986, allocations: 42.73 kB / 1.323 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.409e-05/0.3987, allocations: 8.891 kB / 1.323 GB, free: 0.7383 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001618/0.3988, allocations: 172.3 kB / 1.323 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.3989, allocations: 4.375 kB / 1.323 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/0.3989, allocations: 12.12 kB / 1.323 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003198/0.3992, allocations: 101.5 kB / 1.324 GB, free: 420 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.3992, allocations: 4 kB / 1.324 GB, free: 416 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.3992, allocations: 4 kB / 1.324 GB, free: 412 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.3992, allocations: 0 / 1.324 GB, free: 412 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003933/0.3996, allocations: 99.89 kB / 1.324 GB, free: 312 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000576/0.4002, allocations: 340.7 kB / 1.324 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006477/0.4008, allocations: 126.5 kB / 1.324 GB, free: 15.79 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002018/0.401, allocations: 48.81 kB / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.462e-05/0.4011, allocations: 0 / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.4011, allocations: 42.56 kB / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.4011, allocations: 0 / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0007079/0.4018, allocations: 173.5 kB / 1.324 GB, free: 15.51 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.936e-05/0.4019, allocations: 63.39 kB / 1.324 GB, free: 15.43 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.402, allocations: 125.8 kB / 1.325 GB, free: 15.3 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.402, allocations: 25.7 kB / 1.325 GB, free: 15.27 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.459e-05/0.4021, allocations: 95.98 kB / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.88e-05/0.4021, allocations: 23.8 kB / 1.325 GB, free: 15.15 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.527e-05/0.4022, allocations: 25.7 kB / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.4023, allocations: 314.8 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002049/0.4025, allocations: 47.94 kB / 1.325 GB, free: 14.76 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001831/0.4027, allocations: 48.27 kB / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004492/0.4031, allocations: 100.9 kB / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.4031, allocations: 0 / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004558/0.4036, allocations: 137.5 kB / 1.325 GB, free: 14.47 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.4036, allocations: 11.94 kB / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.4036, allocations: 3.938 kB / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.4036, allocations: 0 / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001742/0.4038, allocations: 23.97 kB / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.4038, allocations: 3.938 kB / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001244/0.4039, allocations: 19.92 kB / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.586e-05/0.404, allocations: 7.984 kB / 1.325 GB, free: 14.4 MB / 1.029 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.0001153/0.4041, allocations: 117.8 kB / 1.326 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.008e-05/0.4041, allocations: 0 / 1.326 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005194/0.4046, allocations: 161.8 kB / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.4046, allocations: 0 / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/0.4046, allocations: 11.94 kB / 1.326 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.4046, allocations: 3.984 kB / 1.326 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002367/0.4049, allocations: 193.6 kB / 1.326 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4049, allocations: 0 / 1.326 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001701/0.4051, allocations: 23.97 kB / 1.326 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.4051, allocations: 0 / 1.326 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.4051, allocations: 3.984 kB / 1.326 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.4051, allocations: 0 / 1.326 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.4051, allocations: 7.938 kB / 1.326 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005171/0.4056, allocations: 243.3 kB / 1.326 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.677e-05/0.4057, allocations: 81.05 kB / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/0.4057, allocations: 0 / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/0.4058, allocations: 11.98 kB / 1.326 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.603e-05/0.4059, allocations: 27.91 kB / 1.326 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.515e-06/0.4059, allocations: 4 kB / 1.326 GB, free: 13.42 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.591e-05/0.406, allocations: 95.27 kB / 1.326 GB, free: 13.33 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.406, allocations: 0 / 1.326 GB, free: 13.33 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002351/0.4062, allocations: 19.95 kB / 1.326 GB, free: 13.31 MB / 1.029 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.0008622/0.4071, allocations: 0.767 MB / 1.327 GB, free: 12.52 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004512/0.4075, allocations: 103.9 kB / 1.327 GB, free: 12.41 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4075, allocations: 0 / 1.327 GB, free: 12.41 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002206/0.4078, allocations: 64.36 kB / 1.327 GB, free: 12.35 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/0.4081, allocations: 19.86 kB / 1.327 GB, free: 12.33 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002248/0.4103, allocations: 1.537 MB / 1.329 GB, free: 10.71 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/0.4106, allocations: 0.6885 MB / 1.329 GB, free: 9.996 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.206e-05/0.4107, allocations: 15.94 kB / 1.33 GB, free: 9.98 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.634e-05/0.4108, allocations: 31.42 kB / 1.33 GB, free: 9.949 MB / 1.029 GB Notification: Performance of SimCode: time 4.51e-07/0.4108, allocations: 0 / 1.33 GB, free: 9.949 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02746/0.4382, allocations: 2.708 MB / 1.332 GB, free: 7.34 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.996/8.434, allocations: 8 kB / 1.332 GB, free: 7.332 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Controls_OBC_CDL_Integers_Validation_Min.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.csv. Warning: Get data of variable min1.u1 from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.csv failed! Error: Could not read variable min1.u2 in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.csv. Warning: Get data of variable min1.u2 from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.csv failed! Error: Could not read variable min1.y in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.csv. Warning: Get data of variable min1.y from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.372936693951488]