Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001063/0.001063, allocations: 92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 180.9 kB / 16.92 MB, free: 6.652 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.448/1.448, allocations: 223.3 MB / 241 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.784/2.784, allocations: 437.8 MB / 0.7128 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003705/0.0003707, allocations: 8.281 kB / 0.8735 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6924/0.6928, allocations: 153.8 MB / 1.024 GB, free: 16 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.001169/0.694, allocations: 0.4971 MB / 1.024 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001276/0.6953, allocations: 0.8546 MB / 1.025 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.887e-05/0.6954, allocations: 0 / 1.025 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.18e-05/0.6955, allocations: 3.938 kB / 1.025 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001221/0.6956, allocations: 19.91 kB / 1.025 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002044/0.6958, allocations: 31.91 kB / 1.025 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001274/0.696, allocations: 75.84 kB / 1.025 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.6961, allocations: 35.89 kB / 1.025 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.6962, allocations: 35.84 kB / 1.025 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.6963, allocations: 39.83 kB / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.537e-05/0.6964, allocations: 0 / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.542e-05/0.6964, allocations: 4 kB / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.93e-05/0.6964, allocations: 23.91 kB / 1.025 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.091e-05/0.6965, allocations: 45.56 kB / 1.025 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001066/0.6966, allocations: 63.86 kB / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.6966, allocations: 7.938 kB / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.005e-06/0.6966, allocations: 0 / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.6967, allocations: 0 / 1.025 GB, free: 14.25 MB / 0.7794 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.0006685/0.6973, allocations: 385.3 kB / 1.026 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.6974, allocations: 12.03 kB / 1.026 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.815e-05/0.6975, allocations: 8.844 kB / 1.026 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001775/0.6976, allocations: 184.2 kB / 1.026 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.6977, allocations: 4.375 kB / 1.026 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.084e-05/0.6977, allocations: 4.375 kB / 1.026 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003605/0.6981, allocations: 121.7 kB / 1.026 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.6981, allocations: 3.984 kB / 1.026 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.792e-05/0.6981, allocations: 4 kB / 1.026 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/0.6981, allocations: 4 kB / 1.026 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004055/0.6985, allocations: 115.8 kB / 1.026 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005996/0.6991, allocations: 352.6 kB / 1.027 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006461/0.6998, allocations: 130.5 kB / 1.027 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002049/0.7, allocations: 64.88 kB / 1.027 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.548e-05/0.7001, allocations: 4 kB / 1.027 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.7001, allocations: 30.56 kB / 1.027 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.7001, allocations: 0 / 1.027 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0007525/0.7008, allocations: 221.4 kB / 1.027 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/0.7009, allocations: 51.41 kB / 1.027 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.701, allocations: 121.8 kB / 1.027 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.7011, allocations: 25.7 kB / 1.027 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.512e-05/0.7011, allocations: 99.97 kB / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.166e-05/0.7011, allocations: 19.75 kB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.063e-05/0.7012, allocations: 25.66 kB / 1.027 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.7013, allocations: 318.8 kB / 1.028 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001936/0.7015, allocations: 51.95 kB / 1.028 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001906/0.7017, allocations: 63.95 kB / 1.028 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00038/0.7021, allocations: 117.2 kB / 1.028 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.7021, allocations: 0 / 1.028 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000448/0.7026, allocations: 165.5 kB / 1.028 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.7026, allocations: 4 kB / 1.028 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.7026, allocations: 3.938 kB / 1.028 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.7026, allocations: 7.984 kB / 1.028 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001956/0.7028, allocations: 35.91 kB / 1.028 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.7029, allocations: 0 / 1.028 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000128/0.703, allocations: 27.83 kB / 1.028 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.703, allocations: 0 / 1.028 GB, free: 11.29 MB / 0.7794 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 9.905e-05/0.7031, allocations: 113.8 kB / 1.028 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.289e-05/0.7032, allocations: 8 kB / 1.028 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000512/0.7037, allocations: 169.9 kB / 1.028 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.7037, allocations: 4 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.7037, allocations: 3.938 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.226e-06/0.7037, allocations: 3.938 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002347/0.704, allocations: 205.5 kB / 1.029 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.704, allocations: 4 kB / 1.029 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001633/0.7041, allocations: 31.97 kB / 1.029 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.7042, allocations: 0 / 1.029 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.7042, allocations: 0 / 1.029 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.7042, allocations: 0 / 1.029 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.7042, allocations: 4 kB / 1.029 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004971/0.7047, allocations: 255.4 kB / 1.029 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.454e-05/0.7047, allocations: 85.02 kB / 1.029 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.7048, allocations: 3.984 kB / 1.029 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001531/0.7049, allocations: 23.98 kB / 1.029 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.457e-05/0.705, allocations: 23.91 kB / 1.029 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.388e-06/0.705, allocations: 3.938 kB / 1.029 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.526e-05/0.7051, allocations: 99.64 kB / 1.029 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7051, allocations: 0 / 1.029 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002417/0.7054, allocations: 19.94 kB / 1.029 GB, free: 10.15 MB / 0.7794 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.0001363/0.7055, allocations: 99.23 kB / 1.029 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004551/0.706, allocations: 135.9 kB / 1.029 GB, free: 9.91 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.706, allocations: 0 / 1.029 GB, free: 9.91 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002163/0.7062, allocations: 63.89 kB / 1.029 GB, free: 9.848 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/0.7065, allocations: 8.328 kB / 1.029 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004991/0.707, allocations: 227 kB / 1.03 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002685/0.7073, allocations: 0.6926 MB / 1.03 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.887e-05/0.7074, allocations: 19.42 kB / 1.03 GB, free: 8.844 MB / 0.7794 GB Notification: Performance of SimCode: time 3.61e-07/0.7074, allocations: 4 kB / 1.03 GB, free: 8.84 MB / 0.7794 GB Notification: Performance of Templates: time 0.003224/0.7106, allocations: 1.223 MB / 1.031 GB, free: 7.629 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches