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.0108/0.0108, allocations: 99.89 kB / 15.73 MB, free: 6.062 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.002042/0.002042, allocations: 197.1 kB / 16.68 MB, free: 5.969 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.78/1.78, allocations: 222.9 MB / 240.4 MB, free: 4.184 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.03/3.03, allocations: 437 MB / 0.7105 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 67.89 kB / 1.019 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.3684, allocations: 151.6 MB / 1.167 GB, free: 6.781 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002299/0.3708, allocations: 0.7795 MB / 1.167 GB, free: 5.996 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001308/0.3721, allocations: 0.8702 MB / 1.168 GB, free: 5.113 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.626e-05/0.3722, allocations: 0 / 1.168 GB, free: 5.113 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.619e-05/0.3723, allocations: 11.88 kB / 1.168 GB, free: 5.102 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.803e-05/0.3724, allocations: 11.92 kB / 1.168 GB, free: 5.09 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00019/0.3726, allocations: 43.89 kB / 1.168 GB, free: 5.047 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001411/0.3728, allocations: 83.81 kB / 1.168 GB, free: 4.965 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.3729, allocations: 23.98 kB / 1.168 GB, free: 4.941 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.859e-05/0.373, allocations: 47.78 kB / 1.168 GB, free: 4.895 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.831e-05/0.3731, allocations: 47.81 kB / 1.168 GB, free: 4.848 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.605e-05/0.3731, allocations: 8 kB / 1.168 GB, free: 4.84 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.813e-05/0.3732, allocations: 8 kB / 1.169 GB, free: 4.832 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.958e-05/0.3732, allocations: 19.92 kB / 1.169 GB, free: 4.812 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.795e-05/0.3733, allocations: 39.78 kB / 1.169 GB, free: 4.773 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001471/0.3734, allocations: 87.66 kB / 1.169 GB, free: 4.688 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3734, allocations: 0 / 1.169 GB, free: 4.688 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3734, allocations: 3.938 kB / 1.169 GB, free: 4.684 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.3734, allocations: 0 / 1.169 GB, free: 4.684 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.0006517/0.3741, allocations: 399.1 kB / 1.169 GB, free: 4.246 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.3741, allocations: 8.031 kB / 1.169 GB, free: 4.238 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.857e-05/0.3742, allocations: 8.891 kB / 1.169 GB, free: 4.23 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001688/0.3744, allocations: 184.2 kB / 1.169 GB, free: 4.012 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.3744, allocations: 384 / 1.169 GB, free: 4.012 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.153e-05/0.3744, allocations: 8.375 kB / 1.169 GB, free: 4.004 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003062/0.3747, allocations: 109.5 kB / 1.169 GB, free: 3.891 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.3748, allocations: 0 / 1.169 GB, free: 3.891 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.3748, allocations: 0 / 1.169 GB, free: 3.891 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.3748, allocations: 4 kB / 1.169 GB, free: 3.887 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003539/0.3751, allocations: 99.84 kB / 1.169 GB, free: 3.789 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005384/0.3757, allocations: 344.6 kB / 1.17 GB, free: 3.402 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005949/0.3763, allocations: 122.5 kB / 1.17 GB, free: 3.273 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001784/0.3765, allocations: 48.81 kB / 1.17 GB, free: 3.223 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.895e-05/0.3765, allocations: 8 kB / 1.17 GB, free: 3.215 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.3765, allocations: 34.56 kB / 1.17 GB, free: 3.172 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.3766, allocations: 0 / 1.17 GB, free: 3.172 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0006514/0.3772, allocations: 181.5 kB / 1.17 GB, free: 2.988 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.3773, allocations: 51.41 kB / 1.17 GB, free: 2.926 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.3774, allocations: 129.8 kB / 1.17 GB, free: 2.789 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.3774, allocations: 29.64 kB / 1.17 GB, free: 2.754 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.929e-05/0.3775, allocations: 96.09 kB / 1.17 GB, free: 2.656 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.704e-05/0.3775, allocations: 23.78 kB / 1.17 GB, free: 2.633 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.068e-05/0.3775, allocations: 21.7 kB / 1.17 GB, free: 2.605 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.3777, allocations: 326.8 kB / 1.171 GB, free: 2.277 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001767/0.3778, allocations: 47.95 kB / 1.171 GB, free: 2.23 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001697/0.378, allocations: 43.95 kB / 1.171 GB, free: 2.188 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003402/0.3784, allocations: 96.77 kB / 1.171 GB, free: 2.09 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3784, allocations: 0 / 1.171 GB, free: 2.09 MB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003984/0.3788, allocations: 138 kB / 1.171 GB, free: 1.949 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.3788, allocations: 4 kB / 1.171 GB, free: 1.945 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.3788, allocations: 0 / 1.171 GB, free: 1.945 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.3788, allocations: 7.938 kB / 1.171 GB, free: 1.938 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/0.379, allocations: 27.91 kB / 1.171 GB, free: 1.91 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.379, allocations: 0 / 1.171 GB, free: 1.91 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001113/0.3791, allocations: 19.91 kB / 1.171 GB, free: 1.891 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.3791, allocations: 4 kB / 1.171 GB, free: 1.887 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 9.457e-05/0.3792, allocations: 117.8 kB / 1.171 GB, free: 1.762 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.292e-05/0.3793, allocations: 7.953 kB / 1.171 GB, free: 1.754 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004526/0.3797, allocations: 154 kB / 1.171 GB, free: 1.598 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.3798, allocations: 7.938 kB / 1.171 GB, free: 1.59 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3798, allocations: 4 kB / 1.171 GB, free: 1.586 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.3798, allocations: 3.938 kB / 1.171 GB, free: 1.582 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001992/0.38, allocations: 193.6 kB / 1.172 GB, free: 1.344 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.38, allocations: 0 / 1.172 GB, free: 1.344 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001466/0.3801, allocations: 27.97 kB / 1.172 GB, free: 1.316 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.3802, allocations: 3.984 kB / 1.172 GB, free: 1.312 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.3802, allocations: 4 kB / 1.172 GB, free: 1.309 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.3802, allocations: 0 / 1.172 GB, free: 1.309 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3802, allocations: 0 / 1.172 GB, free: 1.309 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004363/0.3806, allocations: 243.3 kB / 1.172 GB, free: 1.055 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.262e-05/0.3807, allocations: 89 kB / 1.172 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.756e-05/0.3807, allocations: 0 / 1.172 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.3809, allocations: 15.97 kB / 1.172 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.95e-05/0.3809, allocations: 27.86 kB / 1.172 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.381, allocations: 7.984 kB / 1.172 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.352e-05/0.381, allocations: 91.28 kB / 1.172 GB, free: 0.8086 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.5e-07/0.381, allocations: 3.938 kB / 1.172 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002371/0.3813, allocations: 12 kB / 1.172 GB, free: 0.793 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.0001189/0.3814, allocations: 103.2 kB / 1.172 GB, free: 0.6836 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003986/0.3818, allocations: 103.9 kB / 1.172 GB, free: 0.582 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3818, allocations: 0 / 1.172 GB, free: 0.582 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002027/0.382, allocations: 67.88 kB / 1.172 GB, free: 0.5156 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.3823, allocations: 8 kB / 1.172 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004391/0.3828, allocations: 174.1 kB / 1.173 GB, free: 312 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002774/0.383, allocations: 0.6924 MB / 1.173 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.64e-05/0.3831, allocations: 12 kB / 1.173 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.916e-05/0.3832, allocations: 19.42 kB / 1.173 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of SimCode: time 2e-07/0.3832, allocations: 0 / 1.173 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of Templates: time 0.004207/0.3874, allocations: 1.591 MB / 1.175 GB, free: 13.98 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