Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00139/0.00139, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.00162/0.00162, allocations: 208 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.552/1.552, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.326/3.326, allocations: 0.5107 GB / 0.8158 GB, free: 17.79 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Min,fileNamePrefix="Buildings_latest_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.002065/0.002065, allocations: 71.67 kB / 1.186 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3563/0.3584, allocations: 181.9 MB / 1.363 GB, free: 14.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002464/0.3609, allocations: 0.7562 MB / 1.364 GB, free: 13.3 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001308/0.3622, allocations: 0.8821 MB / 1.365 GB, free: 12.4 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.153e-05/0.3622, allocations: 4 kB / 1.365 GB, free: 12.4 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.911e-05/0.3623, allocations: 7.938 kB / 1.365 GB, free: 12.39 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.145e-05/0.3623, allocations: 7.875 kB / 1.365 GB, free: 12.38 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001868/0.3625, allocations: 47.88 kB / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001269/0.3627, allocations: 83.83 kB / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.3628, allocations: 16.27 kB / 1.365 GB, free: 12.24 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.3629, allocations: 47.77 kB / 1.365 GB, free: 12.19 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.762e-05/0.363, allocations: 39.84 kB / 1.365 GB, free: 12.15 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.591e-05/0.363, allocations: 8 kB / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.871e-05/0.363, allocations: 8 kB / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.399e-05/0.363, allocations: 35.83 kB / 1.365 GB, free: 12.1 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.378e-05/0.3631, allocations: 27.86 kB / 1.365 GB, free: 12.07 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000154/0.3632, allocations: 83.67 kB / 1.365 GB, free: 11.99 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.3632, allocations: 0 / 1.365 GB, free: 11.99 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3632, allocations: 0 / 1.365 GB, free: 11.99 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.3632, allocations: 0 / 1.365 GB, free: 11.99 MB / 1.061 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.000749/0.364, allocations: 318 kB / 1.366 GB, free: 11.65 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.364, allocations: 12.03 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.531e-05/0.3641, allocations: 38.73 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.695e-05/0.3641, allocations: 12.89 kB / 1.366 GB, free: 11.58 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000202/0.3643, allocations: 126.4 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.36e-05/0.3644, allocations: 8.375 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.627e-05/0.3644, allocations: 8.125 kB / 1.366 GB, free: 11.42 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004327/0.3648, allocations: 112 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.3648, allocations: 0 / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.3648, allocations: 0 / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.3649, allocations: 4 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003808/0.3652, allocations: 103.9 kB / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005838/0.3658, allocations: 291.8 kB / 1.366 GB, free: 10.87 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006413/0.3665, allocations: 114.5 kB / 1.366 GB, free: 10.75 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001891/0.3666, allocations: 48.81 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.2e-05/0.3667, allocations: 12 kB / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.3667, allocations: 34.55 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.3667, allocations: 0 / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0007211/0.3674, allocations: 181.5 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/0.3675, allocations: 51.41 kB / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.3676, allocations: 133.7 kB / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.3676, allocations: 25.7 kB / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.794e-05/0.3677, allocations: 96.09 kB / 1.367 GB, free: 10.13 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.762e-05/0.3677, allocations: 23.78 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.882e-05/0.3678, allocations: 21.7 kB / 1.367 GB, free: 10.08 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.3679, allocations: 322.8 kB / 1.367 GB, free: 9.754 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000188/0.3681, allocations: 43.95 kB / 1.367 GB, free: 9.711 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001727/0.3683, allocations: 43.95 kB / 1.367 GB, free: 9.668 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000352/0.3686, allocations: 104.8 kB / 1.368 GB, free: 9.562 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.3687, allocations: 0 / 1.368 GB, free: 9.562 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004056/0.3691, allocations: 134 kB / 1.368 GB, free: 9.426 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.3691, allocations: 14.48 kB / 1.368 GB, free: 9.414 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.3691, allocations: 4 kB / 1.368 GB, free: 9.41 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.3691, allocations: 0 / 1.368 GB, free: 9.41 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001682/0.3693, allocations: 27.91 kB / 1.368 GB, free: 9.383 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.3693, allocations: 7.953 kB / 1.368 GB, free: 9.375 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.3694, allocations: 15.92 kB / 1.368 GB, free: 9.359 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.3694, allocations: 11.98 kB / 1.368 GB, free: 9.348 MB / 1.061 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 9.657e-05/0.3695, allocations: 113.8 kB / 1.368 GB, free: 9.227 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.109e-05/0.3695, allocations: 7.938 kB / 1.368 GB, free: 9.219 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004728/0.37, allocations: 150 kB / 1.368 GB, free: 9.062 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.37, allocations: 0 / 1.368 GB, free: 9.062 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.37, allocations: 3.938 kB / 1.368 GB, free: 9.059 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.37, allocations: 0 / 1.368 GB, free: 9.059 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002073/0.3702, allocations: 160.7 kB / 1.368 GB, free: 8.859 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.3702, allocations: 7.922 kB / 1.368 GB, free: 8.852 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001532/0.3704, allocations: 27.97 kB / 1.368 GB, free: 8.824 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.3704, allocations: 0 / 1.368 GB, free: 8.824 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.3704, allocations: 4 kB / 1.368 GB, free: 8.82 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.3704, allocations: 4 kB / 1.368 GB, free: 8.816 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.3704, allocations: 7.938 kB / 1.368 GB, free: 8.809 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004749/0.3709, allocations: 227.4 kB / 1.368 GB, free: 8.57 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.899e-05/0.3709, allocations: 7.953 kB / 1.368 GB, free: 8.562 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.075e-05/0.3709, allocations: 4 kB / 1.368 GB, free: 8.559 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001438/0.3711, allocations: 19.98 kB / 1.369 GB, free: 8.539 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.821e-05/0.3711, allocations: 23.91 kB / 1.369 GB, free: 8.516 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.3712, allocations: 7.984 kB / 1.369 GB, free: 8.508 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.798e-05/0.3712, allocations: 95.2 kB / 1.369 GB, free: 8.414 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3712, allocations: 0 / 1.369 GB, free: 8.414 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002715/0.3715, allocations: 16 kB / 1.369 GB, free: 8.398 MB / 1.061 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.0008258/0.3723, allocations: 0.7632 MB / 1.369 GB, free: 7.609 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004235/0.3728, allocations: 107.8 kB / 1.369 GB, free: 7.504 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3728, allocations: 0 / 1.369 GB, free: 7.504 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002118/0.373, allocations: 63.95 kB / 1.37 GB, free: 7.441 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003596/0.3733, allocations: 7.938 kB / 1.37 GB, free: 7.434 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002419/0.3758, allocations: 1.537 MB / 1.371 GB, free: 5.816 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.263e-05/0.3758, allocations: 79.27 kB / 1.371 GB, free: 5.719 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.208e-05/0.3759, allocations: 11.98 kB / 1.371 GB, free: 5.707 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.399e-05/0.376, allocations: 27.42 kB / 1.371 GB, free: 5.68 MB / 1.061 GB Notification: Performance of SimCode: time 6.01e-07/0.376, allocations: 192 / 1.371 GB, free: 5.68 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03618/0.4122, allocations: 3.36 MB / 1.374 GB, free: 2.457 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.92, allocations: 13.34 kB / 1.374 GB, free: 2.449 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Min.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.csv. Warning: Get data of variable min1.u1 from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.csv failed! Error: Could not read variable min1.u2 in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.csv. Warning: Get data of variable min1.u2 from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.csv failed! Error: Could not read variable min1.y in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.csv. Warning: Get data of variable min1.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.990764615125954]