Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.00901/0.00901, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.002388/0.002388, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.557/1.557, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.04/3.04, allocations: 472.6 MB / 0.7453 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 59.91 kB / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4307/0.4322, allocations: 159.9 MB / 1.226 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002598/0.4348, allocations: 0.7736 MB / 1.226 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001431/0.4363, allocations: 0.8623 MB / 1.227 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.249e-05/0.4364, allocations: 0 / 1.227 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.532e-05/0.4364, allocations: 11.86 kB / 1.227 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001027/0.4366, allocations: 7.875 kB / 1.227 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002306/0.4368, allocations: 47.88 kB / 1.227 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001387/0.437, allocations: 79.89 kB / 1.227 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/0.4371, allocations: 31.88 kB / 1.227 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.4372, allocations: 39.8 kB / 1.227 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.943e-05/0.4373, allocations: 51.81 kB / 1.228 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.078e-05/0.4374, allocations: 8 kB / 1.228 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.408e-05/0.4374, allocations: 8 kB / 1.228 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.383e-05/0.4374, allocations: 23.91 kB / 1.228 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.265e-05/0.4375, allocations: 27.86 kB / 1.228 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001664/0.4377, allocations: 95.58 kB / 1.228 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.4377, allocations: 8 kB / 1.228 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.683e-06/0.4377, allocations: 0 / 1.228 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.4377, allocations: 0 / 1.228 GB, free: 7.105 MB / 0.9825 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.0007337/0.4384, allocations: 391.1 kB / 1.228 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.4385, allocations: 8.031 kB / 1.228 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.353e-05/0.4386, allocations: 8.891 kB / 1.228 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001921/0.4388, allocations: 176.2 kB / 1.228 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.662e-05/0.4388, allocations: 12.38 kB / 1.228 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.974e-05/0.4388, allocations: 8.359 kB / 1.228 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000351/0.4392, allocations: 105.5 kB / 1.228 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.4392, allocations: 0 / 1.228 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/0.4392, allocations: 7.984 kB / 1.228 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.4392, allocations: 0 / 1.228 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000362/0.4396, allocations: 99.84 kB / 1.228 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006143/0.4402, allocations: 344.7 kB / 1.229 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006242/0.4409, allocations: 122.5 kB / 1.229 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001895/0.4411, allocations: 60.73 kB / 1.229 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.517e-05/0.4411, allocations: 0 / 1.229 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/0.4411, allocations: 38.56 kB / 1.229 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.4411, allocations: 0 / 1.229 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0006588/0.4418, allocations: 181.5 kB / 1.229 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/0.4419, allocations: 55.41 kB / 1.229 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.442, allocations: 133.7 kB / 1.229 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.442, allocations: 25.7 kB / 1.229 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.412e-05/0.4421, allocations: 96.08 kB / 1.229 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.674e-05/0.4421, allocations: 23.73 kB / 1.229 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.386e-05/0.4422, allocations: 33.7 kB / 1.23 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.4423, allocations: 318.8 kB / 1.23 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000186/0.4425, allocations: 43.95 kB / 1.23 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001628/0.4427, allocations: 47.94 kB / 1.23 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003383/0.443, allocations: 100.8 kB / 1.23 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.443, allocations: 0 / 1.23 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004088/0.4435, allocations: 137.5 kB / 1.23 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.4435, allocations: 5.875 kB / 1.23 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.4435, allocations: 0 / 1.23 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.4435, allocations: 0 / 1.23 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/0.4437, allocations: 31.91 kB / 1.23 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.4437, allocations: 0 / 1.23 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.4438, allocations: 19.86 kB / 1.23 GB, free: 4.301 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.4438, allocations: 7.984 kB / 1.23 GB, free: 4.293 MB / 0.9825 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.0001046/0.4439, allocations: 113.8 kB / 1.23 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.298e-05/0.444, allocations: 3.953 kB / 1.23 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004761/0.4445, allocations: 150 kB / 1.23 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.4445, allocations: 0 / 1.23 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.4445, allocations: 0 / 1.23 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.4445, allocations: 15.8 kB / 1.23 GB, free: 3.996 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002219/0.4447, allocations: 197.6 kB / 1.231 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4447, allocations: 0 / 1.231 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001545/0.4449, allocations: 27.97 kB / 1.231 GB, free: 3.727 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.4449, allocations: 4 kB / 1.231 GB, free: 3.723 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.4449, allocations: 3.984 kB / 1.231 GB, free: 3.719 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.4449, allocations: 4 kB / 1.231 GB, free: 3.715 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4449, allocations: 0 / 1.231 GB, free: 3.715 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004618/0.4454, allocations: 232 kB / 1.231 GB, free: 3.473 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.991e-05/0.4455, allocations: 85.06 kB / 1.231 GB, free: 3.371 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.104e-05/0.4455, allocations: 4 kB / 1.231 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/0.4456, allocations: 11.98 kB / 1.231 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.778e-05/0.4457, allocations: 27.91 kB / 1.231 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.4457, allocations: 3.938 kB / 1.231 GB, free: 3.324 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.114e-05/0.4458, allocations: 95.27 kB / 1.231 GB, free: 3.23 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4458, allocations: 0 / 1.231 GB, free: 3.23 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002419/0.4461, allocations: 16 kB / 1.231 GB, free: 3.215 MB / 0.9825 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.0001562/0.4462, allocations: 111.2 kB / 1.231 GB, free: 3.098 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004561/0.4467, allocations: 115.9 kB / 1.231 GB, free: 2.984 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4467, allocations: 0 / 1.231 GB, free: 2.984 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002156/0.4469, allocations: 63.88 kB / 1.231 GB, free: 2.922 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003508/0.4473, allocations: 15.94 kB / 1.231 GB, free: 2.906 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004695/0.4478, allocations: 166 kB / 1.232 GB, free: 2.715 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/0.4481, allocations: 0.6924 MB / 1.232 GB, free: 1.996 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.961e-05/0.4482, allocations: 11.98 kB / 1.232 GB, free: 1.984 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.415e-05/0.4483, allocations: 23.42 kB / 1.232 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.4483, allocations: 0 / 1.232 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of Templates: time 0.004786/0.4531, allocations: 1.582 MB / 1.234 GB, free: 400 kB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches