Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001355/0.001355, allocations: 85.38 kB / 19.76 MB, free: 2.023 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.001423/0.001423, allocations: 156.9 kB / 23.01 MB, free: 4.961 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.491/1.491, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.656/2.656, allocations: 359.1 MB / 0.6044 GB, free: 14.84 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_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_11_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.002458/0.002458, allocations: 67.89 kB / 0.9515 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4249/0.4273, allocations: 169.9 MB / 1.117 GB, free: 2.508 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.002231/0.4295, allocations: 0.7009 MB / 1.118 GB, free: 1.809 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001222/0.4308, allocations: 0.8471 MB / 1.119 GB, free: 0.9492 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.737e-05/0.4308, allocations: 0 / 1.119 GB, free: 0.9492 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.369e-05/0.4308, allocations: 7.922 kB / 1.119 GB, free: 0.9414 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.81e-05/0.4309, allocations: 7.938 kB / 1.119 GB, free: 0.9336 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001841/0.4311, allocations: 23.98 kB / 1.119 GB, free: 0.9102 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001194/0.4312, allocations: 47.84 kB / 1.119 GB, free: 0.8633 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.4314, allocations: 15.92 kB / 1.119 GB, free: 0.8477 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.297e-05/0.4315, allocations: 23.86 kB / 1.119 GB, free: 0.8242 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.436e-05/0.4315, allocations: 23.91 kB / 1.119 GB, free: 0.8008 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.041e-05/0.4316, allocations: 4 kB / 1.119 GB, free: 0.7969 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.443e-05/0.4316, allocations: 4 kB / 1.119 GB, free: 0.793 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.972e-05/0.4316, allocations: 12 kB / 1.119 GB, free: 0.7812 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.04e-05/0.4317, allocations: 15.91 kB / 1.119 GB, free: 0.7656 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001347/0.4318, allocations: 43.81 kB / 1.119 GB, free: 0.7227 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.4318, allocations: 4 kB / 1.119 GB, free: 0.7188 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.823e-06/0.4318, allocations: 0 / 1.119 GB, free: 0.7188 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.4318, allocations: 0 / 1.119 GB, free: 0.7188 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.0006101/0.4324, allocations: 286.2 kB / 1.119 GB, free: 420 kB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.4324, allocations: 8.031 kB / 1.119 GB, free: 412 kB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.365e-05/0.4325, allocations: 4.938 kB / 1.119 GB, free: 408 kB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.4326, allocations: 126.4 kB / 1.12 GB, free: 256 kB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.4326, allocations: 4.375 kB / 1.12 GB, free: 252 kB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.8e-05/0.4327, allocations: 4.375 kB / 1.12 GB, free: 248 kB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002394/0.4329, allocations: 73.53 kB / 1.12 GB, free: 168 kB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.4329, allocations: 0 / 1.12 GB, free: 168 kB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.4329, allocations: 4 kB / 1.12 GB, free: 164 kB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.4329, allocations: 0 / 1.12 GB, free: 164 kB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002181/0.4331, allocations: 47.95 kB / 1.12 GB, free: 116 kB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004578/0.4336, allocations: 224.5 kB / 1.12 GB, free: 15.86 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002213/0.4338, allocations: 66.48 kB / 1.12 GB, free: 15.79 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/0.4339, allocations: 36.91 kB / 1.12 GB, free: 15.75 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.434, allocations: 0 / 1.12 GB, free: 15.75 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.434, allocations: 34.56 kB / 1.12 GB, free: 15.71 MB / 1.076 GB Notification: Performance of pre-optimization done (n=4): time 7.92e-07/0.434, allocations: 0 / 1.12 GB, free: 15.71 MB / 1.076 GB Notification: Performance of matching and sorting (n=4): time 0.0004398/0.4344, allocations: 105.6 kB / 1.12 GB, free: 15.6 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.4345, allocations: 59.34 kB / 1.12 GB, free: 15.53 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.4346, allocations: 109.8 kB / 1.12 GB, free: 15.41 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.4346, allocations: 25.7 kB / 1.12 GB, free: 15.38 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.37e-05/0.4347, allocations: 100.1 kB / 1.12 GB, free: 15.28 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.175e-05/0.4347, allocations: 11.84 kB / 1.12 GB, free: 15.27 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.125e-05/0.4347, allocations: 17.72 kB / 1.12 GB, free: 15.24 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.4349, allocations: 322.8 kB / 1.121 GB, free: 14.92 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001085/0.435, allocations: 19.98 kB / 1.121 GB, free: 14.9 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.992e-05/0.4351, allocations: 27.97 kB / 1.121 GB, free: 14.87 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001986/0.4353, allocations: 48.81 kB / 1.121 GB, free: 14.82 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4353, allocations: 4 kB / 1.121 GB, free: 14.82 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002502/0.4355, allocations: 81.59 kB / 1.121 GB, free: 14.73 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.4355, allocations: 4 kB / 1.121 GB, free: 14.73 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.4356, allocations: 4 kB / 1.121 GB, free: 14.72 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.4356, allocations: 3.984 kB / 1.121 GB, free: 14.72 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.4357, allocations: 15.98 kB / 1.121 GB, free: 14.7 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.4357, allocations: 0 / 1.121 GB, free: 14.7 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.459e-05/0.4358, allocations: 4 kB / 1.121 GB, free: 14.7 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.4358, allocations: 7.984 kB / 1.121 GB, free: 14.69 MB / 1.076 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 9.381e-05/0.4359, allocations: 114.1 kB / 1.121 GB, free: 14.57 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.701e-05/0.4359, allocations: 3.953 kB / 1.121 GB, free: 14.57 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.603e-05/0.4359, allocations: 15.98 kB / 1.121 GB, free: 14.55 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.4359, allocations: 0 / 1.121 GB, free: 14.55 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/0.4359, allocations: 4 kB / 1.121 GB, free: 14.55 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.4359, allocations: 3.938 kB / 1.121 GB, free: 14.54 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001594/0.4361, allocations: 121.3 kB / 1.121 GB, free: 14.39 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.4361, allocations: 4 kB / 1.121 GB, free: 14.39 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.563e-05/0.4362, allocations: 11.98 kB / 1.121 GB, free: 14.38 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.4362, allocations: 4 kB / 1.121 GB, free: 14.38 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.4362, allocations: 3.984 kB / 1.121 GB, free: 14.37 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.4362, allocations: 0 / 1.121 GB, free: 14.37 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.4362, allocations: 0 / 1.121 GB, free: 14.37 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003346/0.4365, allocations: 187.3 kB / 1.121 GB, free: 14.17 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.149e-05/0.4366, allocations: 4 kB / 1.121 GB, free: 14.17 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.4366, allocations: 0 / 1.121 GB, free: 14.17 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.4367, allocations: 7.984 kB / 1.121 GB, free: 14.16 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.936e-05/0.4367, allocations: 11.98 kB / 1.121 GB, free: 14.15 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-06/0.4368, allocations: 7.938 kB / 1.121 GB, free: 14.14 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.404e-05/0.4368, allocations: 87.28 kB / 1.122 GB, free: 14.05 MB / 1.076 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4368, allocations: 0 / 1.122 GB, free: 14.05 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002291/0.437, allocations: 8 kB / 1.122 GB, free: 14.05 MB / 1.076 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.0001236/0.4372, allocations: 103.2 kB / 1.122 GB, free: 13.93 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002617/0.4374, allocations: 51.89 kB / 1.122 GB, free: 13.88 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4374, allocations: 0 / 1.122 GB, free: 13.88 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.4375, allocations: 35.97 kB / 1.122 GB, free: 13.85 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003013/0.4378, allocations: 7.938 kB / 1.122 GB, free: 13.84 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003599/0.4382, allocations: 133.4 kB / 1.122 GB, free: 13.68 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.391e-05/0.4383, allocations: 63.34 kB / 1.122 GB, free: 13.6 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 4.41e-05/0.4383, allocations: 8 kB / 1.122 GB, free: 13.59 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.791e-05/0.4384, allocations: 20.48 kB / 1.122 GB, free: 13.57 MB / 1.076 GB Notification: Performance of SimCode: time 3.3e-07/0.4384, allocations: 0 / 1.122 GB, free: 13.57 MB / 1.076 GB Notification: Performance of Templates: time 0.003742/0.4421, allocations: 0.9469 MB / 1.123 GB, free: 12.64 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.812219819054008]