Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.001452/0.001452, allocations: 107.6 kB / 18.95 MB, free: 2.809 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.001557/0.001557, allocations: 211 kB / 22.24 MB, free: 5.117 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.562/1.562, allocations: 230.6 MB / 256 MB, free: 7.781 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.527/3.527, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 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.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") [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.002133/0.002133, allocations: 68.44 kB / 1.186 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.449/0.4511, allocations: 181.9 MB / 1.364 GB, free: 13.58 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.002506/0.4536, allocations: 0.7086 MB / 1.365 GB, free: 12.87 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001192/0.4548, allocations: 0.8549 MB / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.532e-05/0.4548, allocations: 0 / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.989e-05/0.4549, allocations: 7.938 kB / 1.365 GB, free: 11.99 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.685e-05/0.455, allocations: 7.938 kB / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.00019/0.4552, allocations: 23.91 kB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001171/0.4553, allocations: 43.92 kB / 1.365 GB, free: 11.92 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001518/0.4554, allocations: 15.97 kB / 1.365 GB, free: 11.9 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.73e-05/0.4555, allocations: 19.92 kB / 1.365 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.807e-05/0.4556, allocations: 19.92 kB / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.468e-05/0.4556, allocations: 7.938 kB / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.513e-05/0.4556, allocations: 4 kB / 1.366 GB, free: 11.85 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.336e-05/0.4557, allocations: 11.98 kB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.456e-05/0.4557, allocations: 15.92 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001208/0.4558, allocations: 55.73 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.4558, allocations: 0 / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.124e-06/0.4558, allocations: 0 / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.4558, allocations: 0 / 1.366 GB, free: 11.77 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006268/0.4565, allocations: 274.3 kB / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/0.4565, allocations: 12.03 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.189e-05/0.4566, allocations: 4.891 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001783/0.4567, allocations: 122.4 kB / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.4567, allocations: 384 / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.849e-05/0.4568, allocations: 8.359 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002084/0.457, allocations: 77.58 kB / 1.366 GB, free: 11.22 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.457, allocations: 0 / 1.366 GB, free: 11.22 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.457, allocations: 0 / 1.366 GB, free: 11.22 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.457, allocations: 3.938 kB / 1.366 GB, free: 11.22 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002043/0.4572, allocations: 51.95 kB / 1.366 GB, free: 11.17 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004358/0.4576, allocations: 228.4 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001977/0.4578, allocations: 62.53 kB / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.4579, allocations: 28.92 kB / 1.366 GB, free: 10.81 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.458, allocations: 0 / 1.366 GB, free: 10.81 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.458, allocations: 38.55 kB / 1.366 GB, free: 10.77 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 9.31e-07/0.458, allocations: 0 / 1.366 GB, free: 10.77 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0004345/0.4584, allocations: 109.6 kB / 1.367 GB, free: 10.65 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.4585, allocations: 51.41 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.4586, allocations: 105.8 kB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.4586, allocations: 29.7 kB / 1.367 GB, free: 10.44 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.967e-05/0.4587, allocations: 92.09 kB / 1.367 GB, free: 10.35 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.11e-05/0.4587, allocations: 7.891 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.365e-05/0.4587, allocations: 21.7 kB / 1.367 GB, free: 10.31 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.4589, allocations: 322.8 kB / 1.367 GB, free: 9.988 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.596e-05/0.459, allocations: 23.97 kB / 1.367 GB, free: 9.965 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.511e-05/0.4591, allocations: 19.98 kB / 1.367 GB, free: 9.945 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001781/0.4592, allocations: 56.81 kB / 1.367 GB, free: 9.887 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.4592, allocations: 3.938 kB / 1.367 GB, free: 9.883 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000223/0.4595, allocations: 89.53 kB / 1.367 GB, free: 9.789 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.4595, allocations: 10.03 kB / 1.367 GB, free: 9.781 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.4595, allocations: 4 kB / 1.367 GB, free: 9.777 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.4595, allocations: 0 / 1.367 GB, free: 9.777 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.4596, allocations: 11.98 kB / 1.367 GB, free: 9.766 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.4596, allocations: 320 / 1.367 GB, free: 9.766 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.822e-05/0.4597, allocations: 11.98 kB / 1.367 GB, free: 9.754 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.4597, allocations: 4 kB / 1.367 GB, free: 9.75 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: 2 (reaToInt.y,intLesEquThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.000108/0.4598, allocations: 114.9 kB / 1.368 GB, free: 9.629 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.52e-05/0.4598, allocations: 4 kB / 1.368 GB, free: 9.625 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.455e-05/0.4599, allocations: 8.312 kB / 1.368 GB, free: 9.605 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.4599, allocations: 0 / 1.368 GB, free: 9.605 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.4599, allocations: 0 / 1.368 GB, free: 9.605 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.4599, allocations: 3.984 kB / 1.368 GB, free: 9.602 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000163/0.46, allocations: 129.3 kB / 1.368 GB, free: 9.445 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.4601, allocations: 0 / 1.368 GB, free: 9.445 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.259e-05/0.4601, allocations: 19.92 kB / 1.368 GB, free: 9.426 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.4601, allocations: 0 / 1.368 GB, free: 9.426 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.4601, allocations: 0 / 1.368 GB, free: 9.426 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.4601, allocations: 0 / 1.368 GB, free: 9.426 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.4601, allocations: 0 / 1.368 GB, free: 9.426 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003192/0.4605, allocations: 183.4 kB / 1.368 GB, free: 9.23 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.091e-05/0.4605, allocations: 7.891 kB / 1.368 GB, free: 9.223 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/0.4605, allocations: 7.984 kB / 1.368 GB, free: 9.215 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.923e-05/0.4606, allocations: 4 kB / 1.368 GB, free: 9.211 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.75e-05/0.4607, allocations: 15.98 kB / 1.368 GB, free: 9.195 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-06/0.4607, allocations: 7.984 kB / 1.368 GB, free: 9.188 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.707e-05/0.4607, allocations: 87.27 kB / 1.368 GB, free: 9.102 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.4607, allocations: 0 / 1.368 GB, free: 9.102 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002164/0.461, allocations: 8 kB / 1.368 GB, free: 9.094 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: 2 (intLesEquThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001669/0.4611, allocations: 99.19 kB / 1.368 GB, free: 8.988 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002758/0.4614, allocations: 51.94 kB / 1.368 GB, free: 8.938 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4614, allocations: 4 kB / 1.368 GB, free: 8.934 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001081/0.4615, allocations: 35.97 kB / 1.368 GB, free: 8.898 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003014/0.4618, allocations: 3.938 kB / 1.368 GB, free: 8.895 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004008/0.4622, allocations: 141.5 kB / 1.368 GB, free: 8.73 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.79e-05/0.4623, allocations: 63.34 kB / 1.368 GB, free: 8.648 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.181e-05/0.4623, allocations: 8 kB / 1.368 GB, free: 8.641 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.996e-05/0.4624, allocations: 11.44 kB / 1.368 GB, free: 8.629 MB / 1.061 GB Notification: Performance of SimCode: time 2.6e-07/0.4624, allocations: 0 / 1.368 GB, free: 8.629 MB / 1.061 GB Notification: Performance of Templates: time 0.003796/0.4662, allocations: 0.9634 MB / 1.369 GB, free: 7.684 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.85780662484467]