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.001699/0.001699, allocations: 110.1 kB / 19.7 MB, free: 2.262 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.002191/0.002191, allocations: 211.1 kB / 23 MB, free: 5.113 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.617/1.617, allocations: 230.6 MB / 256.8 MB, free: 8.035 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.252/3.252, allocations: 0.505 GB / 0.8108 GB, free: 22.07 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.002047/0.002047, allocations: 68.25 kB / 1.178 GB, free: 16.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3678/0.3698, allocations: 180.2 MB / 1.354 GB, free: 7.977 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002182/0.372, allocations: 0.7816 MB / 1.355 GB, free: 7.199 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001117/0.3731, allocations: 0.8977 MB / 1.356 GB, free: 6.289 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.464e-05/0.3732, allocations: 0 / 1.356 GB, free: 6.289 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.736e-05/0.3732, allocations: 11.86 kB / 1.356 GB, free: 6.277 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.75e-05/0.3733, allocations: 15.81 kB / 1.356 GB, free: 6.262 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001635/0.3734, allocations: 39.95 kB / 1.356 GB, free: 6.223 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.3736, allocations: 87.81 kB / 1.356 GB, free: 6.137 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.3737, allocations: 19.98 kB / 1.356 GB, free: 6.117 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 8.956e-05/0.3738, allocations: 35.86 kB / 1.356 GB, free: 6.082 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 9.391e-05/0.3739, allocations: 55.81 kB / 1.356 GB, free: 6.027 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.474e-05/0.3739, allocations: 8 kB / 1.356 GB, free: 6.02 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.677e-05/0.3739, allocations: 8 kB / 1.356 GB, free: 6.012 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.067e-05/0.3739, allocations: 15.92 kB / 1.356 GB, free: 5.996 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.589e-05/0.374, allocations: 35.84 kB / 1.356 GB, free: 5.961 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001578/0.3741, allocations: 95.53 kB / 1.356 GB, free: 5.867 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.3741, allocations: 4 kB / 1.356 GB, free: 5.863 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3741, allocations: 0 / 1.356 GB, free: 5.863 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.93e-06/0.3741, allocations: 0 / 1.356 GB, free: 5.863 MB / 1.045 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.0006293/0.3748, allocations: 322 kB / 1.356 GB, free: 5.52 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.3748, allocations: 12.03 kB / 1.356 GB, free: 5.508 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.109e-05/0.3748, allocations: 8.891 kB / 1.356 GB, free: 5.5 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.375, allocations: 114.4 kB / 1.357 GB, free: 5.363 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.375, allocations: 8.375 kB / 1.357 GB, free: 5.355 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.375, allocations: 8.375 kB / 1.357 GB, free: 5.348 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003112/0.3753, allocations: 101.5 kB / 1.357 GB, free: 5.242 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.3753, allocations: 7.938 kB / 1.357 GB, free: 5.234 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.3754, allocations: 3.984 kB / 1.357 GB, free: 5.23 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.3754, allocations: 0 / 1.357 GB, free: 5.23 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004228/0.3758, allocations: 99.91 kB / 1.357 GB, free: 5.133 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005436/0.3763, allocations: 307.8 kB / 1.357 GB, free: 4.789 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000633/0.377, allocations: 118.5 kB / 1.357 GB, free: 4.664 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001876/0.3772, allocations: 56.75 kB / 1.357 GB, free: 4.605 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.383e-05/0.3772, allocations: 0 / 1.357 GB, free: 4.605 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.3772, allocations: 42.48 kB / 1.357 GB, free: 4.555 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 9.02e-07/0.3772, allocations: 4 kB / 1.357 GB, free: 4.551 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0006733/0.3779, allocations: 185.4 kB / 1.357 GB, free: 4.363 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.501e-05/0.3779, allocations: 55.41 kB / 1.358 GB, free: 4.297 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.3781, allocations: 121.8 kB / 1.358 GB, free: 4.168 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.3781, allocations: 29.7 kB / 1.358 GB, free: 4.133 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.773e-05/0.3782, allocations: 92.09 kB / 1.358 GB, free: 4.039 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.169e-05/0.3782, allocations: 23.78 kB / 1.358 GB, free: 4.016 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.375e-05/0.3783, allocations: 25.7 kB / 1.358 GB, free: 3.984 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002071/0.3785, allocations: 318.8 kB / 1.358 GB, free: 3.664 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001802/0.3787, allocations: 43.95 kB / 1.358 GB, free: 3.621 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001667/0.3788, allocations: 43.95 kB / 1.358 GB, free: 3.578 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004138/0.3793, allocations: 109.2 kB / 1.358 GB, free: 3.469 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3793, allocations: 0 / 1.358 GB, free: 3.469 MB / 1.045 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004104/0.3797, allocations: 137.5 kB / 1.358 GB, free: 3.328 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.3797, allocations: 8 kB / 1.358 GB, free: 3.32 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3797, allocations: 0 / 1.358 GB, free: 3.32 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.3797, allocations: 0 / 1.358 GB, free: 3.32 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001837/0.3799, allocations: 23.97 kB / 1.358 GB, free: 3.297 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.3799, allocations: 4 kB / 1.358 GB, free: 3.293 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001179/0.38, allocations: 15.92 kB / 1.358 GB, free: 3.277 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.38, allocations: 4 kB / 1.359 GB, free: 3.273 MB / 1.045 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.0001062/0.3801, allocations: 118.5 kB / 1.359 GB, free: 3.148 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.452e-05/0.3802, allocations: 11.94 kB / 1.359 GB, free: 3.137 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004833/0.3806, allocations: 157.9 kB / 1.359 GB, free: 2.977 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.3806, allocations: 0 / 1.359 GB, free: 2.977 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3806, allocations: 0 / 1.359 GB, free: 2.977 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.3807, allocations: 7.875 kB / 1.359 GB, free: 2.969 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002258/0.3809, allocations: 172.6 kB / 1.359 GB, free: 2.758 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.3809, allocations: 0 / 1.359 GB, free: 2.758 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001611/0.381, allocations: 23.97 kB / 1.359 GB, free: 2.734 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.381, allocations: 0 / 1.359 GB, free: 2.734 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.809e-06/0.3811, allocations: 4 kB / 1.359 GB, free: 2.73 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3811, allocations: 0 / 1.359 GB, free: 2.73 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3811, allocations: 4 kB / 1.359 GB, free: 2.727 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004731/0.3815, allocations: 247.2 kB / 1.359 GB, free: 2.469 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.681e-05/0.3815, allocations: 3.953 kB / 1.359 GB, free: 2.465 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.345e-05/0.3816, allocations: 11.98 kB / 1.359 GB, free: 2.453 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.3817, allocations: 7.984 kB / 1.359 GB, free: 2.445 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.976e-05/0.3818, allocations: 27.91 kB / 1.359 GB, free: 2.418 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.224e-06/0.3818, allocations: 0 / 1.359 GB, free: 2.418 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.585e-05/0.3819, allocations: 99.7 kB / 1.359 GB, free: 2.32 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3819, allocations: 3.938 kB / 1.359 GB, free: 2.316 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002407/0.3821, allocations: 12 kB / 1.359 GB, free: 2.305 MB / 1.045 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.0001252/0.3822, allocations: 99.25 kB / 1.359 GB, free: 2.199 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004822/0.3827, allocations: 107.8 kB / 1.36 GB, free: 2.094 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3827, allocations: 0 / 1.36 GB, free: 2.094 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001964/0.3829, allocations: 51.95 kB / 1.36 GB, free: 2.043 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003332/0.3833, allocations: 16.31 kB / 1.36 GB, free: 2.027 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004812/0.3837, allocations: 192.8 kB / 1.36 GB, free: 1.805 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/0.3841, allocations: 0.6923 MB / 1.36 GB, free: 1.086 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.839e-05/0.3841, allocations: 23.42 kB / 1.361 GB, free: 1.062 MB / 1.045 GB Notification: Performance of SimCode: time 3.31e-07/0.3841, allocations: 0 / 1.361 GB, free: 1.062 MB / 1.045 GB Notification: Performance of Templates: time 0.003031/0.3872, allocations: 1.252 MB / 1.362 GB, free: 15.82 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/jenkins1/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: 11.672633673995733]