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.001637/0.001637, allocations: 110.4 kB / 18.94 MB, free: 2.793 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.002379/0.002379, allocations: 222.8 kB / 22.26 MB, free: 5.215 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.546/1.546, allocations: 230.6 MB / 256 MB, free: 8.02 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.472/3.472, allocations: 0.49 GB / 0.7951 GB, free: 33.36 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.002026/0.002026, allocations: 74.83 kB / 1.154 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4011/0.4031, allocations: 176.1 MB / 1.326 GB, free: 1.93 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002753/0.4058, allocations: 0.7827 MB / 1.327 GB, free: 1.152 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001326/0.4072, allocations: 0.9054 MB / 1.328 GB, free: 240 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.17e-05/0.4072, allocations: 4 kB / 1.328 GB, free: 236 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.93e-05/0.4073, allocations: 7.875 kB / 1.328 GB, free: 228 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.902e-05/0.4074, allocations: 3.938 kB / 1.328 GB, free: 224 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002031/0.4076, allocations: 47.88 kB / 1.328 GB, free: 176 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.4077, allocations: 83.83 kB / 1.328 GB, free: 92 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001471/0.4078, allocations: 24.25 kB / 1.328 GB, free: 68 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.408, allocations: 43.84 kB / 1.328 GB, free: 24 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001339/0.4081, allocations: 43.83 kB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.348e-05/0.4081, allocations: 8 kB / 1.328 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 2.746e-05/0.4082, allocations: 8 kB / 1.328 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.142e-05/0.4082, allocations: 27.91 kB / 1.328 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.741e-05/0.4083, allocations: 31.8 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001714/0.4084, allocations: 87.67 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.4084, allocations: 0 / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.724e-06/0.4084, allocations: 4 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.4084, allocations: 0 / 1.328 GB, free: 15.82 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.0007304/0.4092, allocations: 318 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.4092, allocations: 8.031 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.894e-05/0.4093, allocations: 46.67 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.94e-05/0.4093, allocations: 8.891 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001738/0.4095, allocations: 126.4 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.444e-05/0.4095, allocations: 8.375 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.4095, allocations: 12.12 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003217/0.4099, allocations: 101.6 kB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.4099, allocations: 0 / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.4099, allocations: 0 / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.4099, allocations: 0 / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003818/0.4103, allocations: 107.8 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006052/0.4109, allocations: 299.8 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006473/0.4115, allocations: 118.5 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001894/0.4117, allocations: 60.8 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.4117, allocations: 0 / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.4118, allocations: 38.55 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.4118, allocations: 0 / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0007052/0.4125, allocations: 177.5 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.939e-05/0.4125, allocations: 59.34 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.4127, allocations: 125.8 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.4127, allocations: 29.7 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.064e-05/0.4128, allocations: 88.09 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.55e-05/0.4128, allocations: 23.83 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.677e-05/0.4128, allocations: 29.64 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002009/0.413, allocations: 318.8 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000182/0.4132, allocations: 43.95 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001738/0.4134, allocations: 51.94 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003542/0.4138, allocations: 104.8 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.4138, allocations: 0 / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004005/0.4142, allocations: 126 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.434e-05/0.4142, allocations: 21.73 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.4142, allocations: 0 / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.4142, allocations: 0 / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000177/0.4144, allocations: 31.97 kB / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.4144, allocations: 3.938 kB / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.4145, allocations: 15.94 kB / 1.33 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.4145, allocations: 4 kB / 1.33 GB, free: 13.17 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.0001078/0.4146, allocations: 112.1 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.977e-05/0.4147, allocations: 7.984 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004925/0.4152, allocations: 161.9 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.4152, allocations: 0 / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/0.4152, allocations: 3.938 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.4152, allocations: 0 / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002358/0.4154, allocations: 180.6 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4154, allocations: 0 / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001623/0.4156, allocations: 27.97 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.4156, allocations: 0 / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.4156, allocations: 4 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.4156, allocations: 4 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.4156, allocations: 3.938 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004734/0.4161, allocations: 227.4 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.749e-05/0.4161, allocations: 11.94 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.504e-05/0.4161, allocations: 11.98 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001603/0.4163, allocations: 7.984 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.209e-05/0.4164, allocations: 27.91 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.4164, allocations: 0 / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.981e-05/0.4165, allocations: 95.7 kB / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4165, allocations: 0 / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002335/0.4167, allocations: 19.95 kB / 1.331 GB, free: 12.2 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.0008522/0.4175, allocations: 0.7632 MB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004137/0.418, allocations: 107.8 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.418, allocations: 0 / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001993/0.4182, allocations: 55.95 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000389/0.4185, allocations: 27.8 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002278/0.4208, allocations: 1.532 MB / 1.334 GB, free: 9.613 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003706/0.4212, allocations: 0.6924 MB / 1.334 GB, free: 8.895 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.113e-05/0.4213, allocations: 12 kB / 1.334 GB, free: 8.883 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.435e-05/0.4213, allocations: 27.42 kB / 1.334 GB, free: 8.855 MB / 1.029 GB Notification: Performance of SimCode: time 8.41e-07/0.4213, allocations: 0 / 1.334 GB, free: 8.855 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03029/0.4516, allocations: 2.841 MB / 1.337 GB, free: 6.148 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.53, allocations: 24.28 kB / 1.337 GB, free: 6.129 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Min_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.675270088016987]