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.001649/0.001649, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002171/0.002171, allocations: 219.2 kB / 23.01 MB, free: 4.605 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.618/1.618, allocations: 230.6 MB / 256.8 MB, free: 7.984 MB / 206.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 3.492/3.492, allocations: 0.505 GB / 0.8108 GB, free: 22 MB / 0.6231 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.002099/0.002099, allocations: 66.38 kB / 1.178 GB, free: 16.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3555/0.3576, allocations: 180.2 MB / 1.354 GB, free: 7.91 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.00281/0.3604, allocations: 0.7135 MB / 1.355 GB, free: 7.199 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00138/0.3618, allocations: 0.8627 MB / 1.356 GB, free: 6.324 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.134e-05/0.3619, allocations: 4 kB / 1.356 GB, free: 6.32 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.944e-05/0.3619, allocations: 7.922 kB / 1.356 GB, free: 6.312 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001003/0.362, allocations: 7.938 kB / 1.356 GB, free: 6.305 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001871/0.3622, allocations: 23.97 kB / 1.356 GB, free: 6.281 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001122/0.3623, allocations: 47.84 kB / 1.356 GB, free: 6.234 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.3624, allocations: 8 kB / 1.356 GB, free: 6.227 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.664e-05/0.3625, allocations: 23.92 kB / 1.356 GB, free: 6.203 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.961e-05/0.3626, allocations: 27.89 kB / 1.356 GB, free: 6.176 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.265e-05/0.3626, allocations: 4 kB / 1.356 GB, free: 6.172 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.259e-05/0.3626, allocations: 4 kB / 1.356 GB, free: 6.168 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.116e-05/0.3626, allocations: 8 kB / 1.356 GB, free: 6.16 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.364e-05/0.3627, allocations: 23.86 kB / 1.356 GB, free: 6.137 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001278/0.3628, allocations: 51.67 kB / 1.356 GB, free: 6.086 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3628, allocations: 0 / 1.356 GB, free: 6.086 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3628, allocations: 4 kB / 1.356 GB, free: 6.082 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.3628, allocations: 0 / 1.356 GB, free: 6.082 MB / 1.045 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.0005741/0.3634, allocations: 282.2 kB / 1.356 GB, free: 5.777 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.3634, allocations: 8.031 kB / 1.356 GB, free: 5.77 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.772e-05/0.3635, allocations: 4.938 kB / 1.356 GB, free: 5.766 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.3636, allocations: 118.4 kB / 1.356 GB, free: 5.625 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.3637, allocations: 384 / 1.356 GB, free: 5.625 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.55e-05/0.3637, allocations: 12.31 kB / 1.356 GB, free: 5.613 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002218/0.3639, allocations: 69.59 kB / 1.356 GB, free: 5.539 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.3639, allocations: 0 / 1.356 GB, free: 5.539 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.3639, allocations: 4 kB / 1.356 GB, free: 5.535 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.3639, allocations: 0 / 1.356 GB, free: 5.535 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002067/0.3641, allocations: 47.89 kB / 1.356 GB, free: 5.488 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004933/0.3646, allocations: 267.8 kB / 1.357 GB, free: 5.184 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002045/0.3648, allocations: 62.55 kB / 1.357 GB, free: 5.113 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.3649, allocations: 32.84 kB / 1.357 GB, free: 5.078 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.365, allocations: 0 / 1.357 GB, free: 5.078 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.365, allocations: 38.56 kB / 1.357 GB, free: 5.031 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.365, allocations: 0 / 1.357 GB, free: 5.031 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.000412/0.3654, allocations: 105.6 kB / 1.357 GB, free: 4.922 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.3654, allocations: 55.41 kB / 1.357 GB, free: 4.855 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.452e-05/0.3655, allocations: 109.8 kB / 1.357 GB, free: 4.738 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.3656, allocations: 25.7 kB / 1.357 GB, free: 4.707 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.586e-05/0.3656, allocations: 92.09 kB / 1.357 GB, free: 4.613 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.129e-05/0.3657, allocations: 7.891 kB / 1.357 GB, free: 4.605 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.558e-05/0.3657, allocations: 21.7 kB / 1.357 GB, free: 4.578 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.3659, allocations: 318.8 kB / 1.357 GB, free: 4.258 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/0.366, allocations: 27.91 kB / 1.358 GB, free: 4.23 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.667e-05/0.3661, allocations: 27.97 kB / 1.358 GB, free: 4.203 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001895/0.3662, allocations: 52.83 kB / 1.358 GB, free: 4.148 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3662, allocations: 0 / 1.358 GB, free: 4.148 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002341/0.3665, allocations: 89.59 kB / 1.358 GB, free: 4.055 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.3665, allocations: 5.25 kB / 1.358 GB, free: 4.051 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.3665, allocations: 0 / 1.358 GB, free: 4.051 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.3665, allocations: 0 / 1.358 GB, free: 4.051 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.3666, allocations: 11.98 kB / 1.358 GB, free: 4.039 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.3666, allocations: 3.938 kB / 1.358 GB, free: 4.035 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.208e-05/0.3667, allocations: 11.98 kB / 1.358 GB, free: 4.023 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.3667, allocations: 0 / 1.358 GB, free: 4.023 MB / 1.045 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 0.0001058/0.3668, allocations: 125.7 kB / 1.358 GB, free: 3.891 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.756e-05/0.3669, allocations: 7.922 kB / 1.358 GB, free: 3.883 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.643e-05/0.3669, allocations: 8 kB / 1.358 GB, free: 3.871 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.3669, allocations: 4 kB / 1.358 GB, free: 3.867 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3669, allocations: 0 / 1.358 GB, free: 3.867 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.3669, allocations: 0 / 1.358 GB, free: 3.867 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001936/0.3671, allocations: 144.7 kB / 1.358 GB, free: 3.684 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3671, allocations: 0 / 1.358 GB, free: 3.684 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.72e-05/0.3672, allocations: 11.98 kB / 1.358 GB, free: 3.672 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/0.3672, allocations: 4 kB / 1.358 GB, free: 3.668 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-06/0.3672, allocations: 4 kB / 1.358 GB, free: 3.664 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3672, allocations: 0 / 1.358 GB, free: 3.664 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.3672, allocations: 0 / 1.358 GB, free: 3.664 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003123/0.3675, allocations: 187.3 kB / 1.358 GB, free: 3.465 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.498e-05/0.3675, allocations: 8 kB / 1.358 GB, free: 3.457 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.3675, allocations: 0 / 1.358 GB, free: 3.457 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.867e-05/0.3676, allocations: 11.98 kB / 1.358 GB, free: 3.445 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.73e-05/0.3677, allocations: 11.98 kB / 1.358 GB, free: 3.434 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.3677, allocations: 0 / 1.358 GB, free: 3.434 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.416e-05/0.3678, allocations: 91.56 kB / 1.358 GB, free: 3.344 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.3678, allocations: 4 kB / 1.358 GB, free: 3.34 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002234/0.368, allocations: 7.938 kB / 1.358 GB, free: 3.332 MB / 1.045 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.0001333/0.3681, allocations: 95.62 kB / 1.358 GB, free: 3.23 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002709/0.3684, allocations: 51.95 kB / 1.358 GB, free: 3.18 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3684, allocations: 0 / 1.358 GB, free: 3.18 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.3685, allocations: 40 kB / 1.358 GB, free: 3.141 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003289/0.3688, allocations: 96 / 1.358 GB, free: 3.141 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004411/0.3693, allocations: 159.3 kB / 1.359 GB, free: 2.953 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000368/0.3697, allocations: 0.6846 MB / 1.359 GB, free: 2.242 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.253e-05/0.3697, allocations: 19.42 kB / 1.359 GB, free: 2.223 MB / 1.045 GB Notification: Performance of SimCode: time 6.01e-07/0.3697, allocations: 0 / 1.359 GB, free: 2.223 MB / 1.045 GB Notification: Performance of Templates: time 0.002951/0.3727, allocations: 0.8129 MB / 1.36 GB, free: 1.418 MB / 1.045 GB " [Timeout remaining time 300] 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 -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: 11.824186153011397]