Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: 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_9_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_9_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.007292/0.007292, allocations: 99.67 kB / 15.73 MB, free: 6.008 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.001205/0.001205, allocations: 193.4 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.372/2.372, allocations: 390.2 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 71.91 kB / 0.9509 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9794/0.9809, allocations: 140.4 MB / 1.088 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002124/0.9831, allocations: 0.7859 MB / 1.089 GB, free: 5.012 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009785/0.9841, allocations: 0.8597 MB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.954e-05/0.9842, allocations: 0.875 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.323e-05/0.9842, allocations: 5.719 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.762e-05/0.9843, allocations: 13.91 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001739/0.9845, allocations: 39.19 kB / 1.09 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000129/0.9847, allocations: 86.92 kB / 1.09 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000154/0.9848, allocations: 25.75 kB / 1.09 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.9849, allocations: 36.44 kB / 1.09 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/0.985, allocations: 49.05 kB / 1.09 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.077e-05/0.9851, allocations: 8.594 kB / 1.09 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.018e-05/0.9851, allocations: 11.41 kB / 1.09 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.545e-05/0.9851, allocations: 19.55 kB / 1.09 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.75e-05/0.9852, allocations: 42.89 kB / 1.09 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001474/0.9854, allocations: 86.45 kB / 1.09 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.9854, allocations: 0.9375 kB / 1.09 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.583e-06/0.9854, allocations: 0 / 1.09 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.193e-06/0.9854, allocations: 0 / 1.09 GB, free: 4.16 MB / 0.8575 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.0005802/0.986, allocations: 402.3 kB / 1.09 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.986, allocations: 9.281 kB / 1.09 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.1e-05/0.9861, allocations: 9.484 kB / 1.09 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.642e-05/0.9862, allocations: 178.3 kB / 1.091 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.9862, allocations: 6.906 kB / 1.091 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.065e-05/0.9862, allocations: 9.344 kB / 1.091 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003347/0.9866, allocations: 105.3 kB / 1.091 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.9866, allocations: 0 / 1.091 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.9866, allocations: 1.312 kB / 1.091 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.9866, allocations: 1.25 kB / 1.091 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004339/0.987, allocations: 104.9 kB / 1.091 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005677/0.9876, allocations: 345.8 kB / 1.091 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006832/0.9883, allocations: 125.2 kB / 1.091 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002059/0.9885, allocations: 55.41 kB / 1.091 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.754e-05/0.9886, allocations: 2.797 kB / 1.091 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.496e-05/0.9886, allocations: 35.56 kB / 1.091 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.173e-06/0.9886, allocations: 0 / 1.091 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.000755/0.9894, allocations: 191.3 kB / 1.091 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.073e-05/0.9894, allocations: 52.25 kB / 1.092 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.694e-05/0.9895, allocations: 128 kB / 1.092 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.9895, allocations: 25.7 kB / 1.092 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.337e-05/0.9896, allocations: 101.4 kB / 1.092 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.608e-05/0.9896, allocations: 12.25 kB / 1.092 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.025e-05/0.9897, allocations: 31.67 kB / 1.092 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.385e-05/0.9897, allocations: 314.4 kB / 1.092 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002268/0.99, allocations: 44.56 kB / 1.092 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002029/0.9902, allocations: 57.14 kB / 1.092 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004/0.9906, allocations: 100.4 kB / 1.092 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.145e-06/0.9906, allocations: 0 / 1.092 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004655/0.9911, allocations: 135.9 kB / 1.092 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.9911, allocations: 4.781 kB / 1.092 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/0.9911, allocations: 0 / 1.092 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.9911, allocations: 0.9062 kB / 1.092 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001945/0.9913, allocations: 29.12 kB / 1.092 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.9913, allocations: 0 / 1.092 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001295/0.9915, allocations: 28.7 kB / 1.092 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.9915, allocations: 3.984 kB / 1.092 GB, free: 2.188 MB / 0.8575 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 7.392e-05/0.9916, allocations: 117.4 kB / 1.093 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.9916, allocations: 3.625 kB / 1.093 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005147/0.9921, allocations: 153.3 kB / 1.093 GB, free: 2 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.9922, allocations: 0.8125 kB / 1.093 GB, free: 2 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.9922, allocations: 0.6094 kB / 1.093 GB, free: 2 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.712e-05/0.9922, allocations: 4.562 kB / 1.093 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001931/0.9924, allocations: 199.5 kB / 1.093 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.9924, allocations: 0 / 1.093 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001763/0.9926, allocations: 27.89 kB / 1.093 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.155e-06/0.9926, allocations: 5 kB / 1.093 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.9926, allocations: 2.828 kB / 1.093 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.9926, allocations: 0.7812 kB / 1.093 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.9926, allocations: 0 / 1.093 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004944/0.9931, allocations: 244 kB / 1.093 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.716e-05/0.9932, allocations: 79.56 kB / 1.093 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.344e-05/0.9932, allocations: 1.781 kB / 1.093 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.9933, allocations: 15.25 kB / 1.093 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.923e-05/0.9934, allocations: 20.91 kB / 1.093 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/0.9935, allocations: 12.17 kB / 1.093 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.741e-05/0.9935, allocations: 92.56 kB / 1.093 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9935, allocations: 0.8438 kB / 1.093 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002541/0.9938, allocations: 15.48 kB / 1.093 GB, free: 1.418 MB / 0.8575 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.0001138/0.9939, allocations: 118.6 kB / 1.094 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004789/0.9944, allocations: 99.5 kB / 1.094 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.9944, allocations: 0 / 1.094 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002349/0.9946, allocations: 70.02 kB / 1.094 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003408/0.995, allocations: 8.5 kB / 1.094 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004152/0.9954, allocations: 172.2 kB / 1.094 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001275/0.9955, allocations: 0.6898 MB / 1.095 GB, free: 440 kB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.499e-05/0.9956, allocations: 16.3 kB / 1.095 GB, free: 432 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.818e-05/0.9957, allocations: 21.16 kB / 1.095 GB, free: 420 kB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.9957, allocations: 0 / 1.095 GB, free: 420 kB / 0.8575 GB Notification: Performance of Templates: time 0.004895/1.001, allocations: 1.583 MB / 1.096 GB, free: 300 kB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches