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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.00139/0.00139, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001417/0.001417, allocations: 194.5 kB / 16.14 MB, free: 6.629 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.634/1.634, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 3.096/3.096, allocations: 437 MB / 0.71 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 67.91 kB / 0.8686 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.958/0.96, allocations: 151.6 MB / 1.017 GB, free: 2.797 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.00242/0.9625, allocations: 0.8436 MB / 1.017 GB, free: 1.953 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001231/0.9638, allocations: 0.8584 MB / 1.018 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.374e-05/0.9638, allocations: 4 kB / 1.018 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 6.58e-05/0.9639, allocations: 7.922 kB / 1.018 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001045/0.964, allocations: 11.94 kB / 1.018 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001957/0.9642, allocations: 31.91 kB / 1.018 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001234/0.9644, allocations: 79.88 kB / 1.018 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000146/0.9645, allocations: 27.89 kB / 1.018 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.226e-05/0.9646, allocations: 47.72 kB / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.9647, allocations: 47.81 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.561e-05/0.9648, allocations: 4 kB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.272e-05/0.9648, allocations: 8 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.307e-05/0.9648, allocations: 11.92 kB / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.659e-05/0.9649, allocations: 35.84 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001491/0.965, allocations: 87.66 kB / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.9651, allocations: 0 / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.413e-06/0.9651, allocations: 0 / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.9651, allocations: 0 / 1.019 GB, free: 0.6836 MB / 0.7637 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.0007735/0.9659, allocations: 389.3 kB / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.9659, allocations: 8.031 kB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.552e-05/0.966, allocations: 8.844 kB / 1.019 GB, free: 248 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001944/0.9662, allocations: 184.2 kB / 1.019 GB, free: 24 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/0.9662, allocations: 4.375 kB / 1.019 GB, free: 20 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.248e-05/0.9662, allocations: 4.375 kB / 1.019 GB, free: 16 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003798/0.9666, allocations: 117.8 kB / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.9666, allocations: 0 / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.9666, allocations: 0 / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.9667, allocations: 0 / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004146/0.9671, allocations: 95.89 kB / 1.019 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006553/0.9677, allocations: 352.5 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006889/0.9684, allocations: 118.6 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001987/0.9686, allocations: 52.81 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.993e-05/0.9687, allocations: 4 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.501e-05/0.9687, allocations: 46.47 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.233e-06/0.9687, allocations: 0 / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0006921/0.9694, allocations: 181.5 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.682e-05/0.9695, allocations: 55.41 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.9696, allocations: 121.8 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.9697, allocations: 25.7 kB / 1.02 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.257e-05/0.9697, allocations: 95.98 kB / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.222e-05/0.9698, allocations: 19.73 kB / 1.02 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.737e-05/0.9698, allocations: 29.7 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.97, allocations: 326.8 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001919/0.9702, allocations: 43.95 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001692/0.9704, allocations: 43.95 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000345/0.9707, allocations: 104.7 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.9708, allocations: 4 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004334/0.9712, allocations: 133.5 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.9712, allocations: 7.984 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.9712, allocations: 0 / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/0.9713, allocations: 3.938 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001906/0.9715, allocations: 27.97 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.9715, allocations: 4.547 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00012/0.9716, allocations: 11.92 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.021e-05/0.9716, allocations: 4 kB / 1.021 GB, free: 13.89 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 0.0001359/0.9718, allocations: 118.3 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.822e-05/0.9718, allocations: 11.89 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000509/0.9724, allocations: 157.9 kB / 1.021 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.9724, allocations: 0 / 1.021 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.9724, allocations: 0 / 1.021 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.345e-06/0.9724, allocations: 3.938 kB / 1.021 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002804/0.9727, allocations: 197.6 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.9727, allocations: 0 / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001659/0.9729, allocations: 27.91 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.712e-05/0.9729, allocations: 4 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.675e-05/0.9729, allocations: 4 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.9729, allocations: 0 / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.9729, allocations: 0 / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005132/0.9734, allocations: 235.3 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.321e-05/0.9735, allocations: 93 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.498e-05/0.9735, allocations: 4 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.9737, allocations: 7.984 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.157e-05/0.9738, allocations: 23.97 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.486e-05/0.9738, allocations: 7.938 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.78e-05/0.9739, allocations: 95.2 kB / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9739, allocations: 0 / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002317/0.9741, allocations: 15.94 kB / 1.022 GB, free: 12.8 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.0001579/0.9743, allocations: 111.2 kB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004458/0.9747, allocations: 99.89 kB / 1.022 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.9748, allocations: 0 / 1.022 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002088/0.975, allocations: 63.89 kB / 1.022 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003796/0.9754, allocations: 15.98 kB / 1.022 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004865/0.9759, allocations: 184 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003719/0.9762, allocations: 0.6965 MB / 1.023 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.331e-05/0.9763, allocations: 8 kB / 1.023 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.451e-05/0.9764, allocations: 15.42 kB / 1.023 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of SimCode: time 3e-07/0.9764, allocations: 4 kB / 1.023 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of Templates: time 0.004474/0.9809, allocations: 1.354 MB / 1.025 GB, free: 10.2 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=400 -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/jenkins/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