Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 223.3 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.939/2.939, allocations: 462.6 MB / 0.736 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003505/0.0003506, allocations: 8.781 kB / 0.9021 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4018/0.4021, allocations: 159.6 MB / 1.058 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.001408/0.4036, allocations: 487.5 kB / 1.058 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001341/0.405, allocations: 0.8624 MB / 1.059 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.596e-05/0.4051, allocations: 0 / 1.059 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.872e-05/0.4052, allocations: 3.938 kB / 1.059 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001154/0.4053, allocations: 7.938 kB / 1.059 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002198/0.4055, allocations: 31.97 kB / 1.059 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001409/0.4057, allocations: 79.72 kB / 1.059 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.4058, allocations: 15.98 kB / 1.059 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000116/0.4059, allocations: 31.84 kB / 1.06 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.926e-05/0.406, allocations: 43.83 kB / 1.06 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.454e-05/0.4061, allocations: 4 kB / 1.06 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.529e-05/0.4061, allocations: 4 kB / 1.06 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.266e-05/0.4061, allocations: 11.98 kB / 1.06 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.333e-05/0.4062, allocations: 41.62 kB / 1.06 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001017/0.4063, allocations: 59.86 kB / 1.06 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.4063, allocations: 0 / 1.06 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.344e-06/0.4063, allocations: 0 / 1.06 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.4063, allocations: 3.938 kB / 1.06 GB, free: 3.621 MB / 0.8106 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.0006936/0.407, allocations: 391.3 kB / 1.06 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.4071, allocations: 8.031 kB / 1.06 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.74e-05/0.4071, allocations: 7.906 kB / 1.06 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002326/0.4074, allocations: 175 kB / 1.06 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.4074, allocations: 4 kB / 1.06 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.572e-05/0.4074, allocations: 11.94 kB / 1.06 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003255/0.4078, allocations: 117.6 kB / 1.06 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.4078, allocations: 0 / 1.06 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.949e-05/0.4078, allocations: 11.94 kB / 1.06 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.4078, allocations: 0 / 1.06 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003497/0.4082, allocations: 119.9 kB / 1.06 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005593/0.4087, allocations: 348.6 kB / 1.061 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005815/0.4093, allocations: 130.6 kB / 1.061 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001801/0.4095, allocations: 64.81 kB / 1.061 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.506e-05/0.4096, allocations: 0 / 1.061 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.4096, allocations: 38.5 kB / 1.061 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.4096, allocations: 0 / 1.061 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0006666/0.4103, allocations: 217.4 kB / 1.061 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/0.4103, allocations: 51.41 kB / 1.061 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.4105, allocations: 121.8 kB / 1.061 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.4105, allocations: 29.7 kB / 1.061 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.951e-05/0.4106, allocations: 96.03 kB / 1.062 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.17e-05/0.4106, allocations: 19.75 kB / 1.062 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.532e-06/0.4106, allocations: 0 / 1.062 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.4107, allocations: 322.8 kB / 1.062 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00017/0.4109, allocations: 59.95 kB / 1.062 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001596/0.4111, allocations: 51.95 kB / 1.062 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001748/0.4113, allocations: 63.89 kB / 1.062 GB, free: 1 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.4113, allocations: 0 / 1.062 GB, free: 1 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003997/0.4117, allocations: 153.5 kB / 1.062 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.4117, allocations: 4 kB / 1.062 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.4117, allocations: 4 kB / 1.062 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.4117, allocations: 0 / 1.062 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.4119, allocations: 31.97 kB / 1.062 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.4119, allocations: 4 kB / 1.062 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001169/0.4121, allocations: 23.97 kB / 1.062 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/0.4121, allocations: 4 kB / 1.062 GB, free: 0.7734 MB / 0.8106 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 (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 initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001168/0.4122, allocations: 121.7 kB / 1.062 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.428e-05/0.4122, allocations: 7.844 kB / 1.062 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004821/0.4127, allocations: 181.9 kB / 1.063 GB, free: 464 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.4127, allocations: 0 / 1.063 GB, free: 464 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.4128, allocations: 3.938 kB / 1.063 GB, free: 460 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.4128, allocations: 0 / 1.063 GB, free: 460 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002376/0.413, allocations: 205.5 kB / 1.063 GB, free: 204 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.413, allocations: 0 / 1.063 GB, free: 204 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001645/0.4132, allocations: 27.97 kB / 1.063 GB, free: 176 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.4132, allocations: 4 kB / 1.063 GB, free: 172 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.4132, allocations: 0 / 1.063 GB, free: 172 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.4132, allocations: 0 / 1.063 GB, free: 172 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.4132, allocations: 4.625 kB / 1.063 GB, free: 168 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004909/0.4137, allocations: 267.2 kB / 1.063 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.243e-05/0.4138, allocations: 85.02 kB / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.134e-05/0.4138, allocations: 0 / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000141/0.414, allocations: 27.97 kB / 1.063 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.623e-05/0.4141, allocations: 15.98 kB / 1.063 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.4141, allocations: 3.984 kB / 1.063 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.096e-05/0.4141, allocations: 95.7 kB / 1.063 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of sort global known variables: time 5.31e-07/0.4142, allocations: 0 / 1.063 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002445/0.4144, allocations: 16 kB / 1.063 GB, free: 15.63 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001719/0.4146, allocations: 95.25 kB / 1.063 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004152/0.415, allocations: 127.8 kB / 1.063 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.415, allocations: 4 kB / 1.063 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002073/0.4152, allocations: 71.94 kB / 1.064 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003516/0.4156, allocations: 9.359 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005081/0.4161, allocations: 201.2 kB / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/0.4164, allocations: 0.6887 MB / 1.064 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.824e-05/0.4165, allocations: 12.19 kB / 1.064 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.113e-05/0.4166, allocations: 15.42 kB / 1.064 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of SimCode: time 5.61e-07/0.4166, allocations: 0 / 1.064 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of Templates: time 0.004227/0.4208, allocations: 1.305 MB / 1.066 GB, free: 13.05 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches