Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.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.001698/0.001698, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.001851/0.001851, allocations: 159.2 kB / 23.01 MB, free: 4.602 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.506/1.506, allocations: 177.2 MB / 203.4 MB, free: 8.871 MB / 190.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 2.909/2.909, allocations: 394.2 MB / 0.6386 GB, free: 11.93 MB / 0.6075 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.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreEquThr.t|intGreEquThr.u|intGreEquThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreEquThr.t|intGreEquThr.u|intGreEquThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") [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.003109/0.003109, allocations: 67.91 kB / 1.009 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9632/0.9664, allocations: 181.8 MB / 1.187 GB, free: 16.21 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.002091/0.9684, allocations: 0.6974 MB / 1.187 GB, free: 15.78 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001152/0.9696, allocations: 0.8556 MB / 1.188 GB, free: 15.14 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.223e-05/0.9697, allocations: 0 / 1.188 GB, free: 15.14 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.598e-05/0.9697, allocations: 4.594 kB / 1.188 GB, free: 15.13 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 7.064e-05/0.9698, allocations: 5.922 kB / 1.188 GB, free: 15.13 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001616/0.9699, allocations: 23.44 kB / 1.188 GB, free: 15.12 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 9.497e-05/0.97, allocations: 51.73 kB / 1.188 GB, free: 15.09 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.9701, allocations: 18.31 kB / 1.188 GB, free: 15.08 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 6.995e-05/0.9702, allocations: 15.3 kB / 1.188 GB, free: 15.08 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 6.682e-05/0.9703, allocations: 28.8 kB / 1.188 GB, free: 15.06 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.466e-05/0.9703, allocations: 4.125 kB / 1.188 GB, free: 15.06 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 1.343e-05/0.9703, allocations: 4.125 kB / 1.188 GB, free: 15.06 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.163e-05/0.9703, allocations: 11.23 kB / 1.188 GB, free: 15.05 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.071e-05/0.9704, allocations: 18.44 kB / 1.188 GB, free: 15.04 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001151/0.9705, allocations: 50.48 kB / 1.188 GB, free: 15.02 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.9705, allocations: 1.375 kB / 1.188 GB, free: 15.02 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.482e-06/0.9705, allocations: 0 / 1.188 GB, free: 15.02 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.9705, allocations: 0 / 1.188 GB, free: 15.02 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.0004903/0.971, allocations: 280.8 kB / 1.189 GB, free: 14.75 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.971, allocations: 9.75 kB / 1.189 GB, free: 14.75 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.675e-05/0.9711, allocations: 7.719 kB / 1.189 GB, free: 14.75 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.9712, allocations: 115.8 kB / 1.189 GB, free: 14.61 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.9712, allocations: 2.844 kB / 1.189 GB, free: 14.61 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.475e-05/0.9712, allocations: 1.75 kB / 1.189 GB, free: 14.61 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002104/0.9714, allocations: 73.3 kB / 1.189 GB, free: 14.57 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.9714, allocations: 0 / 1.189 GB, free: 14.57 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.9714, allocations: 0.7031 kB / 1.189 GB, free: 14.57 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.9714, allocations: 4.875 kB / 1.189 GB, free: 14.56 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002159/0.9717, allocations: 51.81 kB / 1.189 GB, free: 14.55 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003752/0.972, allocations: 230.8 kB / 1.189 GB, free: 14.33 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002066/0.9722, allocations: 60.67 kB / 1.189 GB, free: 14.29 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.9723, allocations: 28.62 kB / 1.189 GB, free: 14.28 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.9724, allocations: 5.297 kB / 1.189 GB, free: 14.28 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/0.9724, allocations: 36.33 kB / 1.189 GB, free: 14.23 MB / 1.076 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.9724, allocations: 0 / 1.189 GB, free: 14.23 MB / 1.076 GB Notification: Performance of matching and sorting (n=4): time 0.0004245/0.9728, allocations: 109.2 kB / 1.189 GB, free: 14.18 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.532e-05/0.9728, allocations: 52.97 kB / 1.189 GB, free: 14.12 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.53e-05/0.9729, allocations: 111.1 kB / 1.189 GB, free: 14.02 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.9729, allocations: 26.27 kB / 1.189 GB, free: 13.98 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.757e-05/0.973, allocations: 92.92 kB / 1.19 GB, free: 13.89 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.058e-05/0.973, allocations: 17.95 kB / 1.19 GB, free: 13.88 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.621e-05/0.973, allocations: 18.47 kB / 1.19 GB, free: 13.86 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.444e-05/0.9731, allocations: 322.2 kB / 1.19 GB, free: 13.54 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.9732, allocations: 23.2 kB / 1.19 GB, free: 13.54 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.738e-05/0.9733, allocations: 22.64 kB / 1.19 GB, free: 13.53 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000222/0.9735, allocations: 50.66 kB / 1.19 GB, free: 13.52 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.9735, allocations: 0 / 1.19 GB, free: 13.52 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002516/0.9737, allocations: 96.55 kB / 1.19 GB, free: 13.46 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.9738, allocations: 4.781 kB / 1.19 GB, free: 13.46 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.9738, allocations: 0 / 1.19 GB, free: 13.46 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.9738, allocations: 1.312 kB / 1.19 GB, free: 13.46 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.9739, allocations: 11.56 kB / 1.19 GB, free: 13.46 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.9739, allocations: 0.875 kB / 1.19 GB, free: 13.46 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.7e-05/0.974, allocations: 7.812 kB / 1.19 GB, free: 13.46 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.974, allocations: 5.766 kB / 1.19 GB, free: 13.46 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,intGreEquThr.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.697e-05/0.9741, allocations: 116.9 kB / 1.19 GB, free: 13.34 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.873e-05/0.9741, allocations: 7.047 kB / 1.19 GB, free: 13.33 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.399e-05/0.9741, allocations: 9.797 kB / 1.19 GB, free: 13.32 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.9741, allocations: 1.344 kB / 1.19 GB, free: 13.32 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.9741, allocations: 0 / 1.19 GB, free: 13.32 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.9741, allocations: 0.6094 kB / 1.19 GB, free: 13.32 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001149/0.9742, allocations: 118.9 kB / 1.19 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.9742, allocations: 0.6562 kB / 1.19 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.388e-05/0.9743, allocations: 16.58 kB / 1.19 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.9743, allocations: 0 / 1.19 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.9743, allocations: 1.859 kB / 1.19 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.9743, allocations: 8.781 kB / 1.19 GB, free: 13.17 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.9743, allocations: 0 / 1.19 GB, free: 13.17 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002666/0.9746, allocations: 180.4 kB / 1.191 GB, free: 13.03 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.28e-05/0.9746, allocations: 11.17 kB / 1.191 GB, free: 13.02 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.9746, allocations: 1.125 kB / 1.191 GB, free: 13.02 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.9747, allocations: 11.45 kB / 1.191 GB, free: 13.02 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.166e-05/0.9748, allocations: 12.56 kB / 1.191 GB, free: 13.01 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.9748, allocations: 1.891 kB / 1.191 GB, free: 13.01 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.202e-05/0.9748, allocations: 87.86 kB / 1.191 GB, free: 12.93 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.9748, allocations: 4 kB / 1.191 GB, free: 12.93 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002375/0.9751, allocations: 10.22 kB / 1.191 GB, free: 12.93 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 (intGreEquThr.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.0001199/0.9752, allocations: 99.45 kB / 1.191 GB, free: 12.84 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002805/0.9755, allocations: 55.16 kB / 1.191 GB, free: 12.82 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.9755, allocations: 1.25 kB / 1.191 GB, free: 12.82 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000121/0.9756, allocations: 33.22 kB / 1.191 GB, free: 12.82 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003136/0.9759, allocations: 11.02 kB / 1.191 GB, free: 12.81 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000343/0.9763, allocations: 130.3 kB / 1.191 GB, free: 12.69 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.386e-05/0.9763, allocations: 73.91 kB / 1.191 GB, free: 12.61 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 4.138e-05/0.9764, allocations: 4.406 kB / 1.191 GB, free: 12.61 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.527e-05/0.9764, allocations: 13.84 kB / 1.191 GB, free: 12.6 MB / 1.076 GB Notification: Performance of SimCode: time 4.51e-07/0.9764, allocations: 4 kB / 1.191 GB, free: 12.6 MB / 1.076 GB Notification: Performance of Templates: time 0.004319/0.9807, allocations: 0.9476 MB / 1.192 GB, free: 12.49 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.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.276074280962348]