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.001827/0.001827, allocations: 79.36 kB / 19.18 MB, free: 2.516 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.001637/0.001637, allocations: 162.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.532/1.532, allocations: 177.1 MB / 202.8 MB, free: 9.168 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 3.102/3.102, allocations: 389 MB / 0.633 GB, free: 0.9961 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 3.417e-06/3.417e-06, allocations: 0 / 1 GB, free: 7.281 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.257e-05/3.599e-05, allocations: 6.219 kB / 1 GB, free: 7.273 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.001868/0.001904, allocations: 0.7039 MB / 1.001 GB, free: 6.574 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001251/0.003155, allocations: 0.8509 MB / 1.002 GB, free: 5.711 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.513e-05/0.0032, allocations: 0 / 1.002 GB, free: 5.711 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.471e-05/0.003235, allocations: 3.938 kB / 1.002 GB, free: 5.707 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.246e-05/0.003317, allocations: 15.92 kB / 1.002 GB, free: 5.691 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001632/0.00348, allocations: 27.84 kB / 1.002 GB, free: 5.664 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001042/0.003585, allocations: 39.92 kB / 1.002 GB, free: 5.625 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002331/0.003818, allocations: 15.97 kB / 1.002 GB, free: 5.609 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.003933, allocations: 31.92 kB / 1.002 GB, free: 5.578 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.756e-05/0.00401, allocations: 19.97 kB / 1.002 GB, free: 5.559 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.499e-05/0.004045, allocations: 4 kB / 1.002 GB, free: 5.555 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.691e-05/0.004062, allocations: 4 kB / 1.002 GB, free: 5.551 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.578e-05/0.004098, allocations: 11.92 kB / 1.002 GB, free: 5.539 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.85e-05/0.004136, allocations: 11.98 kB / 1.002 GB, free: 5.527 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001429/0.004279, allocations: 47.84 kB / 1.002 GB, free: 5.48 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.004284, allocations: 0 / 1.002 GB, free: 5.48 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.503e-06/0.004285, allocations: 4 kB / 1.002 GB, free: 5.477 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.238e-05/0.004298, allocations: 0 / 1.002 GB, free: 5.477 MB / 0.9512 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.0006854/0.004983, allocations: 282.2 kB / 1.002 GB, free: 5.172 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.005032, allocations: 12.03 kB / 1.002 GB, free: 5.16 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.064e-05/0.005073, allocations: 4.891 kB / 1.002 GB, free: 5.156 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001904/0.005264, allocations: 117.7 kB / 1.002 GB, free: 5.016 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.573e-05/0.005289, allocations: 8.375 kB / 1.002 GB, free: 5.008 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/0.005307, allocations: 384 / 1.002 GB, free: 5.008 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002415/0.005549, allocations: 66.22 kB / 1.002 GB, free: 4.938 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.005563, allocations: 3.938 kB / 1.002 GB, free: 4.934 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.005577, allocations: 0 / 1.002 GB, free: 4.934 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.005582, allocations: 0 / 1.002 GB, free: 4.934 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002451/0.005827, allocations: 59.88 kB / 1.002 GB, free: 4.875 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005572/0.006385, allocations: 224.5 kB / 1.003 GB, free: 4.625 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000242/0.006627, allocations: 66.47 kB / 1.003 GB, free: 4.551 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001325/0.006759, allocations: 32.92 kB / 1.003 GB, free: 4.516 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.006782, allocations: 0 / 1.003 GB, free: 4.516 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.626e-05/0.006818, allocations: 30.56 kB / 1.003 GB, free: 4.477 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 1.123e-06/0.006819, allocations: 0 / 1.003 GB, free: 4.477 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.0004939/0.007313, allocations: 117.5 kB / 1.003 GB, free: 4.355 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.189e-05/0.007375, allocations: 51.41 kB / 1.003 GB, free: 4.293 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.007505, allocations: 113.8 kB / 1.003 GB, free: 4.172 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.00753, allocations: 25.7 kB / 1.003 GB, free: 4.141 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.865e-05/0.007609, allocations: 92.02 kB / 1.003 GB, free: 4.047 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.958e-05/0.007638, allocations: 11.91 kB / 1.003 GB, free: 4.035 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.592e-05/0.007684, allocations: 21.7 kB / 1.003 GB, free: 4.008 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001973/0.007882, allocations: 310.8 kB / 1.003 GB, free: 3.695 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.007997, allocations: 27.97 kB / 1.003 GB, free: 3.668 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.478e-05/0.008092, allocations: 19.98 kB / 1.004 GB, free: 3.648 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002126/0.008304, allocations: 61.08 kB / 1.004 GB, free: 3.586 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.008309, allocations: 3.938 kB / 1.004 GB, free: 3.582 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000265/0.008574, allocations: 85.58 kB / 1.004 GB, free: 3.492 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.008593, allocations: 8 kB / 1.004 GB, free: 3.484 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.008599, allocations: 0 / 1.004 GB, free: 3.484 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.008617, allocations: 0 / 1.004 GB, free: 3.484 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.008749, allocations: 11.98 kB / 1.004 GB, free: 3.473 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/0.008762, allocations: 4 kB / 1.004 GB, free: 3.469 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.916e-05/0.008841, allocations: 11.98 kB / 1.004 GB, free: 3.457 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.008849, allocations: 4 kB / 1.004 GB, free: 3.453 MB / 0.9512 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.0001149/0.008964, allocations: 114.3 kB / 1.004 GB, free: 3.332 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.889e-05/0.008993, allocations: 3.953 kB / 1.004 GB, free: 3.328 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.224e-05/0.009025, allocations: 8 kB / 1.004 GB, free: 3.316 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.009027, allocations: 4 kB / 1.004 GB, free: 3.312 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.009032, allocations: 4 kB / 1.004 GB, free: 3.309 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.009037, allocations: 3.984 kB / 1.004 GB, free: 3.305 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000283/0.00932, allocations: 113.3 kB / 1.004 GB, free: 3.164 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.009323, allocations: 3.938 kB / 1.004 GB, free: 3.16 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.04e-05/0.009413, allocations: 15.92 kB / 1.004 GB, free: 3.145 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.009415, allocations: 0 / 1.004 GB, free: 3.145 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.009425, allocations: 0 / 1.004 GB, free: 3.145 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.009429, allocations: 4 kB / 1.004 GB, free: 3.141 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.00943, allocations: 0 / 1.004 GB, free: 3.141 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003301/0.00976, allocations: 179.5 kB / 1.004 GB, free: 2.949 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 1.29e-05/0.009773, allocations: 7.891 kB / 1.004 GB, free: 2.941 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.009791, allocations: 7.938 kB / 1.004 GB, free: 2.934 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.009891, allocations: 7.984 kB / 1.004 GB, free: 2.926 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.504e-05/0.009966, allocations: 11.98 kB / 1.004 GB, free: 2.914 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.009971, allocations: 0 / 1.004 GB, free: 2.914 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.166e-05/0.01003, allocations: 87.27 kB / 1.004 GB, free: 2.828 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9e-08/0.01003, allocations: 7.938 kB / 1.004 GB, free: 2.82 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002188/0.01025, allocations: 7.938 kB / 1.004 GB, free: 2.812 MB / 0.9512 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.0001493/0.0104, allocations: 103.2 kB / 1.004 GB, free: 2.703 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002882/0.01069, allocations: 55.94 kB / 1.004 GB, free: 2.648 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.01069, allocations: 4 kB / 1.004 GB, free: 2.645 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001153/0.01081, allocations: 23.98 kB / 1.004 GB, free: 2.621 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003044/0.01111, allocations: 11.92 kB / 1.004 GB, free: 2.609 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004066/0.01152, allocations: 128.8 kB / 1.005 GB, free: 2.457 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.4e-05/0.01159, allocations: 71.22 kB / 1.005 GB, free: 2.367 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.061e-05/0.01163, allocations: 7.984 kB / 1.005 GB, free: 2.359 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.005e-05/0.01168, allocations: 12.5 kB / 1.005 GB, free: 2.348 MB / 0.9512 GB Notification: Performance of SimCode: time 4.5e-07/0.01168, allocations: 0 / 1.005 GB, free: 2.348 MB / 0.9512 GB Notification: Performance of Templates: time 0.004151/0.01584, allocations: 0.9591 MB / 1.006 GB, free: 1.398 MB / 0.9512 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/jenkins/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: 8.66077021881938]