Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001886/0.001886, allocations: 83.69 kB / 20.24 MB, free: 4.184 MB / 18.57 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.002018/0.002018, allocations: 161.7 kB / 23.55 MB, free: 0.8711 MB / 18.57 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: 177.1 MB / 203.9 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.078/3.078, allocations: 377.9 MB / 0.6232 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 0.8108 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.24e-05/3.419e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001929/0.001963, allocations: 0.7118 MB / 0.8115 GB, free: 1.398 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001204/0.003167, allocations: 0.8633 MB / 0.8124 GB, free: 0.5234 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.229e-05/0.00321, allocations: 4.781 kB / 0.8124 GB, free: 0.5195 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.335e-05/0.003233, allocations: 0 / 0.8124 GB, free: 0.5195 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 9.373e-05/0.003327, allocations: 9.609 kB / 0.8124 GB, free: 0.5117 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.000146/0.003473, allocations: 27.84 kB / 0.8124 GB, free: 496 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 9.098e-05/0.003564, allocations: 47.84 kB / 0.8125 GB, free: 448 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 9.388e-05/0.003658, allocations: 8 kB / 0.8125 GB, free: 440 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 9.341e-05/0.003751, allocations: 29.5 kB / 0.8125 GB, free: 412 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 6.13e-05/0.003812, allocations: 23.91 kB / 0.8125 GB, free: 388 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.438e-05/0.003837, allocations: 4 kB / 0.8125 GB, free: 384 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.326e-05/0.00385, allocations: 4 kB / 0.8125 GB, free: 380 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.149e-05/0.003871, allocations: 9.578 kB / 0.8125 GB, free: 372 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.805e-05/0.0039, allocations: 11.94 kB / 0.8125 GB, free: 360 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001114/0.004011, allocations: 47.91 kB / 0.8126 GB, free: 312 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.004013, allocations: 0 / 0.8126 GB, free: 312 kB / 0.7605 GB Notification: Performance of FrontEnd: time 7.72e-07/0.004013, allocations: 1.656 kB / 0.8126 GB, free: 312 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.126e-06/0.004017, allocations: 0 / 0.8126 GB, free: 312 kB / 0.7605 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.0005943/0.004611, allocations: 376.2 kB / 0.8129 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.004652, allocations: 12.03 kB / 0.813 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.957e-05/0.004701, allocations: 9.547 kB / 0.813 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.00484, allocations: 116.5 kB / 0.8131 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.365e-05/0.004863, allocations: 9.297 kB / 0.8131 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.928e-06/0.004873, allocations: 384 / 0.8131 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.005048, allocations: 67.38 kB / 0.8132 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.00506, allocations: 3.938 kB / 0.8132 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.00507, allocations: 0 / 0.8132 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.005074, allocations: 5.312 kB / 0.8132 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001703/0.005245, allocations: 39.97 kB / 0.8132 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000495/0.00574, allocations: 283.7 kB / 0.8135 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001978/0.005937, allocations: 76.75 kB / 0.8135 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.493e-05/0.006022, allocations: 23.72 kB / 0.8136 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.006044, allocations: 4 kB / 0.8136 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.531e-05/0.00608, allocations: 33.39 kB / 0.8136 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 1.133e-06/0.006081, allocations: 1.188 kB / 0.8136 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0003777/0.006459, allocations: 97.59 kB / 0.8137 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.006501, allocations: 51.94 kB / 0.8137 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.006643, allocations: 174.7 kB / 0.8139 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/0.006667, allocations: 31.42 kB / 0.8139 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.847e-05/0.006756, allocations: 130.8 kB / 0.8141 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.254e-05/0.006778, allocations: 11.95 kB / 0.8141 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.917e-05/0.006838, allocations: 27.36 kB / 0.8141 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002646/0.007102, allocations: 496.1 kB / 0.8146 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.849e-05/0.007181, allocations: 18.58 kB / 0.8146 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.458e-05/0.007245, allocations: 19.98 kB / 0.8146 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001392/0.007385, allocations: 47.61 kB / 0.8147 GB, free: 14 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.007389, allocations: 3.938 kB / 0.8147 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001946/0.007583, allocations: 73.62 kB / 0.8147 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.0076, allocations: 8.719 kB / 0.8147 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.007607, allocations: 3.984 kB / 0.8147 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.007618, allocations: 0.5312 kB / 0.8147 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.781e-05/0.007716, allocations: 9.125 kB / 0.8148 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.007724, allocations: 4.062 kB / 0.8148 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.776e-05/0.007782, allocations: 7.984 kB / 0.8148 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.007789, allocations: 0.8125 kB / 0.8148 GB, free: 13.88 MB / 0.7761 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.0001229/0.007912, allocations: 165 kB / 0.8149 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.847e-05/0.00794, allocations: 4.281 kB / 0.8149 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.102e-05/0.007971, allocations: 12.84 kB / 0.8149 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.007976, allocations: 3.984 kB / 0.8149 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.007979, allocations: 2.062 kB / 0.8149 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.007981, allocations: 7.875 kB / 0.815 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001803/0.008162, allocations: 136.7 kB / 0.8151 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.008165, allocations: 3.938 kB / 0.8151 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.962e-05/0.008235, allocations: 4 kB / 0.8151 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.008237, allocations: 0.5625 kB / 0.8151 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.008248, allocations: 4 kB / 0.8151 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.008254, allocations: 10.52 kB / 0.8151 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.008255, allocations: 0 / 0.8151 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000301/0.008556, allocations: 215.9 kB / 0.8153 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.408e-05/0.00858, allocations: 11.89 kB / 0.8153 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.008595, allocations: 0 / 0.8153 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.818e-05/0.008684, allocations: 7.984 kB / 0.8153 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.994e-05/0.008754, allocations: 13.73 kB / 0.8153 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-06/0.008759, allocations: 0 / 0.8153 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 9.692e-05/0.008856, allocations: 135.1 kB / 0.8155 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.008856, allocations: 0 / 0.8155 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002244/0.009081, allocations: 4 kB / 0.8155 GB, free: 13.1 MB / 0.7761 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.0001426/0.009223, allocations: 104.2 kB / 0.8156 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002223/0.009445, allocations: 56.78 kB / 0.8156 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.009447, allocations: 0 / 0.8156 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.009553, allocations: 36.45 kB / 0.8157 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002641/0.009817, allocations: 12.11 kB / 0.8157 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003918/0.01021, allocations: 138.3 kB / 0.8158 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.124e-05/0.01029, allocations: 71.2 kB / 0.8159 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.856e-05/0.01033, allocations: 1.344 kB / 0.8159 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.349e-05/0.01038, allocations: 21.23 kB / 0.8159 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of SimCode: time 4.51e-07/0.01038, allocations: 0.6562 kB / 0.8159 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of Templates: time 0.003982/0.01436, allocations: 0.9635 MB / 0.8168 GB, free: 11.67 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.079906787956133]