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.001707/0.001707, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.002191/0.002191, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.528/1.528, allocations: 230.6 MB / 256 MB, free: 7.953 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.198/3.198, allocations: 0.49 GB / 0.7951 GB, free: 33.44 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.002813/0.002813, allocations: 68.69 kB / 1.154 GB, free: 25.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.3656, allocations: 176.1 MB / 1.326 GB, free: 1.922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002348/0.3679, allocations: 0.779 MB / 1.327 GB, free: 1.148 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001226/0.3691, allocations: 0.9054 MB / 1.328 GB, free: 236 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.943e-05/0.3692, allocations: 0 / 1.328 GB, free: 236 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.146e-05/0.3692, allocations: 3.938 kB / 1.328 GB, free: 232 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.754e-05/0.3693, allocations: 23.84 kB / 1.328 GB, free: 208 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001775/0.3695, allocations: 31.97 kB / 1.328 GB, free: 176 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001292/0.3696, allocations: 87.75 kB / 1.328 GB, free: 88 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.3697, allocations: 24.27 kB / 1.328 GB, free: 64 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.916e-05/0.3698, allocations: 39.91 kB / 1.328 GB, free: 24 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.3699, allocations: 51.81 kB / 1.328 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.607e-05/0.37, allocations: 8 kB / 1.328 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.604e-05/0.37, allocations: 8 kB / 1.328 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.572e-05/0.37, allocations: 19.92 kB / 1.328 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.93e-05/0.3701, allocations: 39.78 kB / 1.328 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000149/0.3702, allocations: 91.59 kB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.3702, allocations: 0 / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.793e-06/0.3702, allocations: 0 / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.3702, allocations: 4 kB / 1.328 GB, free: 15.8 MB / 1.029 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.0006365/0.3709, allocations: 322 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.3709, allocations: 11.97 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.916e-05/0.3709, allocations: 42.75 kB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.146e-05/0.371, allocations: 8.891 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.3711, allocations: 126.4 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.3711, allocations: 4.375 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.895e-05/0.3711, allocations: 16.06 kB / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003015/0.3714, allocations: 97.61 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.3715, allocations: 0 / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.3715, allocations: 4 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.3715, allocations: 0 / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003581/0.3718, allocations: 99.91 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005447/0.3724, allocations: 311.7 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006253/0.373, allocations: 122.6 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001947/0.3732, allocations: 48.81 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/0.3732, allocations: 0 / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.3733, allocations: 34.56 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 8.01e-07/0.3733, allocations: 0 / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0006729/0.3739, allocations: 181.5 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.085e-05/0.374, allocations: 59.39 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.3741, allocations: 121.8 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.3741, allocations: 25.7 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.553e-05/0.3742, allocations: 96.08 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.205e-05/0.3742, allocations: 27.83 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.938e-05/0.3743, allocations: 21.7 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.3744, allocations: 322.8 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001854/0.3746, allocations: 43.95 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001664/0.3748, allocations: 43.95 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003413/0.3751, allocations: 100.7 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3751, allocations: 4 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004076/0.3755, allocations: 134 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.3755, allocations: 8 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.3755, allocations: 4.078 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.3755, allocations: 3.938 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/0.3757, allocations: 23.97 kB / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.3757, allocations: 7.922 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001183/0.3758, allocations: 19.92 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.3759, allocations: 3.984 kB / 1.33 GB, free: 13.16 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.0001038/0.376, allocations: 117.8 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.048e-05/0.376, allocations: 4 kB / 1.33 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004662/0.3765, allocations: 153.9 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.3765, allocations: 4 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.3765, allocations: 3.938 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.3765, allocations: 7.922 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002286/0.3767, allocations: 172.6 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3767, allocations: 4 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001557/0.3769, allocations: 23.97 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.3769, allocations: 4 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.3769, allocations: 3.984 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3769, allocations: 0 / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.3769, allocations: 7.875 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004705/0.3773, allocations: 239.4 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.229e-05/0.3774, allocations: 4 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.3774, allocations: 0 / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.3775, allocations: 15.98 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.89e-05/0.3776, allocations: 27.91 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.605e-06/0.3776, allocations: 0 / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.312e-05/0.3777, allocations: 99.27 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3777, allocations: 4 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002336/0.3779, allocations: 15.95 kB / 1.331 GB, free: 12.19 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.0007948/0.3787, allocations: 0.767 MB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004165/0.3791, allocations: 99.91 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.3791, allocations: 0 / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002058/0.3793, allocations: 63.88 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004102/0.3797, allocations: 19.91 kB / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002477/0.3822, allocations: 1.529 MB / 1.334 GB, free: 9.609 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003589/0.3826, allocations: 0.6963 MB / 1.334 GB, free: 8.887 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.009e-05/0.3826, allocations: 8 kB / 1.334 GB, free: 8.879 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.932e-05/0.3827, allocations: 31.42 kB / 1.334 GB, free: 8.848 MB / 1.029 GB Notification: Performance of SimCode: time 3.2e-07/0.3827, allocations: 0 / 1.334 GB, free: 8.848 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02958/0.4123, allocations: 2.85 MB / 1.337 GB, free: 6.129 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11.13, allocations: 4.125 kB / 1.337 GB, free: 6.129 MB / 1.029 GB " [Timeout remaining time 289] (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.107942372000252]