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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001464/0.001464, allocations: 112.6 kB / 16.37 MB, free: 6 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.001614/0.001614, allocations: 196 kB / 17.31 MB, free: 5.613 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.422/1.422, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.207/2.207, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001443, allocations: 64.84 kB / 0.814 GB, free: 32.79 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3412/0.3426, allocations: 140.4 MB / 0.9511 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.002144/0.3448, allocations: 0.6949 MB / 0.9518 GB, free: 7.359 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009977/0.3458, allocations: 0.841 MB / 0.9526 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.302e-05/0.3459, allocations: 4 kB / 0.9526 GB, free: 6.504 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.229e-05/0.3459, allocations: 3.984 kB / 0.9527 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.339e-05/0.346, allocations: 3.938 kB / 0.9527 GB, free: 6.496 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001475/0.3462, allocations: 23.92 kB / 0.9527 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.69e-05/0.3463, allocations: 47.84 kB / 0.9527 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.3464, allocations: 8 kB / 0.9527 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.123e-05/0.3465, allocations: 27.91 kB / 0.9528 GB, free: 6.391 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.453e-05/0.3466, allocations: 27.91 kB / 0.9528 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.084e-05/0.3466, allocations: 4 kB / 0.9528 GB, free: 6.359 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.004e-05/0.3466, allocations: 4 kB / 0.9528 GB, free: 6.355 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.63e-05/0.3466, allocations: 7.984 kB / 0.9528 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.161e-05/0.3467, allocations: 19.88 kB / 0.9528 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001015/0.3468, allocations: 51.84 kB / 0.9529 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3468, allocations: 4 kB / 0.9529 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.994e-06/0.3468, allocations: 0 / 0.9529 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.3468, allocations: 0 / 0.9529 GB, free: 6.273 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.0005508/0.3474, allocations: 359.3 kB / 0.9532 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.3474, allocations: 11.97 kB / 0.9532 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.356e-05/0.3475, allocations: 4.938 kB / 0.9532 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.3476, allocations: 164.3 kB / 0.9534 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.3476, allocations: 8.375 kB / 0.9534 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.624e-05/0.3477, allocations: 4.359 kB / 0.9534 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002024/0.3479, allocations: 73.77 kB / 0.9535 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.3479, allocations: 3.938 kB / 0.9535 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.3479, allocations: 3.984 kB / 0.9535 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.3479, allocations: 4 kB / 0.9535 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001937/0.3481, allocations: 55.95 kB / 0.9535 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004531/0.3486, allocations: 292.7 kB / 0.9538 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001852/0.3488, allocations: 58.55 kB / 0.9539 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.3489, allocations: 44.84 kB / 0.9539 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.3489, allocations: 0 / 0.9539 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/0.3489, allocations: 30.56 kB / 0.9539 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 2.264e-06/0.3489, allocations: 0 / 0.9539 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0004023/0.3493, allocations: 113.5 kB / 0.9541 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.3494, allocations: 55.41 kB / 0.9541 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.728e-05/0.3495, allocations: 105.8 kB / 0.9542 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.3495, allocations: 25.7 kB / 0.9542 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.911e-05/0.3495, allocations: 88.14 kB / 0.9543 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.945e-05/0.3496, allocations: 11.8 kB / 0.9543 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.896e-05/0.3496, allocations: 17.72 kB / 0.9543 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.3497, allocations: 322.8 kB / 0.9546 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/0.3498, allocations: 23.98 kB / 0.9547 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.613e-05/0.3499, allocations: 27.97 kB / 0.9547 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/0.3501, allocations: 52.75 kB / 0.9547 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3501, allocations: 0 / 0.9547 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002176/0.3503, allocations: 77.66 kB / 0.9548 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.3503, allocations: 4 kB / 0.9548 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.3504, allocations: 8 kB / 0.9548 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.3504, allocations: 0 / 0.9548 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.3505, allocations: 11.98 kB / 0.9548 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.3505, allocations: 0 / 0.9548 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.59e-05/0.3506, allocations: 11.98 kB / 0.9549 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.3506, allocations: 0 / 0.9549 GB, free: 4.016 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 8.692e-05/0.3507, allocations: 117.8 kB / 0.955 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.188e-05/0.3507, allocations: 7.906 kB / 0.955 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.782e-05/0.3508, allocations: 15.84 kB / 0.955 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.3508, allocations: 3.938 kB / 0.955 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.3508, allocations: 0 / 0.955 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.3508, allocations: 336 / 0.955 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001811/0.351, allocations: 185.6 kB / 0.9552 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.351, allocations: 0 / 0.9552 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.794e-05/0.3511, allocations: 11.98 kB / 0.9552 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.3511, allocations: 0 / 0.9552 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.3511, allocations: 4 kB / 0.9552 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3511, allocations: 0 / 0.9552 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.3511, allocations: 3.984 kB / 0.9552 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002822/0.3514, allocations: 183.4 kB / 0.9554 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.581e-05/0.3515, allocations: 85.02 kB / 0.9554 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.3515, allocations: 0 / 0.9554 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.3516, allocations: 7.984 kB / 0.9555 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.463e-05/0.3517, allocations: 11.98 kB / 0.9555 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.495e-06/0.3517, allocations: 15.88 kB / 0.9555 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.68e-05/0.3517, allocations: 91.27 kB / 0.9556 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3518, allocations: 0 / 0.9556 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002252/0.352, allocations: 8 kB / 0.9556 GB, free: 3.18 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.000123/0.3521, allocations: 99.19 kB / 0.9557 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002613/0.3524, allocations: 59.94 kB / 0.9557 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3524, allocations: 0 / 0.9557 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.3525, allocations: 35.92 kB / 0.9558 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002925/0.3528, allocations: 5.875 kB / 0.9558 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003532/0.3532, allocations: 125.6 kB / 0.9559 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002506/0.3534, allocations: 0.6844 MB / 0.9566 GB, free: 2.117 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 4.769e-05/0.3535, allocations: 11.98 kB / 0.9566 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.434e-05/0.3535, allocations: 11.44 kB / 0.9566 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of SimCode: time 2.51e-07/0.3535, allocations: 0 / 0.9566 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of Templates: time 0.003215/0.3568, allocations: 0.8911 MB / 0.9574 GB, free: 1.211 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 -s cvode -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