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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001659/0.001659, allocations: 213.3 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.596/1.596, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.62/3.62, allocations: 0.5107 GB / 0.8158 GB, free: 17.78 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002091/0.002091, allocations: 70.39 kB / 1.186 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4453/0.4474, allocations: 181.9 MB / 1.364 GB, free: 13.52 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002276/0.4496, allocations: 0.7679 MB / 1.365 GB, free: 12.75 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001305/0.4509, allocations: 0.8821 MB / 1.365 GB, free: 11.86 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.398e-05/0.451, allocations: 4 kB / 1.365 GB, free: 11.85 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.165e-05/0.451, allocations: 3.938 kB / 1.365 GB, free: 11.85 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.434e-05/0.4511, allocations: 15.84 kB / 1.365 GB, free: 11.83 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002023/0.4513, allocations: 35.97 kB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001421/0.4515, allocations: 91.75 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.4516, allocations: 19.98 kB / 1.366 GB, free: 11.69 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.246e-05/0.4517, allocations: 39.84 kB / 1.366 GB, free: 11.65 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.422e-05/0.4518, allocations: 43.81 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.778e-05/0.4518, allocations: 8 kB / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 2.026e-05/0.4518, allocations: 8 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.394e-05/0.4519, allocations: 27.86 kB / 1.366 GB, free: 11.56 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.013e-05/0.4519, allocations: 27.86 kB / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001545/0.4521, allocations: 91.64 kB / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.4521, allocations: 0 / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.793e-06/0.4521, allocations: 0 / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.76e-06/0.4521, allocations: 0 / 1.366 GB, free: 11.45 MB / 1.061 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.0006817/0.4528, allocations: 322 kB / 1.366 GB, free: 11.1 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.4528, allocations: 12.03 kB / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.501e-05/0.4529, allocations: 8.891 kB / 1.366 GB, free: 11.08 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.453, allocations: 118.4 kB / 1.366 GB, free: 10.94 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.453, allocations: 4.375 kB / 1.366 GB, free: 10.94 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.927e-05/0.453, allocations: 8.375 kB / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003883/0.4534, allocations: 105.5 kB / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.4534, allocations: 7.938 kB / 1.366 GB, free: 10.81 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.4535, allocations: 0 / 1.366 GB, free: 10.81 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.4535, allocations: 0 / 1.366 GB, free: 10.81 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003681/0.4538, allocations: 99.89 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005839/0.4544, allocations: 276.3 kB / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007262/0.4551, allocations: 114.6 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001958/0.4553, allocations: 52.81 kB / 1.367 GB, free: 10.24 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.4554, allocations: 4 kB / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.4554, allocations: 38.44 kB / 1.367 GB, free: 10.19 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.4554, allocations: 0 / 1.367 GB, free: 10.19 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0006979/0.4561, allocations: 185.5 kB / 1.367 GB, free: 10 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.57e-05/0.4561, allocations: 51.41 kB / 1.367 GB, free: 9.938 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.4563, allocations: 121.8 kB / 1.367 GB, free: 9.809 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.4563, allocations: 29.7 kB / 1.367 GB, free: 9.773 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.424e-05/0.4564, allocations: 96.08 kB / 1.367 GB, free: 9.676 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.723e-05/0.4564, allocations: 23.8 kB / 1.367 GB, free: 9.652 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.185e-05/0.4565, allocations: 21.7 kB / 1.367 GB, free: 9.625 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001714/0.4567, allocations: 326.8 kB / 1.368 GB, free: 9.297 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001841/0.4568, allocations: 47.95 kB / 1.368 GB, free: 9.25 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001747/0.457, allocations: 43.95 kB / 1.368 GB, free: 9.207 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003668/0.4574, allocations: 108.7 kB / 1.368 GB, free: 9.098 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.4574, allocations: 0 / 1.368 GB, free: 9.098 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004795/0.4579, allocations: 129.6 kB / 1.368 GB, free: 8.965 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.4579, allocations: 8 kB / 1.368 GB, free: 8.957 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.4579, allocations: 0 / 1.368 GB, free: 8.957 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.4579, allocations: 0 / 1.368 GB, free: 8.957 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/0.4581, allocations: 27.97 kB / 1.368 GB, free: 8.93 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.4581, allocations: 0 / 1.368 GB, free: 8.93 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000122/0.4582, allocations: 23.91 kB / 1.368 GB, free: 8.906 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.4582, allocations: 7.938 kB / 1.368 GB, free: 8.898 MB / 1.061 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.0001116/0.4583, allocations: 113.8 kB / 1.368 GB, free: 8.777 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.96e-05/0.4584, allocations: 7.953 kB / 1.368 GB, free: 8.77 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004961/0.4588, allocations: 150.5 kB / 1.368 GB, free: 8.613 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.4589, allocations: 0 / 1.368 GB, free: 8.613 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.4589, allocations: 4 kB / 1.368 GB, free: 8.609 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.4589, allocations: 0 / 1.368 GB, free: 8.609 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002007/0.4591, allocations: 141.2 kB / 1.369 GB, free: 8.441 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.4591, allocations: 3.984 kB / 1.369 GB, free: 8.438 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/0.4592, allocations: 23.97 kB / 1.369 GB, free: 8.414 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.4592, allocations: 4 kB / 1.369 GB, free: 8.41 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.4592, allocations: 7.938 kB / 1.369 GB, free: 8.402 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.4592, allocations: 0 / 1.369 GB, free: 8.402 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4592, allocations: 80 / 1.369 GB, free: 8.402 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004901/0.4597, allocations: 239.3 kB / 1.369 GB, free: 8.152 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.727e-05/0.4597, allocations: 7.953 kB / 1.369 GB, free: 8.145 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/0.4598, allocations: 0 / 1.369 GB, free: 8.145 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001444/0.4599, allocations: 19.97 kB / 1.369 GB, free: 8.125 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.828e-05/0.46, allocations: 23.97 kB / 1.369 GB, free: 8.102 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.752e-06/0.46, allocations: 4 kB / 1.369 GB, free: 8.098 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.903e-05/0.4601, allocations: 95.27 kB / 1.369 GB, free: 8.004 MB / 1.061 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4601, allocations: 3.938 kB / 1.369 GB, free: 8 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002312/0.4603, allocations: 16 kB / 1.369 GB, free: 7.984 MB / 1.061 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.0001422/0.4604, allocations: 107.1 kB / 1.369 GB, free: 7.871 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004366/0.4609, allocations: 103.9 kB / 1.369 GB, free: 7.77 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.4609, allocations: 0 / 1.369 GB, free: 7.77 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002097/0.4611, allocations: 63.95 kB / 1.369 GB, free: 7.707 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.4614, allocations: 15.92 kB / 1.369 GB, free: 7.691 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004586/0.4619, allocations: 166.4 kB / 1.369 GB, free: 7.5 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.193e-05/0.462, allocations: 71.33 kB / 1.37 GB, free: 7.41 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.833e-05/0.462, allocations: 15.98 kB / 1.37 GB, free: 7.395 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.376e-05/0.4621, allocations: 15.44 kB / 1.37 GB, free: 7.379 MB / 1.061 GB Notification: Performance of SimCode: time 3.91e-07/0.4621, allocations: 3.938 kB / 1.37 GB, free: 7.375 MB / 1.061 GB Notification: Performance of Templates: time 0.00506/0.4672, allocations: 1.732 MB / 1.371 GB, free: 5.672 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.944156872108579]