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.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004351/0.004351, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001213/0.001213, allocations: 200.4 kB / 16.68 MB, free: 5.934 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.274/1.274, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.455/2.455, allocations: 469.8 MB / 0.7425 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002165/0.002165, allocations: 75.88 kB / 1.065 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6592/0.6614, allocations: 159.1 MB / 1.22 GB, free: 2.02 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001708/0.6631, allocations: 0.6957 MB / 1.221 GB, free: 1.328 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008356/0.664, allocations: 0.839 MB / 1.222 GB, free: 488 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.629e-05/0.664, allocations: 0 / 1.222 GB, free: 488 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.527e-05/0.6641, allocations: 3.938 kB / 1.222 GB, free: 484 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.001e-05/0.6641, allocations: 3.938 kB / 1.222 GB, free: 480 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001195/0.6643, allocations: 23.95 kB / 1.222 GB, free: 456 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.19e-05/0.6643, allocations: 51.84 kB / 1.222 GB, free: 404 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 8.706e-05/0.6644, allocations: 19.94 kB / 1.222 GB, free: 384 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.27e-05/0.6645, allocations: 11.98 kB / 1.222 GB, free: 372 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.339e-05/0.6646, allocations: 39.83 kB / 1.222 GB, free: 332 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.6646, allocations: 4 kB / 1.222 GB, free: 328 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.136e-05/0.6646, allocations: 4 kB / 1.222 GB, free: 324 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.826e-05/0.6646, allocations: 8 kB / 1.222 GB, free: 316 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.592e-05/0.6647, allocations: 23.86 kB / 1.222 GB, free: 292 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 8.651e-05/0.6648, allocations: 43.8 kB / 1.222 GB, free: 248 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.6648, allocations: 0 / 1.222 GB, free: 248 kB / 0.9356 GB Notification: Performance of FrontEnd: time 3.085e-06/0.6648, allocations: 3.984 kB / 1.222 GB, free: 244 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.6648, allocations: 0 / 1.222 GB, free: 244 kB / 0.9356 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.0004861/0.6653, allocations: 367 kB / 1.222 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.6653, allocations: 8.031 kB / 1.222 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.253e-05/0.6653, allocations: 34.75 kB / 1.222 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.589e-05/0.6654, allocations: 12.89 kB / 1.222 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.6655, allocations: 168.4 kB / 1.222 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.6655, allocations: 384 / 1.222 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.53e-05/0.6655, allocations: 8.125 kB / 1.222 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001831/0.6657, allocations: 69.58 kB / 1.223 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.6657, allocations: 4 kB / 1.223 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.6658, allocations: 4 kB / 1.223 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.6658, allocations: 0 / 1.223 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000198/0.666, allocations: 51.95 kB / 1.223 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003917/0.6664, allocations: 292.7 kB / 1.223 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002102/0.6666, allocations: 74.5 kB / 1.223 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.6667, allocations: 28.88 kB / 1.223 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/0.6667, allocations: 3.938 kB / 1.223 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.6668, allocations: 30.56 kB / 1.223 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.6668, allocations: 4 kB / 1.223 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.0003863/0.6671, allocations: 105.6 kB / 1.223 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.6672, allocations: 55.41 kB / 1.223 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.201e-05/0.6673, allocations: 105.8 kB / 1.223 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.6673, allocations: 29.64 kB / 1.223 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.677e-05/0.6674, allocations: 88.09 kB / 1.223 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.529e-05/0.6674, allocations: 7.953 kB / 1.223 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.056e-05/0.6674, allocations: 21.7 kB / 1.223 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.6675, allocations: 318.8 kB / 1.224 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.6676, allocations: 27.97 kB / 1.224 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.078e-05/0.6677, allocations: 27.97 kB / 1.224 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001804/0.6679, allocations: 44.83 kB / 1.224 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.6679, allocations: 0 / 1.224 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002315/0.6682, allocations: 93.53 kB / 1.224 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.6682, allocations: 8 kB / 1.224 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.6682, allocations: 0 / 1.224 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.967e-06/0.6682, allocations: 0 / 1.224 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.6683, allocations: 15.92 kB / 1.224 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.948e-06/0.6683, allocations: 0 / 1.224 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.45e-05/0.6684, allocations: 11.98 kB / 1.224 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.6684, allocations: 3.938 kB / 1.224 GB, free: 13.93 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,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.555e-05/0.6685, allocations: 114.2 kB / 1.224 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.423e-05/0.6685, allocations: 7.984 kB / 1.224 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.269e-05/0.6686, allocations: 7.891 kB / 1.224 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.6686, allocations: 4 kB / 1.224 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.6686, allocations: 0 / 1.224 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.814e-06/0.6686, allocations: 0 / 1.224 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001737/0.6688, allocations: 181.5 kB / 1.224 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.6688, allocations: 0 / 1.224 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.39e-05/0.6689, allocations: 11.98 kB / 1.224 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.6689, allocations: 0 / 1.224 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.986e-06/0.6689, allocations: 7.938 kB / 1.224 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.6689, allocations: 0 / 1.224 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.6689, allocations: 8 kB / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002732/0.6692, allocations: 183.4 kB / 1.224 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.432e-05/0.6692, allocations: 85 kB / 1.225 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.6692, allocations: 4 kB / 1.225 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.7e-05/0.6693, allocations: 7.984 kB / 1.225 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.527e-05/0.6694, allocations: 15.98 kB / 1.225 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.6694, allocations: 0 / 1.225 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.931e-05/0.6695, allocations: 95.2 kB / 1.225 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/0.6695, allocations: 0 / 1.225 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002026/0.6697, allocations: 4 kB / 1.225 GB, free: 13.1 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 (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.0005612/0.6703, allocations: 0.7168 MB / 1.225 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002366/0.6705, allocations: 55.94 kB / 1.225 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.6705, allocations: 0 / 1.225 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001114/0.6706, allocations: 31.98 kB / 1.225 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002315/0.6709, allocations: 3.984 kB / 1.225 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001422/0.6723, allocations: 1.321 MB / 1.227 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002605/0.6726, allocations: 0.6922 MB / 1.227 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.541e-05/0.6726, allocations: 4 kB / 1.227 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.105e-05/0.6727, allocations: 23.42 kB / 1.227 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of SimCode: time 2.11e-07/0.6727, allocations: 0 / 1.227 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7389/1.412, allocations: 1.854 MB / 1.229 GB, free: 8.387 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/12.71, allocations: 15.86 kB / 1.229 GB, free: 8.371 MB / 0.9512 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches