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.001532/0.001533, allocations: 108 kB / 16.37 MB, free: 6.477 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.001799/0.001799, allocations: 195.8 kB / 17.31 MB, free: 5.824 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.396/1.396, 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.284/2.284, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 62.38 kB / 0.814 GB, free: 32.73 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.325, allocations: 140.4 MB / 0.9511 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.002062/0.3271, allocations: 0.7103 MB / 0.9518 GB, free: 7.363 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009085/0.328, allocations: 0.8371 MB / 0.9526 GB, free: 6.516 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.679e-05/0.3281, allocations: 0 / 0.9526 GB, free: 6.516 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.307e-05/0.3281, allocations: 3.938 kB / 0.9526 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.661e-05/0.3282, allocations: 11.94 kB / 0.9527 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001773/0.3284, allocations: 19.97 kB / 0.9527 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.238e-05/0.3285, allocations: 51.83 kB / 0.9527 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.3286, allocations: 12 kB / 0.9527 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.336e-05/0.3286, allocations: 19.92 kB / 0.9528 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.865e-05/0.3287, allocations: 23.91 kB / 0.9528 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.193e-05/0.3287, allocations: 4 kB / 0.9528 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.185e-05/0.3288, allocations: 12 kB / 0.9528 GB, free: 6.359 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.187e-05/0.3288, allocations: 7.984 kB / 0.9528 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.251e-05/0.3288, allocations: 23.86 kB / 0.9528 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.893e-05/0.3289, allocations: 51.73 kB / 0.9529 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.3289, allocations: 0 / 0.9529 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3289, allocations: 0 / 0.9529 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.285e-06/0.3289, allocations: 3.984 kB / 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.0004707/0.3294, allocations: 359.3 kB / 0.9532 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.3295, allocations: 12.03 kB / 0.9532 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.76e-05/0.3295, allocations: 4.938 kB / 0.9532 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.3296, allocations: 168.3 kB / 0.9534 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.3297, allocations: 4.359 kB / 0.9534 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.8e-05/0.3297, allocations: 8.375 kB / 0.9534 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001943/0.3299, allocations: 69.72 kB / 0.9535 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.3299, allocations: 0 / 0.9535 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.3299, allocations: 4 kB / 0.9535 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.3299, allocations: 0 / 0.9535 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001958/0.3301, allocations: 59.88 kB / 0.9535 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004344/0.3306, allocations: 288.8 kB / 0.9538 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001826/0.3308, allocations: 66.56 kB / 0.9539 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.483e-05/0.3309, allocations: 24.89 kB / 0.9539 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.3309, allocations: 4 kB / 0.9539 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.3309, allocations: 38.5 kB / 0.9539 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.153e-06/0.3309, allocations: 4 kB / 0.9539 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.000404/0.3313, allocations: 105.5 kB / 0.954 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.3314, allocations: 55.41 kB / 0.9541 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.225e-05/0.3315, allocations: 113.8 kB / 0.9542 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.3315, allocations: 29.7 kB / 0.9542 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.429e-05/0.3315, allocations: 84.14 kB / 0.9543 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.979e-05/0.3316, allocations: 11.81 kB / 0.9543 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.702e-05/0.3316, allocations: 21.7 kB / 0.9543 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.3317, allocations: 314.8 kB / 0.9546 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.788e-05/0.3318, allocations: 23.97 kB / 0.9547 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.51e-05/0.3319, allocations: 27.92 kB / 0.9547 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001921/0.3321, allocations: 56.81 kB / 0.9547 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.3321, allocations: 0 / 0.9547 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002435/0.3324, allocations: 81.64 kB / 0.9548 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.3324, allocations: 4 kB / 0.9548 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.3324, allocations: 0 / 0.9548 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.3324, allocations: 0 / 0.9548 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.3326, allocations: 15.98 kB / 0.9548 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.3326, allocations: 0 / 0.9548 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.318e-05/0.3327, allocations: 11.98 kB / 0.9549 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.285e-06/0.3327, allocations: 0 / 0.9549 GB, free: 4.02 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 7.626e-05/0.3327, allocations: 121.7 kB / 0.955 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.844e-05/0.3328, allocations: 8.172 kB / 0.955 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.413e-05/0.3328, allocations: 19.83 kB / 0.955 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.359e-06/0.3328, allocations: 7.984 kB / 0.955 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3328, allocations: 0 / 0.955 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.3328, allocations: 4 kB / 0.955 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001643/0.333, allocations: 173.5 kB / 0.9552 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.333, allocations: 0 / 0.9552 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.516e-05/0.3331, allocations: 11.98 kB / 0.9552 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.3331, allocations: 3.984 kB / 0.9552 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.3331, allocations: 4 kB / 0.9552 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3331, allocations: 0 / 0.9552 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3332, allocations: 0 / 0.9552 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000264/0.3334, allocations: 187.4 kB / 0.9554 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.515e-05/0.3335, allocations: 81.02 kB / 0.9555 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/0.3335, allocations: 8 kB / 0.9555 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.3336, allocations: 7.984 kB / 0.9555 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.839e-05/0.3337, allocations: 11.98 kB / 0.9555 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.3337, allocations: 0 / 0.9555 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.198e-05/0.3337, allocations: 83.28 kB / 0.9556 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3337, allocations: 4 kB / 0.9556 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002204/0.334, allocations: 8 kB / 0.9556 GB, free: 3.191 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.0001231/0.3341, allocations: 107.2 kB / 0.9557 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002364/0.3343, allocations: 47.95 kB / 0.9557 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.3343, allocations: 4 kB / 0.9557 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.3345, allocations: 35.91 kB / 0.9558 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002553/0.3347, allocations: 9.875 kB / 0.9558 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003408/0.3351, allocations: 129.6 kB / 0.9559 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002366/0.3353, allocations: 0.6844 MB / 0.9566 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 4.011e-05/0.3354, allocations: 4 kB / 0.9566 GB, free: 2.117 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.004e-05/0.3354, allocations: 19.42 kB / 0.9566 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.3354, allocations: 0 / 0.9566 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of Templates: time 0.003338/0.3388, allocations: 0.8732 MB / 0.9574 GB, free: 1.227 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 gbode -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