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.001736/0.001736, allocations: 114.7 kB / 17.6 MB, free: 4.668 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.002128/0.002128, allocations: 189.9 kB / 20.78 MB, free: 1.5 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.457/1.457, allocations: 225.6 MB / 249.4 MB, free: 3.137 MB / 190.1 MB " [Timeout remaining time 178] 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.76/2.76, allocations: 476.7 MB / 0.7629 GB, free: 15.11 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.001946/0.001946, allocations: 67.89 kB / 1.107 GB, free: 5.059 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9582/0.9602, allocations: 168.7 MB / 1.272 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.001837/0.962, allocations: 0.7939 MB / 1.272 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008578/0.9629, allocations: 0.8631 MB / 1.273 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.079e-05/0.9629, allocations: 5.438 kB / 1.273 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.007e-05/0.9629, allocations: 5.156 kB / 1.273 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.97e-05/0.963, allocations: 14.3 kB / 1.273 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001573/0.9632, allocations: 42 kB / 1.273 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001204/0.9633, allocations: 87.77 kB / 1.273 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.9634, allocations: 18.05 kB / 1.273 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.024e-05/0.9635, allocations: 40.47 kB / 1.273 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.078e-05/0.9636, allocations: 49.11 kB / 1.273 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.319e-05/0.9636, allocations: 8.344 kB / 1.273 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.873e-05/0.9636, allocations: 8.375 kB / 1.273 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.577e-05/0.9636, allocations: 26.91 kB / 1.273 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.007e-05/0.9637, allocations: 39.61 kB / 1.273 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000133/0.9638, allocations: 88.73 kB / 1.274 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.9638, allocations: 0 / 1.274 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.373e-06/0.9638, allocations: 0 / 1.274 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.9638, allocations: 0.7188 kB / 1.274 GB, free: 6.332 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.0005387/0.9644, allocations: 390.3 kB / 1.274 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.9644, allocations: 11.03 kB / 1.274 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.652e-05/0.9644, allocations: 40.44 kB / 1.274 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.046e-05/0.9645, allocations: 10.66 kB / 1.274 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.9646, allocations: 177.5 kB / 1.274 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.9646, allocations: 7.438 kB / 1.274 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.9646, allocations: 8.469 kB / 1.274 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003004/0.9649, allocations: 101.1 kB / 1.274 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.9649, allocations: 0 / 1.274 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.9649, allocations: 5.625 kB / 1.274 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.9649, allocations: 5.812 kB / 1.274 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004419/0.9654, allocations: 94.14 kB / 1.274 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004828/0.9658, allocations: 352.7 kB / 1.275 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006127/0.9665, allocations: 118.2 kB / 1.275 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001869/0.9666, allocations: 52.23 kB / 1.275 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.9667, allocations: 1.031 kB / 1.275 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.235e-05/0.9667, allocations: 35.38 kB / 1.275 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.9667, allocations: 0.6875 kB / 1.275 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0006612/0.9673, allocations: 187.3 kB / 1.275 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.501e-05/0.9674, allocations: 52.22 kB / 1.275 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.153e-05/0.9674, allocations: 123.1 kB / 1.275 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.9675, allocations: 26.55 kB / 1.275 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.248e-05/0.9675, allocations: 100.8 kB / 1.275 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.245e-05/0.9675, allocations: 20.92 kB / 1.275 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.552e-05/0.9676, allocations: 23.61 kB / 1.275 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.402e-05/0.9676, allocations: 319.4 kB / 1.276 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001847/0.9678, allocations: 47.92 kB / 1.276 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001706/0.968, allocations: 44.64 kB / 1.276 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003523/0.9683, allocations: 99.91 kB / 1.276 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.9683, allocations: 0.9062 kB / 1.276 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004014/0.9687, allocations: 135.1 kB / 1.276 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.9687, allocations: 9.781 kB / 1.276 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.9687, allocations: 0 / 1.276 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.9687, allocations: 0.6875 kB / 1.276 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001726/0.9689, allocations: 28.73 kB / 1.276 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.9689, allocations: 8.844 kB / 1.276 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001206/0.969, allocations: 16.44 kB / 1.276 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.9691, allocations: 5.688 kB / 1.276 GB, free: 4.336 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 6.701e-05/0.9691, allocations: 122.8 kB / 1.276 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.209e-05/0.9692, allocations: 7.203 kB / 1.276 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004919/0.9696, allocations: 152.5 kB / 1.276 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.9696, allocations: 0.9375 kB / 1.276 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.9697, allocations: 3.938 kB / 1.276 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.9697, allocations: 0.9688 kB / 1.276 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000168/0.9698, allocations: 196.7 kB / 1.277 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.9698, allocations: 0.7812 kB / 1.277 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001613/0.97, allocations: 28.47 kB / 1.277 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.97, allocations: 3.938 kB / 1.277 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.97, allocations: 3.625 kB / 1.277 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.97, allocations: 0.8125 kB / 1.277 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.97, allocations: 3.938 kB / 1.277 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004324/0.9704, allocations: 244.8 kB / 1.277 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.399e-05/0.9705, allocations: 83.84 kB / 1.277 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.859e-05/0.9705, allocations: 0.9688 kB / 1.277 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.9706, allocations: 12.19 kB / 1.277 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.447e-05/0.9707, allocations: 30.27 kB / 1.277 GB, free: 3.633 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.9707, allocations: 1.906 kB / 1.277 GB, free: 3.633 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.1e-05/0.9708, allocations: 106.5 kB / 1.277 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.9708, allocations: 4.656 kB / 1.277 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002336/0.971, allocations: 15.41 kB / 1.277 GB, free: 3.535 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.0006408/0.9716, allocations: 0.7642 MB / 1.278 GB, free: 2.852 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004795/0.9721, allocations: 108.3 kB / 1.278 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.9721, allocations: 0.6875 kB / 1.278 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000208/0.9723, allocations: 54.38 kB / 1.278 GB, free: 2.82 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003322/0.9727, allocations: 17.7 kB / 1.278 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001978/0.9746, allocations: 1.548 MB / 1.28 GB, free: 17.52 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/0.975, allocations: 0.6949 MB / 1.28 GB, free: 16.82 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 6.275e-05/0.975, allocations: 10.5 kB / 1.28 GB, free: 16.82 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.127e-05/0.9751, allocations: 31.84 kB / 1.28 GB, free: 16.8 MB / 1.014 GB Notification: Performance of SimCode: time 3.3e-07/0.9751, allocations: 0 / 1.28 GB, free: 16.8 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02465/0.9998, allocations: 2.701 MB / 1.283 GB, free: 16.37 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.903/8.903, allocations: 6.609 kB / 1.283 GB, free: 16.37 MB / 1.014 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Min_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,min1.u1,min1.u2,min1.y Variables in the result:min1.u1,min1.u2,min1.y,ramp1.duration,ramp1.height,ramp1.offset,ramp1.startTime,ramp1.y,ramp2.duration,ramp2.height,ramp2.offset,ramp2.startTime,ramp2.y,reaToInt.u,reaToInt.y,reaToInt1.u,reaToInt1.y,round1.n,round1.u,round1.y,round2.n,round2.u,round2.y,time [Calling sys.exit(0), Time elapsed: 14.920936503011035]