Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001452/0.001452, allocations: 79.36 kB / 19.18 MB, free: 2.52 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.001658/0.001658, allocations: 166.5 kB / 22.46 MB, free: 5.375 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.569/1.569, allocations: 177.1 MB / 202.8 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.8/2.8, allocations: 359 MB / 0.6037 GB, free: 15 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreEquThr.t|intGreEquThr.u|intGreEquThr.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.857e-06/3.857e-06, allocations: 0 / 0.951 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.333e-05/4.719e-05, allocations: 2.281 kB / 0.951 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.002267/0.002314, allocations: 0.6942 MB / 0.9517 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001377/0.003691, allocations: 0.8548 MB / 0.9525 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.105e-05/0.003752, allocations: 4 kB / 0.9525 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.971e-05/0.003792, allocations: 3.938 kB / 0.9525 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.648e-05/0.003888, allocations: 7.875 kB / 0.9525 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000171/0.004059, allocations: 23.97 kB / 0.9525 GB, free: 9.984 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001105/0.00417, allocations: 43.91 kB / 0.9526 GB, free: 9.941 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.0043, allocations: 15.92 kB / 0.9526 GB, free: 9.926 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.00441, allocations: 31.84 kB / 0.9526 GB, free: 9.895 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.556e-05/0.004476, allocations: 15.98 kB / 0.9526 GB, free: 9.879 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.661e-05/0.004502, allocations: 4 kB / 0.9526 GB, free: 9.875 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.239e-05/0.004515, allocations: 4 kB / 0.9526 GB, free: 9.871 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.109e-05/0.004546, allocations: 23.92 kB / 0.9527 GB, free: 9.848 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.082e-05/0.004586, allocations: 11.98 kB / 0.9527 GB, free: 9.836 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001262/0.004713, allocations: 47.84 kB / 0.9527 GB, free: 9.789 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.004716, allocations: 0 / 0.9527 GB, free: 9.789 MB / 0.8575 GB Notification: Performance of FrontEnd: time 9.72e-07/0.004717, allocations: 0 / 0.9527 GB, free: 9.789 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.004722, allocations: 3.938 kB / 0.9527 GB, free: 9.785 MB / 0.8575 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.0006082/0.00533, allocations: 278.2 kB / 0.953 GB, free: 9.484 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.005369, allocations: 8.031 kB / 0.953 GB, free: 9.477 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.306e-05/0.005412, allocations: 12.92 kB / 0.953 GB, free: 9.465 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001693/0.005582, allocations: 121.7 kB / 0.9531 GB, free: 9.32 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.005599, allocations: 4.375 kB / 0.9531 GB, free: 9.316 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.005616, allocations: 8.375 kB / 0.9531 GB, free: 9.309 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002323/0.005848, allocations: 70.16 kB / 0.9532 GB, free: 9.234 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.005862, allocations: 3.938 kB / 0.9532 GB, free: 9.23 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.005874, allocations: 0 / 0.9532 GB, free: 9.23 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.005879, allocations: 0 / 0.9532 GB, free: 9.23 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002165/0.006095, allocations: 47.95 kB / 0.9533 GB, free: 9.184 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004516/0.006547, allocations: 224.5 kB / 0.9535 GB, free: 8.934 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000228/0.006775, allocations: 66.42 kB / 0.9535 GB, free: 8.859 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001154/0.00689, allocations: 28.91 kB / 0.9536 GB, free: 8.828 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.006905, allocations: 0 / 0.9536 GB, free: 8.828 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.36e-05/0.006949, allocations: 38.56 kB / 0.9536 GB, free: 8.781 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.00695, allocations: 0 / 0.9536 GB, free: 8.781 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.000462/0.007412, allocations: 105.6 kB / 0.9537 GB, free: 8.672 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.134e-05/0.007473, allocations: 59.34 kB / 0.9537 GB, free: 8.602 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.00758, allocations: 109.8 kB / 0.9539 GB, free: 8.484 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.007599, allocations: 25.7 kB / 0.9539 GB, free: 8.453 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.746e-05/0.007666, allocations: 88.12 kB / 0.954 GB, free: 8.363 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.658e-05/0.007693, allocations: 23.84 kB / 0.954 GB, free: 8.34 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.576e-05/0.007738, allocations: 17.72 kB / 0.954 GB, free: 8.316 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.007893, allocations: 318.8 kB / 0.9543 GB, free: 7.996 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.008001, allocations: 19.98 kB / 0.9543 GB, free: 7.977 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.008102, allocations: 23.97 kB / 0.9543 GB, free: 7.953 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002072/0.008309, allocations: 61.08 kB / 0.9544 GB, free: 7.891 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.008312, allocations: 3.938 kB / 0.9544 GB, free: 7.887 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002544/0.008567, allocations: 81.59 kB / 0.9545 GB, free: 7.801 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.008585, allocations: 11.98 kB / 0.9545 GB, free: 7.789 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.00859, allocations: 0 / 0.9545 GB, free: 7.789 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.008606, allocations: 0 / 0.9545 GB, free: 7.789 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.008729, allocations: 11.98 kB / 0.9545 GB, free: 7.777 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.008734, allocations: 4 kB / 0.9545 GB, free: 7.773 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.53e-05/0.00881, allocations: 7.953 kB / 0.9545 GB, free: 7.766 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.00882, allocations: 3.984 kB / 0.9545 GB, free: 7.762 MB / 0.8575 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 9.966e-05/0.00892, allocations: 117.8 kB / 0.9546 GB, free: 7.637 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.794e-05/0.008948, allocations: 4 kB / 0.9546 GB, free: 7.633 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.736e-05/0.008975, allocations: 8 kB / 0.9547 GB, free: 7.621 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.008976, allocations: 0 / 0.9547 GB, free: 7.621 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.00898, allocations: 3.938 kB / 0.9547 GB, free: 7.617 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.008983, allocations: 0 / 0.9547 GB, free: 7.617 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/0.009139, allocations: 117.3 kB / 0.9548 GB, free: 7.473 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.009142, allocations: 3.938 kB / 0.9548 GB, free: 7.469 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.209e-05/0.009234, allocations: 15.98 kB / 0.9548 GB, free: 7.453 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.00924, allocations: 3.984 kB / 0.9548 GB, free: 7.449 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.198e-06/0.009249, allocations: 0 / 0.9548 GB, free: 7.449 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.00925, allocations: 0 / 0.9548 GB, free: 7.449 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.009254, allocations: 4 kB / 0.9548 GB, free: 7.445 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003211/0.009575, allocations: 183.4 kB / 0.955 GB, free: 7.25 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.31e-05/0.009588, allocations: 7.938 kB / 0.955 GB, free: 7.242 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.009604, allocations: 4 kB / 0.955 GB, free: 7.238 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.009708, allocations: 7.984 kB / 0.955 GB, free: 7.23 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.617e-05/0.009774, allocations: 11.98 kB / 0.955 GB, free: 7.219 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.836e-06/0.009783, allocations: 4 kB / 0.955 GB, free: 7.215 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.68e-05/0.009839, allocations: 91.56 kB / 0.9551 GB, free: 7.125 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/0.009839, allocations: 0 / 0.9551 GB, free: 7.125 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002239/0.01006, allocations: 11.94 kB / 0.9551 GB, free: 7.113 MB / 0.8575 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.0001327/0.0102, allocations: 101.4 kB / 0.9552 GB, free: 7.008 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000277/0.01047, allocations: 55.89 kB / 0.9553 GB, free: 6.953 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.01047, allocations: 0 / 0.9553 GB, free: 6.953 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001285/0.0106, allocations: 35.97 kB / 0.9553 GB, free: 6.918 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/0.01092, allocations: 14.53 kB / 0.9553 GB, free: 6.906 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003809/0.0113, allocations: 130.3 kB / 0.9554 GB, free: 6.754 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.568e-05/0.01136, allocations: 63.34 kB / 0.9555 GB, free: 6.672 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.152e-05/0.0114, allocations: 8 kB / 0.9555 GB, free: 6.664 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.224e-05/0.01146, allocations: 16.48 kB / 0.9555 GB, free: 6.648 MB / 0.8575 GB Notification: Performance of SimCode: time 3.01e-07/0.01146, allocations: 0 / 0.9555 GB, free: 6.648 MB / 0.8575 GB Notification: Performance of Templates: time 0.00381/0.01527, allocations: 0.9585 MB / 0.9564 GB, free: 5.707 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.187154088169336]