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.001294/0.001294, allocations: 107.5 kB / 16.45 MB, free: 6.5 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.001434/0.001434, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.556/1.556, allocations: 230.6 MB / 252.8 MB, free: 8.977 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.8/2.8, allocations: 476.7 MB / 0.7672 GB, free: 5.234 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.002043/0.002043, allocations: 71.53 kB / 1.112 GB, free: 9.207 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3435, allocations: 169.9 MB / 1.278 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002005/0.3455, allocations: 0.7784 MB / 1.279 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00112/0.3466, allocations: 0.8977 MB / 1.28 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.732e-05/0.3466, allocations: 0 / 1.28 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.048e-05/0.3467, allocations: 3.938 kB / 1.28 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.501e-05/0.3468, allocations: 11.88 kB / 1.28 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001903/0.347, allocations: 39.94 kB / 1.28 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001446/0.3471, allocations: 83.83 kB / 1.28 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.3472, allocations: 23.97 kB / 1.28 GB, free: 3.457 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.705e-05/0.3473, allocations: 43.78 kB / 1.28 GB, free: 3.414 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.912e-05/0.3474, allocations: 51.81 kB / 1.28 GB, free: 3.363 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.881e-05/0.3475, allocations: 8 kB / 1.28 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.791e-05/0.3475, allocations: 12 kB / 1.28 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.515e-05/0.3475, allocations: 19.86 kB / 1.28 GB, free: 3.324 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.452e-05/0.3476, allocations: 39.78 kB / 1.28 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001713/0.3477, allocations: 83.95 kB / 1.28 GB, free: 3.203 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.3478, allocations: 0 / 1.28 GB, free: 3.203 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3478, allocations: 0 / 1.28 GB, free: 3.203 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.3478, allocations: 0 / 1.28 GB, free: 3.203 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.0007593/0.3485, allocations: 395.1 kB / 1.281 GB, free: 2.77 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.3486, allocations: 16.03 kB / 1.281 GB, free: 2.754 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.929e-05/0.3486, allocations: 38.73 kB / 1.281 GB, free: 2.707 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.951e-05/0.3487, allocations: 8.891 kB / 1.281 GB, free: 2.699 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001915/0.3489, allocations: 180.3 kB / 1.281 GB, free: 2.484 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.3489, allocations: 4.375 kB / 1.281 GB, free: 2.48 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.3489, allocations: 8.125 kB / 1.281 GB, free: 2.473 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003447/0.3492, allocations: 113.2 kB / 1.281 GB, free: 2.359 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.106e-06/0.3493, allocations: 0 / 1.281 GB, free: 2.359 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.3493, allocations: 7.938 kB / 1.281 GB, free: 2.352 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.3493, allocations: 7.969 kB / 1.281 GB, free: 2.344 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004233/0.3497, allocations: 91.91 kB / 1.281 GB, free: 2.254 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006052/0.3503, allocations: 348.6 kB / 1.281 GB, free: 1.863 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006617/0.351, allocations: 114.6 kB / 1.282 GB, free: 1.742 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002112/0.3512, allocations: 52.81 kB / 1.282 GB, free: 1.688 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.971e-05/0.3512, allocations: 7.984 kB / 1.282 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.3512, allocations: 34.5 kB / 1.282 GB, free: 1.637 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.3512, allocations: 4 kB / 1.282 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0007241/0.352, allocations: 181.5 kB / 1.282 GB, free: 1.449 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.352, allocations: 51.41 kB / 1.282 GB, free: 1.387 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.3521, allocations: 125.7 kB / 1.282 GB, free: 1.254 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.3521, allocations: 33.7 kB / 1.282 GB, free: 1.215 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.509e-05/0.3522, allocations: 96.08 kB / 1.282 GB, free: 1.117 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.834e-05/0.3522, allocations: 15.84 kB / 1.282 GB, free: 1.102 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.152e-05/0.3523, allocations: 25.7 kB / 1.282 GB, free: 1.07 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.3524, allocations: 318.8 kB / 1.283 GB, free: 0.75 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002004/0.3526, allocations: 43.95 kB / 1.283 GB, free: 0.707 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000186/0.3528, allocations: 51.95 kB / 1.283 GB, free: 0.6562 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003661/0.3532, allocations: 96.7 kB / 1.283 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3532, allocations: 0 / 1.283 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004608/0.3536, allocations: 141.5 kB / 1.283 GB, free: 424 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.3536, allocations: 4 kB / 1.283 GB, free: 420 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.3537, allocations: 3.938 kB / 1.283 GB, free: 416 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.3537, allocations: 0 / 1.283 GB, free: 416 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001772/0.3538, allocations: 23.97 kB / 1.283 GB, free: 392 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.3538, allocations: 3.938 kB / 1.283 GB, free: 388 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001181/0.354, allocations: 15.98 kB / 1.283 GB, free: 372 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.46e-05/0.354, allocations: 7.984 kB / 1.283 GB, free: 364 kB / 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.0001127/0.3541, allocations: 131.7 kB / 1.283 GB, free: 224 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.522e-05/0.3541, allocations: 7.953 kB / 1.283 GB, free: 216 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005079/0.3546, allocations: 142.5 kB / 1.283 GB, free: 60 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.3546, allocations: 0 / 1.283 GB, free: 60 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.3546, allocations: 3.938 kB / 1.283 GB, free: 56 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.3547, allocations: 7.984 kB / 1.283 GB, free: 48 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002509/0.3549, allocations: 201.6 kB / 1.283 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3549, allocations: 0 / 1.283 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001746/0.3551, allocations: 27.91 kB / 1.283 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.3551, allocations: 0 / 1.283 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.799e-05/0.3551, allocations: 11.98 kB / 1.283 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3551, allocations: 0 / 1.283 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.3551, allocations: 3.938 kB / 1.283 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005115/0.3556, allocations: 231.5 kB / 1.284 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.378e-05/0.3557, allocations: 85 kB / 1.284 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.3557, allocations: 4 kB / 1.284 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001507/0.3558, allocations: 11.98 kB / 1.284 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.718e-05/0.3559, allocations: 27.91 kB / 1.284 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.3559, allocations: 4 kB / 1.284 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.566e-05/0.356, allocations: 95.27 kB / 1.284 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.356, allocations: 0 / 1.284 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002335/0.3562, allocations: 15.95 kB / 1.284 GB, free: 15.26 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.0008462/0.3571, allocations: 0.7715 MB / 1.285 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004641/0.3575, allocations: 103.9 kB / 1.285 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3575, allocations: 0 / 1.285 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002209/0.3578, allocations: 67.88 kB / 1.285 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002861/0.358, allocations: 8.703 kB / 1.285 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002335/0.3604, allocations: 1.541 MB / 1.286 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/0.3607, allocations: 0.6942 MB / 1.287 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 5.945e-05/0.3608, allocations: 15.94 kB / 1.287 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.895e-05/0.3608, allocations: 27.42 kB / 1.287 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of SimCode: time 4.21e-07/0.3608, allocations: 3.938 kB / 1.287 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02562/0.3865, allocations: 2.714 MB / 1.29 GB, free: 9.273 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.982/8.369, allocations: 5.25 kB / 1.29 GB, free: 9.27 MB / 0.9981 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: 15.170083125820383]