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.001724/0.001724, 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.002302/0.002302, allocations: 212.1 kB / 22.24 MB, free: 5.262 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.501/1.501, allocations: 230.6 MB / 256 MB, free: 7.785 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.295/3.295, allocations: 0.4892 GB / 0.7943 GB, free: 35.74 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.002041/0.002041, allocations: 78.83 kB / 1.153 GB, free: 25.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3609/0.3629, allocations: 176.1 MB / 1.325 GB, free: 2.344 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002792/0.3657, allocations: 0.7647 MB / 1.326 GB, free: 1.59 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00152/0.3672, allocations: 0.886 MB / 1.327 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.537e-05/0.3673, allocations: 4 kB / 1.327 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.426e-05/0.3674, allocations: 7.875 kB / 1.327 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001063/0.3675, allocations: 11.86 kB / 1.327 GB, free: 0.668 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000227/0.3677, allocations: 35.95 kB / 1.327 GB, free: 0.6328 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001431/0.3678, allocations: 87.77 kB / 1.327 GB, free: 0.5469 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.368, allocations: 28.25 kB / 1.327 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.3681, allocations: 39.84 kB / 1.327 GB, free: 492 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.3682, allocations: 43.81 kB / 1.327 GB, free: 448 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.89e-05/0.3682, allocations: 8 kB / 1.327 GB, free: 440 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.839e-05/0.3682, allocations: 8 kB / 1.327 GB, free: 432 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.612e-05/0.3683, allocations: 23.92 kB / 1.327 GB, free: 408 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.725e-05/0.3683, allocations: 27.86 kB / 1.327 GB, free: 380 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001733/0.3685, allocations: 91.64 kB / 1.327 GB, free: 288 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.3685, allocations: 3.938 kB / 1.327 GB, free: 284 kB / 1.014 GB Notification: Performance of FrontEnd: time 2.635e-06/0.3685, allocations: 0 / 1.327 GB, free: 284 kB / 1.014 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.3685, allocations: 3.938 kB / 1.327 GB, free: 280 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007538/0.3693, allocations: 326 kB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.3693, allocations: 12.03 kB / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.043e-05/0.3694, allocations: 30.75 kB / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.425e-05/0.3694, allocations: 12.89 kB / 1.327 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001721/0.3696, allocations: 122.4 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.3696, allocations: 384 / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.222e-05/0.3696, allocations: 12.12 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003494/0.37, allocations: 109.6 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.37, allocations: 0 / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.37, allocations: 3.938 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.37, allocations: 4 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003995/0.3704, allocations: 99.91 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006859/0.3711, allocations: 287.8 kB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006678/0.3718, allocations: 126.5 kB / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002087/0.372, allocations: 48.81 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.65e-05/0.372, allocations: 4 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/0.372, allocations: 34.56 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.372, allocations: 0 / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0007222/0.3728, allocations: 185.5 kB / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.95e-05/0.3728, allocations: 55.39 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.3729, allocations: 121.8 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.373, allocations: 25.7 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.181e-05/0.373, allocations: 96.08 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.36e-05/0.3731, allocations: 19.84 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.208e-05/0.3731, allocations: 25.7 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001683/0.3733, allocations: 314.8 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001881/0.3735, allocations: 51.94 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001677/0.3737, allocations: 43.95 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003477/0.374, allocations: 101.2 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.374, allocations: 0 / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004226/0.3744, allocations: 145.5 kB / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.3744, allocations: 8 kB / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.3744, allocations: 3.938 kB / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.608e-05/0.3745, allocations: 0 / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.3746, allocations: 23.97 kB / 1.329 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.3747, allocations: 3.938 kB / 1.329 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001331/0.3748, allocations: 19.94 kB / 1.329 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.3748, allocations: 7.984 kB / 1.329 GB, free: 13.64 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.0001158/0.3749, allocations: 114.4 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.079e-05/0.3749, allocations: 3.938 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000499/0.3754, allocations: 153.9 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.3755, allocations: 7.984 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.3755, allocations: 3.938 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.3755, allocations: 0 / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002328/0.3757, allocations: 168.6 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3757, allocations: 0 / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001591/0.3759, allocations: 23.97 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.3759, allocations: 0 / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.3759, allocations: 0 / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.3759, allocations: 4 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.3759, allocations: 3.938 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005088/0.3764, allocations: 239.3 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.81e-05/0.3764, allocations: 8 kB / 1.33 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/0.3764, allocations: 0 / 1.33 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.3766, allocations: 19.97 kB / 1.33 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.015e-05/0.3766, allocations: 23.91 kB / 1.33 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.3767, allocations: 8 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.798e-05/0.3767, allocations: 91.27 kB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3767, allocations: 4 kB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002402/0.377, allocations: 15.95 kB / 1.33 GB, free: 12.69 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.0008962/0.3779, allocations: 0.767 MB / 1.331 GB, free: 11.9 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000444/0.3783, allocations: 111.9 kB / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3783, allocations: 0 / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002046/0.3785, allocations: 51.95 kB / 1.331 GB, free: 11.74 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.3789, allocations: 19.86 kB / 1.331 GB, free: 11.72 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002304/0.3812, allocations: 1.533 MB / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.823e-05/0.3812, allocations: 71.34 kB / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.112e-05/0.3813, allocations: 15.98 kB / 1.333 GB, free: 10 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.845e-05/0.3814, allocations: 27.42 kB / 1.333 GB, free: 9.973 MB / 1.029 GB Notification: Performance of SimCode: time 5.01e-07/0.3814, allocations: 0 / 1.333 GB, free: 9.973 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03474/0.4161, allocations: 3.367 MB / 1.336 GB, free: 6.746 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.9, allocations: 13.34 kB / 1.336 GB, free: 6.738 MB / 1.029 GB " [Timeout remaining time 288] (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: 18.956241487059742]