Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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.001564/0.001564, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001937/0.001937, allocations: 160.2 kB / 23.01 MB, free: 4.949 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.489/1.489, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.776/2.776, allocations: 377.9 MB / 0.6228 GB, free: 12.62 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") [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.002244/0.002244, allocations: 71.88 kB / 0.982 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.097/1.099, allocations: 176.1 MB / 1.154 GB, free: 33.37 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001807/1.101, allocations: 0.6922 MB / 1.155 GB, free: 32.94 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0008001/1.102, allocations: 0.8641 MB / 1.155 GB, free: 32.29 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.402e-05/1.102, allocations: 0 / 1.155 GB, free: 32.29 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.664e-05/1.102, allocations: 3.938 kB / 1.155 GB, free: 32.29 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 7.216e-05/1.102, allocations: 3.938 kB / 1.155 GB, free: 32.28 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001483/1.102, allocations: 32.62 kB / 1.155 GB, free: 32.26 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 8.121e-05/1.102, allocations: 46.66 kB / 1.156 GB, free: 32.24 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/1.102, allocations: 17.88 kB / 1.156 GB, free: 32.23 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 6.118e-05/1.102, allocations: 19.75 kB / 1.156 GB, free: 32.22 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 5.682e-05/1.102, allocations: 28.23 kB / 1.156 GB, free: 32.21 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.875e-05/1.102, allocations: 5.781 kB / 1.156 GB, free: 32.21 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 1.104e-05/1.102, allocations: 2.938 kB / 1.156 GB, free: 32.21 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.908e-05/1.102, allocations: 6.969 kB / 1.156 GB, free: 32.2 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.811e-05/1.102, allocations: 22.2 kB / 1.156 GB, free: 32.19 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 8.837e-05/1.102, allocations: 41.5 kB / 1.156 GB, free: 32.17 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/1.102, allocations: 0 / 1.156 GB, free: 32.17 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.383e-06/1.102, allocations: 0 / 1.156 GB, free: 32.17 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.991e-06/1.102, allocations: 0 / 1.156 GB, free: 32.17 MB / 1.076 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.0004461/1.103, allocations: 290.2 kB / 1.156 GB, free: 31.9 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/1.103, allocations: 13.12 kB / 1.156 GB, free: 31.89 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.832e-05/1.103, allocations: 3.812 kB / 1.156 GB, free: 31.89 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.504e-05/1.103, allocations: 116.4 kB / 1.156 GB, free: 31.76 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/1.103, allocations: 3.25 kB / 1.156 GB, free: 31.76 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/1.103, allocations: 4.375 kB / 1.156 GB, free: 31.76 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/1.103, allocations: 71.5 kB / 1.156 GB, free: 31.71 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/1.103, allocations: 0 / 1.156 GB, free: 31.71 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/1.103, allocations: 0 / 1.156 GB, free: 31.71 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/1.103, allocations: 0 / 1.156 GB, free: 31.71 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001988/1.103, allocations: 50.39 kB / 1.156 GB, free: 31.7 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003413/1.104, allocations: 234.1 kB / 1.156 GB, free: 31.48 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/1.104, allocations: 65.69 kB / 1.156 GB, free: 31.44 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/1.104, allocations: 37.94 kB / 1.157 GB, free: 31.42 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/1.104, allocations: 3.375 kB / 1.157 GB, free: 31.42 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.625e-05/1.104, allocations: 30.56 kB / 1.157 GB, free: 31.38 MB / 1.076 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/1.104, allocations: 2.75 kB / 1.157 GB, free: 31.38 MB / 1.076 GB Notification: Performance of matching and sorting (n=4): time 0.0003889/1.104, allocations: 112.1 kB / 1.157 GB, free: 31.32 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.935e-05/1.104, allocations: 55.41 kB / 1.157 GB, free: 31.26 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.762e-05/1.104, allocations: 106.8 kB / 1.157 GB, free: 31.16 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.405e-06/1.104, allocations: 25.7 kB / 1.157 GB, free: 31.12 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.893e-05/1.105, allocations: 90.52 kB / 1.157 GB, free: 31.04 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.751e-05/1.105, allocations: 14.28 kB / 1.157 GB, free: 31.03 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.171e-05/1.105, allocations: 16.5 kB / 1.157 GB, free: 31.01 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.684e-05/1.105, allocations: 321.1 kB / 1.157 GB, free: 30.69 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.877e-05/1.105, allocations: 26.3 kB / 1.157 GB, free: 30.68 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.79e-05/1.105, allocations: 28.78 kB / 1.157 GB, free: 30.68 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001785/1.105, allocations: 47.78 kB / 1.157 GB, free: 30.66 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/1.105, allocations: 0 / 1.157 GB, free: 30.66 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002127/1.105, allocations: 82.31 kB / 1.157 GB, free: 30.62 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/1.105, allocations: 8 kB / 1.157 GB, free: 30.62 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/1.105, allocations: 7.312 kB / 1.157 GB, free: 30.61 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/1.105, allocations: 4 kB / 1.157 GB, free: 30.61 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/1.105, allocations: 11.55 kB / 1.157 GB, free: 30.61 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/1.105, allocations: 0 / 1.157 GB, free: 30.61 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.475e-05/1.105, allocations: 12.94 kB / 1.157 GB, free: 30.61 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/1.105, allocations: 0 / 1.157 GB, free: 30.61 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,intGreThr.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 5.419e-05/1.105, allocations: 112.9 kB / 1.158 GB, free: 30.49 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.583e-05/1.105, allocations: 6.797 kB / 1.158 GB, free: 30.48 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.39e-05/1.106, allocations: 11.47 kB / 1.158 GB, free: 30.47 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/1.106, allocations: 3 kB / 1.158 GB, free: 30.47 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/1.106, allocations: 4 kB / 1.158 GB, free: 30.46 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/1.106, allocations: 0 / 1.158 GB, free: 30.46 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001079/1.106, allocations: 117.1 kB / 1.158 GB, free: 30.33 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/1.106, allocations: 0 / 1.158 GB, free: 30.33 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.844e-05/1.106, allocations: 18.89 kB / 1.158 GB, free: 30.33 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/1.106, allocations: 3.938 kB / 1.158 GB, free: 30.32 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/1.106, allocations: 2.875 kB / 1.158 GB, free: 30.32 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/1.106, allocations: 0 / 1.158 GB, free: 30.32 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/1.106, allocations: 0 / 1.158 GB, free: 30.32 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002429/1.106, allocations: 190.2 kB / 1.158 GB, free: 30.17 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 8.796e-06/1.106, allocations: 0 / 1.158 GB, free: 30.17 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/1.106, allocations: 2.984 kB / 1.158 GB, free: 30.17 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/1.106, allocations: 10.19 kB / 1.158 GB, free: 30.17 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.595e-05/1.106, allocations: 13.03 kB / 1.158 GB, free: 30.16 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/1.106, allocations: 0 / 1.158 GB, free: 30.16 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.631e-05/1.106, allocations: 88.25 kB / 1.158 GB, free: 30.09 MB / 1.076 GB Notification: Performance of sort global known variables: time 6.1e-08/1.106, allocations: 0 / 1.158 GB, free: 30.09 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002238/1.106, allocations: 8.25 kB / 1.158 GB, free: 30.09 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 (intGreThr.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 7.907e-05/1.106, allocations: 105.8 kB / 1.158 GB, free: 29.99 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002393/1.107, allocations: 56.16 kB / 1.158 GB, free: 29.98 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/1.107, allocations: 0 / 1.158 GB, free: 29.98 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000104/1.107, allocations: 27.67 kB / 1.158 GB, free: 29.98 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002823/1.107, allocations: 17.83 kB / 1.158 GB, free: 29.96 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002897/1.107, allocations: 130.9 kB / 1.158 GB, free: 29.85 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.016e-05/1.107, allocations: 78.2 kB / 1.158 GB, free: 29.77 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.621e-05/1.107, allocations: 5.656 kB / 1.158 GB, free: 29.77 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.718e-05/1.108, allocations: 11.38 kB / 1.158 GB, free: 29.76 MB / 1.076 GB Notification: Performance of SimCode: time 3.21e-07/1.108, allocations: 0 / 1.158 GB, free: 29.76 MB / 1.076 GB Notification: Performance of Templates: time 0.003273/1.111, allocations: 0.942 MB / 1.159 GB, free: 29.64 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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.0717886260245]