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.01165/0.01165, allocations: 95.61 kB / 15.73 MB, free: 6.055 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.002337/0.002337, allocations: 197.8 kB / 16.67 MB, free: 5.977 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.549/1.549, allocations: 222.9 MB / 240.4 MB, free: 4.305 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 2.933/2.933, allocations: 437 MB / 0.7105 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 63.91 kB / 1.019 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4514/0.453, allocations: 151.6 MB / 1.167 GB, free: 6.812 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002374/0.4554, allocations: 0.7933 MB / 1.167 GB, free: 6.016 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001193/0.4566, allocations: 0.8663 MB / 1.168 GB, free: 5.137 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.226e-05/0.4567, allocations: 4 kB / 1.168 GB, free: 5.133 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.436e-05/0.4567, allocations: 7.875 kB / 1.168 GB, free: 5.125 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001093/0.4569, allocations: 11.86 kB / 1.168 GB, free: 5.113 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002222/0.4571, allocations: 39.95 kB / 1.168 GB, free: 5.074 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001449/0.4572, allocations: 87.75 kB / 1.168 GB, free: 4.988 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001646/0.4574, allocations: 23.98 kB / 1.168 GB, free: 4.965 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000126/0.4576, allocations: 39.91 kB / 1.168 GB, free: 4.926 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/0.4577, allocations: 43.83 kB / 1.168 GB, free: 4.883 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.242e-05/0.4577, allocations: 8 kB / 1.168 GB, free: 4.875 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 2.152e-05/0.4577, allocations: 8 kB / 1.168 GB, free: 4.867 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.81e-05/0.4578, allocations: 27.91 kB / 1.169 GB, free: 4.84 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.423e-05/0.4578, allocations: 39.78 kB / 1.169 GB, free: 4.801 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.458, allocations: 83.61 kB / 1.169 GB, free: 4.719 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.458, allocations: 3.938 kB / 1.169 GB, free: 4.715 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.283e-06/0.458, allocations: 0 / 1.169 GB, free: 4.715 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.014e-05/0.458, allocations: 3.984 kB / 1.169 GB, free: 4.711 MB / 0.92 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.0007246/0.4588, allocations: 391.1 kB / 1.169 GB, free: 4.281 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.4588, allocations: 12.03 kB / 1.169 GB, free: 4.27 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.951e-05/0.4589, allocations: 12.88 kB / 1.169 GB, free: 4.258 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/0.4591, allocations: 176.3 kB / 1.169 GB, free: 4.047 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.645e-05/0.4591, allocations: 8.375 kB / 1.169 GB, free: 4.039 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.3e-05/0.4591, allocations: 4.375 kB / 1.169 GB, free: 4.035 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003367/0.4595, allocations: 105.5 kB / 1.169 GB, free: 3.926 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.4595, allocations: 0 / 1.169 GB, free: 3.926 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.858e-05/0.4595, allocations: 4 kB / 1.169 GB, free: 3.922 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.4595, allocations: 0 / 1.169 GB, free: 3.922 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003691/0.4599, allocations: 103.9 kB / 1.169 GB, free: 3.82 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006364/0.4605, allocations: 340.6 kB / 1.17 GB, free: 3.438 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006778/0.4612, allocations: 126.5 kB / 1.17 GB, free: 3.305 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002057/0.4615, allocations: 60.8 kB / 1.17 GB, free: 3.242 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.497e-05/0.4615, allocations: 0 / 1.17 GB, free: 3.242 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.4615, allocations: 30.56 kB / 1.17 GB, free: 3.203 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.173e-06/0.4615, allocations: 0 / 1.17 GB, free: 3.203 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0007376/0.4623, allocations: 189.4 kB / 1.17 GB, free: 3.012 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.281e-05/0.4624, allocations: 51.41 kB / 1.17 GB, free: 2.949 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.4625, allocations: 125.8 kB / 1.17 GB, free: 2.816 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.4626, allocations: 33.7 kB / 1.17 GB, free: 2.777 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.103e-05/0.4627, allocations: 92.08 kB / 1.17 GB, free: 2.684 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.296e-05/0.4627, allocations: 23.8 kB / 1.17 GB, free: 2.66 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.836e-05/0.4628, allocations: 33.64 kB / 1.17 GB, free: 2.621 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.4629, allocations: 310.8 kB / 1.171 GB, free: 2.309 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001785/0.4631, allocations: 47.95 kB / 1.171 GB, free: 2.262 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001653/0.4633, allocations: 47.94 kB / 1.171 GB, free: 2.215 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003406/0.4636, allocations: 96.78 kB / 1.171 GB, free: 2.117 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.4637, allocations: 0 / 1.171 GB, free: 2.117 MB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003904/0.4641, allocations: 141.9 kB / 1.171 GB, free: 1.973 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.4641, allocations: 8 kB / 1.171 GB, free: 1.965 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.208e-06/0.4641, allocations: 0 / 1.171 GB, free: 1.965 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.4641, allocations: 4 kB / 1.171 GB, free: 1.961 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.4643, allocations: 23.97 kB / 1.171 GB, free: 1.938 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.4643, allocations: 4.062 kB / 1.171 GB, free: 1.934 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001153/0.4644, allocations: 19.92 kB / 1.171 GB, free: 1.914 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.4645, allocations: 0 / 1.171 GB, free: 1.914 MB / 0.92 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.0001169/0.4646, allocations: 121.8 kB / 1.171 GB, free: 1.785 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.499e-05/0.4646, allocations: 7.953 kB / 1.171 GB, free: 1.777 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000499/0.4651, allocations: 157.9 kB / 1.171 GB, free: 1.617 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.4651, allocations: 0 / 1.171 GB, free: 1.617 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.4652, allocations: 0 / 1.171 GB, free: 1.617 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.982e-06/0.4652, allocations: 3.938 kB / 1.171 GB, free: 1.613 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002533/0.4654, allocations: 201.6 kB / 1.172 GB, free: 1.367 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.4654, allocations: 0 / 1.172 GB, free: 1.367 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/0.4656, allocations: 27.97 kB / 1.172 GB, free: 1.34 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.4656, allocations: 0 / 1.172 GB, free: 1.34 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.4656, allocations: 4 kB / 1.172 GB, free: 1.336 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.4656, allocations: 3.984 kB / 1.172 GB, free: 1.332 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.4657, allocations: 0 / 1.172 GB, free: 1.332 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004841/0.4661, allocations: 239.3 kB / 1.172 GB, free: 1.082 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.287e-05/0.4662, allocations: 89 kB / 1.172 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.4662, allocations: 0 / 1.172 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/0.4664, allocations: 15.98 kB / 1.172 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.4665, allocations: 31.84 kB / 1.172 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.814e-06/0.4665, allocations: 0 / 1.172 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of sorting global known variables: time 7.129e-05/0.4666, allocations: 99.2 kB / 1.172 GB, free: 0.832 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4666, allocations: 0 / 1.172 GB, free: 0.832 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002304/0.4668, allocations: 12 kB / 1.172 GB, free: 0.8203 MB / 0.92 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.0001882/0.467, allocations: 103.2 kB / 1.172 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0004459/0.4675, allocations: 107.8 kB / 1.172 GB, free: 0.6055 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.4675, allocations: 0 / 1.172 GB, free: 0.6055 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.000206/0.4677, allocations: 59.95 kB / 1.172 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003882/0.4681, allocations: 18.78 kB / 1.172 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004973/0.4686, allocations: 170.1 kB / 1.173 GB, free: 340 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003215/0.4689, allocations: 0.6885 MB / 1.173 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.543e-05/0.469, allocations: 19.92 kB / 1.173 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.326e-05/0.4691, allocations: 19.44 kB / 1.173 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.4691, allocations: 0 / 1.173 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of Templates: time 0.004639/0.4737, allocations: 1.582 MB / 1.175 GB, free: 14 MB / 0.9356 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/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