Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.000784/0.000784, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007719/0.0007719, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.8634/0.8634, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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 1.614/1.614, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] 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.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.736e-06/2.736e-06, allocations: 0 / 0.9517 GB, free: 1.867 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.938e-05/3.211e-05, allocations: 6.281 kB / 0.9517 GB, free: 1.859 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001415/0.001447, allocations: 0.6901 MB / 0.9524 GB, free: 1.16 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0008594/0.002307, allocations: 0.8626 MB / 0.9533 GB, free: 292 kB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.062e-05/0.002347, allocations: 0 / 0.9533 GB, free: 292 kB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.995e-05/0.002377, allocations: 7.938 kB / 0.9533 GB, free: 284 kB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 6.764e-05/0.002445, allocations: 4 kB / 0.9533 GB, free: 280 kB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001356/0.00258, allocations: 23.91 kB / 0.9533 GB, free: 256 kB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 8.427e-05/0.002665, allocations: 47.84 kB / 0.9533 GB, free: 208 kB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.00279, allocations: 19.86 kB / 0.9534 GB, free: 188 kB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 8.611e-05/0.002876, allocations: 23.98 kB / 0.9534 GB, free: 164 kB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 6.43e-05/0.002941, allocations: 27.89 kB / 0.9534 GB, free: 136 kB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.391e-05/0.002975, allocations: 4 kB / 0.9534 GB, free: 132 kB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 1.066e-05/0.002985, allocations: 4 kB / 0.9534 GB, free: 128 kB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.116e-05/0.003006, allocations: 8 kB / 0.9534 GB, free: 120 kB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.342e-05/0.00303, allocations: 15.92 kB / 0.9534 GB, free: 104 kB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001094/0.003139, allocations: 47.91 kB / 0.9535 GB, free: 56 kB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.003142, allocations: 0 / 0.9535 GB, free: 56 kB / 0.8542 GB Notification: Performance of FrontEnd: time 1.473e-06/0.003143, allocations: 0 / 0.9535 GB, free: 56 kB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.003147, allocations: 0 / 0.9535 GB, free: 56 kB / 0.8542 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.0004384/0.003586, allocations: 282.2 kB / 0.9538 GB, free: 15.75 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.003627, allocations: 12.03 kB / 0.9538 GB, free: 15.74 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.072e-05/0.003658, allocations: 0.9375 kB / 0.9538 GB, free: 15.74 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.003769, allocations: 117.6 kB / 0.9539 GB, free: 15.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.003785, allocations: 8.312 kB / 0.9539 GB, free: 15.59 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.003796, allocations: 8.375 kB / 0.9539 GB, free: 15.58 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.003946, allocations: 70.2 kB / 0.954 GB, free: 15.51 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.003957, allocations: 3.938 kB / 0.954 GB, free: 15.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.946e-06/0.003966, allocations: 0 / 0.954 GB, free: 15.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.00397, allocations: 0 / 0.954 GB, free: 15.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.004085, allocations: 55.92 kB / 0.954 GB, free: 15.45 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003119/0.004397, allocations: 224.5 kB / 0.9542 GB, free: 15.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.004526, allocations: 70.47 kB / 0.9543 GB, free: 15.12 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.841e-05/0.004584, allocations: 28.92 kB / 0.9543 GB, free: 15.09 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/0.004601, allocations: 7.984 kB / 0.9543 GB, free: 15.08 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.004626, allocations: 30.56 kB / 0.9544 GB, free: 15.04 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 7.51e-07/0.004627, allocations: 0 / 0.9544 GB, free: 15.04 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4): time 0.0002655/0.004892, allocations: 109.5 kB / 0.9545 GB, free: 14.93 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.078e-05/0.004923, allocations: 51.41 kB / 0.9545 GB, free: 14.87 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.299e-05/0.004986, allocations: 121.8 kB / 0.9546 GB, free: 14.74 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.077e-05/0.004997, allocations: 25.7 kB / 0.9547 GB, free: 14.71 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.784e-05/0.005034, allocations: 84.14 kB / 0.9547 GB, free: 14.62 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.656e-05/0.005051, allocations: 15.84 kB / 0.9548 GB, free: 14.61 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.915e-05/0.00508, allocations: 21.7 kB / 0.9548 GB, free: 14.58 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.898e-05/0.005159, allocations: 310.8 kB / 0.9551 GB, free: 14.27 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.256e-05/0.005212, allocations: 27.97 kB / 0.9551 GB, free: 14.24 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.638e-05/0.005258, allocations: 23.98 kB / 0.9551 GB, free: 14.21 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.689e-05/0.005355, allocations: 56.81 kB / 0.9552 GB, free: 14.16 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.005358, allocations: 3.938 kB / 0.9552 GB, free: 14.15 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001284/0.005486, allocations: 85.58 kB / 0.9553 GB, free: 14.06 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.005496, allocations: 4 kB / 0.9553 GB, free: 14.06 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.0055, allocations: 3.938 kB / 0.9553 GB, free: 14.05 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.00551, allocations: 0 / 0.9553 GB, free: 14.05 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.889e-05/0.005579, allocations: 11.98 kB / 0.9553 GB, free: 14.04 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.005584, allocations: 0 / 0.9553 GB, free: 14.04 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.539e-05/0.005619, allocations: 19.94 kB / 0.9553 GB, free: 14.02 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.005625, allocations: 4 kB / 0.9553 GB, free: 14.02 MB / 0.8698 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.956e-05/0.005685, allocations: 117.7 kB / 0.9554 GB, free: 13.89 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.226e-05/0.005697, allocations: 0 / 0.9554 GB, free: 13.89 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.932e-05/0.005716, allocations: 11.98 kB / 0.9554 GB, free: 13.88 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.005718, allocations: 4 kB / 0.9554 GB, free: 13.88 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.005721, allocations: 0 / 0.9554 GB, free: 13.88 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.005723, allocations: 0 / 0.9554 GB, free: 13.88 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.449e-05/0.005818, allocations: 117.4 kB / 0.9555 GB, free: 13.73 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.00582, allocations: 3.938 kB / 0.9556 GB, free: 13.73 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.511e-05/0.005855, allocations: 19.92 kB / 0.9556 GB, free: 13.71 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.005856, allocations: 0 / 0.9556 GB, free: 13.71 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.355e-06/0.005864, allocations: 4 kB / 0.9556 GB, free: 13.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.005865, allocations: 0 / 0.9556 GB, free: 13.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.005866, allocations: 336 / 0.9556 GB, free: 13.7 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001584/0.006025, allocations: 184 kB / 0.9557 GB, free: 13.51 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.035e-05/0.006035, allocations: 11.92 kB / 0.9558 GB, free: 13.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.859e-06/0.006045, allocations: 0 / 0.9558 GB, free: 13.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.532e-05/0.00609, allocations: 8 kB / 0.9558 GB, free: 13.49 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.273e-05/0.006143, allocations: 15.97 kB / 0.9558 GB, free: 13.47 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.006145, allocations: 0 / 0.9558 GB, free: 13.47 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.204e-05/0.006177, allocations: 87.28 kB / 0.9559 GB, free: 13.39 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6e-08/0.006178, allocations: 0 / 0.9559 GB, free: 13.39 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000138/0.006316, allocations: 4 kB / 0.9559 GB, free: 13.38 MB / 0.8698 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.853e-05/0.006394, allocations: 103.2 kB / 0.956 GB, free: 13.27 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001489/0.006543, allocations: 55.95 kB / 0.956 GB, free: 13.22 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.006544, allocations: 4 kB / 0.956 GB, free: 13.21 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 5.844e-05/0.006603, allocations: 27.97 kB / 0.9561 GB, free: 13.19 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002042/0.006807, allocations: 7.938 kB / 0.9561 GB, free: 13.18 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002762/0.007083, allocations: 161.5 kB / 0.9562 GB, free: 12.99 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.657e-05/0.00713, allocations: 63.34 kB / 0.9563 GB, free: 12.91 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.518e-05/0.007165, allocations: 12.5 kB / 0.9563 GB, free: 12.9 MB / 0.8698 GB Notification: Performance of SimCode: time 3.5e-07/0.007165, allocations: 0 / 0.9563 GB, free: 12.9 MB / 0.8698 GB Notification: Performance of Templates: time 0.001593/0.008758, allocations: 0.8379 MB / 0.9571 GB, free: 12.06 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 6.070946544408798]