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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 110.8 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 225.6 MB / 249.3 MB, free: 3.207 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.483/2.483, allocations: 476.7 MB / 0.7628 GB, free: 15.21 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 67.89 kB / 1.107 GB, free: 5.199 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7585/0.7604, allocations: 168.7 MB / 1.271 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.001671/0.7621, allocations: 0.7856 MB / 1.272 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007099/0.7628, allocations: 0.8699 MB / 1.273 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.291e-05/0.7628, allocations: 0.75 kB / 1.273 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.711e-05/0.7629, allocations: 12.91 kB / 1.273 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.93e-05/0.7629, allocations: 6.672 kB / 1.273 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001384/0.7631, allocations: 42.42 kB / 1.273 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.7632, allocations: 95.09 kB / 1.273 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.88e-05/0.7633, allocations: 18.3 kB / 1.273 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.962e-05/0.7633, allocations: 39.81 kB / 1.273 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.836e-05/0.7634, allocations: 49.69 kB / 1.273 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.296e-05/0.7634, allocations: 8.25 kB / 1.273 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.532e-05/0.7634, allocations: 7.406 kB / 1.273 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.139e-05/0.7635, allocations: 23.95 kB / 1.273 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.582e-05/0.7635, allocations: 35.25 kB / 1.273 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001199/0.7636, allocations: 93.03 kB / 1.273 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.7636, allocations: 0 / 1.273 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7636, allocations: 0.7188 kB / 1.273 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.7636, allocations: 0 / 1.273 GB, free: 6.371 MB / 0.9981 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.000484/0.7641, allocations: 395.4 kB / 1.274 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.7642, allocations: 9.281 kB / 1.274 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.792e-05/0.7642, allocations: 37.05 kB / 1.274 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.805e-05/0.7642, allocations: 9.5 kB / 1.274 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.411e-05/0.7643, allocations: 184.5 kB / 1.274 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.7643, allocations: 3.562 kB / 1.274 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/0.7643, allocations: 11.66 kB / 1.274 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002714/0.7646, allocations: 103.5 kB / 1.274 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.7646, allocations: 0.8438 kB / 1.274 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.7646, allocations: 0.7812 kB / 1.274 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.7646, allocations: 1.5 kB / 1.274 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003417/0.765, allocations: 107 kB / 1.274 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000386/0.7653, allocations: 346.4 kB / 1.275 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005672/0.7659, allocations: 116.9 kB / 1.275 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001725/0.7661, allocations: 55.17 kB / 1.275 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.7661, allocations: 0.7812 kB / 1.275 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.488e-06/0.7661, allocations: 32.28 kB / 1.275 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.7661, allocations: 0 / 1.275 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0006014/0.7667, allocations: 188.5 kB / 1.275 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.042e-05/0.7667, allocations: 57.34 kB / 1.275 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.315e-05/0.7668, allocations: 121.4 kB / 1.275 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.7668, allocations: 30.61 kB / 1.275 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.725e-05/0.7668, allocations: 100.9 kB / 1.275 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.983e-05/0.7669, allocations: 20.53 kB / 1.275 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.137e-05/0.7669, allocations: 24.28 kB / 1.275 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.27e-05/0.7669, allocations: 317.7 kB / 1.276 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001741/0.7671, allocations: 46.14 kB / 1.276 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001622/0.7673, allocations: 44.16 kB / 1.276 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003219/0.7676, allocations: 99.98 kB / 1.276 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.7676, allocations: 0 / 1.276 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003781/0.768, allocations: 139.3 kB / 1.276 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.768, allocations: 8.031 kB / 1.276 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.768, allocations: 1.562 kB / 1.276 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.768, allocations: 0 / 1.276 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001601/0.7682, allocations: 29.47 kB / 1.276 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.79e-06/0.7682, allocations: 5.125 kB / 1.276 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001075/0.7683, allocations: 19.39 kB / 1.276 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.7683, allocations: 4.172 kB / 1.276 GB, free: 4.371 MB / 0.9981 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 5.406e-05/0.7683, allocations: 113.6 kB / 1.276 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.007e-05/0.7684, allocations: 11.42 kB / 1.276 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004301/0.7688, allocations: 153.8 kB / 1.276 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.7688, allocations: 1.219 kB / 1.276 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.7688, allocations: 3.938 kB / 1.276 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.7688, allocations: 2.219 kB / 1.276 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000142/0.7689, allocations: 192.9 kB / 1.276 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.7689, allocations: 4.969 kB / 1.276 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001515/0.7691, allocations: 29.62 kB / 1.276 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.7691, allocations: 0 / 1.276 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.7691, allocations: 5.906 kB / 1.276 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.7691, allocations: 0 / 1.276 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.7691, allocations: 6.281 kB / 1.276 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004168/0.7695, allocations: 244 kB / 1.277 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.882e-05/0.7695, allocations: 82.44 kB / 1.277 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.7696, allocations: 5.594 kB / 1.277 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.7697, allocations: 11.52 kB / 1.277 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.923e-05/0.7698, allocations: 25.42 kB / 1.277 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/0.7698, allocations: 2.906 kB / 1.277 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.716e-05/0.7698, allocations: 97.69 kB / 1.277 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.7698, allocations: 0 / 1.277 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002209/0.77, allocations: 19.88 kB / 1.277 GB, free: 3.578 MB / 0.9981 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.0005755/0.7706, allocations: 0.77 MB / 1.278 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004008/0.771, allocations: 101.4 kB / 1.278 GB, free: 2.875 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.771, allocations: 1.281 kB / 1.278 GB, free: 2.875 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001966/0.7712, allocations: 59.64 kB / 1.278 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002694/0.7715, allocations: 17.44 kB / 1.278 GB, free: 2.852 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001739/0.7732, allocations: 1.549 MB / 1.279 GB, free: 17.56 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002984/0.7735, allocations: 0.6937 MB / 1.28 GB, free: 16.86 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 5.892e-05/0.7736, allocations: 11.28 kB / 1.28 GB, free: 16.86 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.193e-05/0.7736, allocations: 31.62 kB / 1.28 GB, free: 16.84 MB / 1.014 GB Notification: Performance of SimCode: time 2.91e-07/0.7736, allocations: 0 / 1.28 GB, free: 16.84 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02483/0.7985, allocations: 2.703 MB / 1.283 GB, free: 16.41 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.038/7.837, allocations: 3.594 kB / 1.283 GB, free: 16.41 MB / 1.014 GB " [Timeout remaining time 292] (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: 13.194134416997258]