Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 106.2 kB / 15.98 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001697/0.001697, allocations: 195.6 kB / 16.91 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.26/2.26, allocations: 390.3 MB / 0.665 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 68.48 kB / 0.8127 GB, free: 32.46 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.2962, allocations: 140.4 MB / 0.9498 GB, free: 9.191 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.002105/0.2983, allocations: 0.7699 MB / 0.9505 GB, free: 8.414 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.000962/0.2993, allocations: 0.8351 MB / 0.9513 GB, free: 7.566 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.184e-05/0.2994, allocations: 4 kB / 0.9514 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.517e-05/0.2994, allocations: 0 / 0.9514 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.294e-05/0.2995, allocations: 3.938 kB / 0.9514 GB, free: 7.559 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001546/0.2997, allocations: 15.98 kB / 0.9514 GB, free: 7.543 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.701e-05/0.2998, allocations: 47.91 kB / 0.9514 GB, free: 7.496 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.2999, allocations: 11.98 kB / 0.9514 GB, free: 7.484 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.169e-05/0.2999, allocations: 19.92 kB / 0.9514 GB, free: 7.465 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.935e-05/0.3, allocations: 27.91 kB / 0.9515 GB, free: 7.438 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.497e-05/0.3, allocations: 8 kB / 0.9515 GB, free: 7.43 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.243e-05/0.3, allocations: 7.938 kB / 0.9515 GB, free: 7.422 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.747e-05/0.3001, allocations: 7.984 kB / 0.9515 GB, free: 7.414 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.444e-05/0.3001, allocations: 27.86 kB / 0.9515 GB, free: 7.387 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 7.268e-05/0.3002, allocations: 27.94 kB / 0.9516 GB, free: 7.359 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3002, allocations: 0 / 0.9516 GB, free: 7.359 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3002, allocations: 0 / 0.9516 GB, free: 7.359 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.3002, allocations: 0 / 0.9516 GB, free: 7.359 MB / 0.7325 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.0005026/0.3007, allocations: 368.9 kB / 0.9519 GB, free: 6.953 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.3008, allocations: 12.03 kB / 0.9519 GB, free: 6.941 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.255e-05/0.3008, allocations: 0.9375 kB / 0.9519 GB, free: 6.941 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.3009, allocations: 172.3 kB / 0.9521 GB, free: 6.734 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.301, allocations: 4.375 kB / 0.9521 GB, free: 6.73 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.498e-05/0.301, allocations: 4.375 kB / 0.9521 GB, free: 6.727 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001992/0.3012, allocations: 77.77 kB / 0.9522 GB, free: 6.645 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.3012, allocations: 0 / 0.9522 GB, free: 6.645 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.3012, allocations: 0 / 0.9522 GB, free: 6.645 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.3012, allocations: 0 / 0.9522 GB, free: 6.645 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002002/0.3014, allocations: 55.89 kB / 0.9522 GB, free: 6.59 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004411/0.3019, allocations: 288.8 kB / 0.9525 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001974/0.3021, allocations: 62.55 kB / 0.9525 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.3022, allocations: 36.89 kB / 0.9526 GB, free: 6.148 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.3022, allocations: 0 / 0.9526 GB, free: 6.148 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.3023, allocations: 42.5 kB / 0.9526 GB, free: 6.098 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.3023, allocations: 0 / 0.9526 GB, free: 6.098 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0004106/0.3027, allocations: 105.5 kB / 0.9527 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/0.3027, allocations: 59.41 kB / 0.9528 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.633e-05/0.3028, allocations: 113.8 kB / 0.9529 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.3029, allocations: 25.7 kB / 0.9529 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.178e-05/0.3029, allocations: 88.12 kB / 0.953 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.259e-05/0.303, allocations: 11.81 kB / 0.953 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.189e-05/0.303, allocations: 13.72 kB / 0.953 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.3031, allocations: 322.8 kB / 0.9533 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.3032, allocations: 23.98 kB / 0.9534 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.736e-05/0.3033, allocations: 27.97 kB / 0.9534 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001826/0.3035, allocations: 56.75 kB / 0.9534 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3035, allocations: 3.938 kB / 0.9534 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002557/0.3038, allocations: 81.64 kB / 0.9535 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.3038, allocations: 4 kB / 0.9535 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.3038, allocations: 4 kB / 0.9535 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.3038, allocations: 0 / 0.9535 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.304, allocations: 11.98 kB / 0.9535 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.304, allocations: 0 / 0.9535 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.882e-05/0.3041, allocations: 11.98 kB / 0.9535 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.3041, allocations: 0 / 0.9535 GB, free: 5.09 MB / 0.7325 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 9.287e-05/0.3042, allocations: 121.7 kB / 0.9537 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.874e-05/0.3042, allocations: 3.906 kB / 0.9537 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.562e-05/0.3042, allocations: 11.91 kB / 0.9537 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.3043, allocations: 4 kB / 0.9537 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.3043, allocations: 0 / 0.9537 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3043, allocations: 0 / 0.9537 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00018/0.3045, allocations: 181.6 kB / 0.9539 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-06/0.3045, allocations: 4 kB / 0.9539 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.837e-05/0.3046, allocations: 7.984 kB / 0.9539 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.3046, allocations: 4 kB / 0.9539 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.3046, allocations: 0 / 0.9539 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.3046, allocations: 0 / 0.9539 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.3046, allocations: 4 kB / 0.9539 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002823/0.3049, allocations: 179.4 kB / 0.954 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.257e-05/0.3049, allocations: 85 kB / 0.9541 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.305, allocations: 8.375 kB / 0.9541 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.3051, allocations: 11.98 kB / 0.9541 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.273e-05/0.3052, allocations: 11.94 kB / 0.9542 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.3052, allocations: 7.984 kB / 0.9542 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.433e-05/0.3052, allocations: 83.28 kB / 0.9542 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.4e-07/0.3052, allocations: 0 / 0.9542 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002272/0.3055, allocations: 8 kB / 0.9543 GB, free: 4.27 MB / 0.7325 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 0.0001259/0.3056, allocations: 111.1 kB / 0.9544 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000246/0.3058, allocations: 55.94 kB / 0.9544 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3059, allocations: 4 kB / 0.9544 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001087/0.306, allocations: 35.91 kB / 0.9545 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000321/0.3063, allocations: 6.391 kB / 0.9545 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000369/0.3067, allocations: 167.2 kB / 0.9546 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002322/0.3069, allocations: 0.6883 MB / 0.9553 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.74e-05/0.307, allocations: 15.44 kB / 0.9553 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of SimCode: time 2.6e-07/0.307, allocations: 0 / 0.9553 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of Templates: time 0.002114/0.3091, allocations: 0.8076 MB / 0.9561 GB, free: 2.328 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches