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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_9_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.01041/0.01041, allocations: 100.5 kB / 15.73 MB, free: 6.031 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.002131/0.002131, allocations: 186.6 kB / 16.67 MB, free: 5.965 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.933/1.933, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 4.049/4.049, allocations: 390.3 MB / 0.6648 GB, free: 228 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001812/0.001813, allocations: 63.66 kB / 0.9504 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4405/0.4423, allocations: 140.4 MB / 1.087 GB, free: 2.012 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.003479/0.4459, allocations: 0.6999 MB / 1.088 GB, free: 1.312 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001814/0.4477, allocations: 0.8355 MB / 1.089 GB, free: 476 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.279e-05/0.4478, allocations: 0 / 1.089 GB, free: 476 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 5.893e-05/0.448, allocations: 3.938 kB / 1.089 GB, free: 472 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001181/0.4481, allocations: 3.938 kB / 1.089 GB, free: 468 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000249/0.4484, allocations: 27.91 kB / 1.089 GB, free: 440 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000154/0.4485, allocations: 51.83 kB / 1.089 GB, free: 388 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001773/0.4487, allocations: 19.94 kB / 1.089 GB, free: 368 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.4489, allocations: 19.92 kB / 1.089 GB, free: 348 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.449, allocations: 27.89 kB / 1.089 GB, free: 320 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.376e-05/0.449, allocations: 4 kB / 1.089 GB, free: 316 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.67e-05/0.4491, allocations: 4 kB / 1.089 GB, free: 312 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.111e-05/0.4491, allocations: 8 kB / 1.089 GB, free: 304 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.511e-05/0.4492, allocations: 23.86 kB / 1.089 GB, free: 280 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001676/0.4493, allocations: 51.84 kB / 1.089 GB, free: 228 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.4494, allocations: 0 / 1.089 GB, free: 228 kB / 0.8419 GB Notification: Performance of FrontEnd: time 3.296e-06/0.4494, allocations: 0 / 1.089 GB, free: 228 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.568e-06/0.4494, allocations: 0 / 1.089 GB, free: 228 kB / 0.8419 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.0007989/0.4502, allocations: 350.3 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.169e-05/0.4503, allocations: 12.03 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.003e-05/0.4503, allocations: 34.75 kB / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.712e-05/0.4504, allocations: 8.844 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001947/0.4506, allocations: 177.1 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.334e-05/0.4506, allocations: 4.375 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.058e-05/0.4507, allocations: 8.125 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002832/0.4509, allocations: 69.64 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.451, allocations: 3.984 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.451, allocations: 3.938 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.451, allocations: 0 / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003002/0.4513, allocations: 47.95 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006207/0.4519, allocations: 300.6 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002802/0.4522, allocations: 62.55 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001493/0.4524, allocations: 28.91 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.4524, allocations: 0 / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.982e-05/0.4525, allocations: 42.56 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.393e-06/0.4525, allocations: 0 / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0005912/0.4531, allocations: 105.6 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.483e-05/0.4532, allocations: 51.41 kB / 1.09 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.4533, allocations: 109.8 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.4533, allocations: 25.7 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.321e-05/0.4534, allocations: 96.05 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.846e-05/0.4535, allocations: 7.891 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.096e-05/0.4535, allocations: 17.72 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.4537, allocations: 314.8 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/0.4539, allocations: 27.97 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000131/0.454, allocations: 23.97 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002706/0.4543, allocations: 60.75 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4543, allocations: 0 / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003485/0.4547, allocations: 77.66 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.4547, allocations: 9.5 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.4547, allocations: 0 / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.215e-05/0.4548, allocations: 4 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.4549, allocations: 7.984 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.4549, allocations: 4 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001074/0.4551, allocations: 19.83 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.4551, allocations: 3.938 kB / 1.091 GB, free: 13.92 MB / 0.8575 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 0.0001245/0.4552, allocations: 119.8 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.94e-05/0.4553, allocations: 0 / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.61e-05/0.4553, allocations: 11.91 kB / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.685e-06/0.4553, allocations: 0 / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.4553, allocations: 8.203 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.4554, allocations: 0 / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002968/0.4557, allocations: 177.6 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.4557, allocations: 4 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/0.4558, allocations: 11.98 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.4558, allocations: 3.984 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.4558, allocations: 0 / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.4558, allocations: 0 / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.4559, allocations: 4 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004147/0.4563, allocations: 187.3 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.499e-05/0.4563, allocations: 81.11 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.309e-05/0.4564, allocations: 4 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001551/0.4565, allocations: 7.984 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.86e-05/0.4566, allocations: 11.98 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.4566, allocations: 0 / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.669e-05/0.4567, allocations: 99.14 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.91e-07/0.4567, allocations: 0 / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003961/0.4571, allocations: 4 kB / 1.092 GB, free: 13.1 MB / 0.8575 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.000793/0.4579, allocations: 0.7163 MB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003746/0.4583, allocations: 63.88 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4584, allocations: 0 / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001623/0.4585, allocations: 27.98 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004918/0.459, allocations: 7.984 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002409/0.4614, allocations: 1.324 MB / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/0.4618, allocations: 0.6846 MB / 1.095 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.329e-05/0.4619, allocations: 11.88 kB / 1.095 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.007e-05/0.462, allocations: 19.42 kB / 1.095 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of SimCode: time 5.01e-07/0.462, allocations: 0 / 1.095 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02943/0.4914, allocations: 1.841 MB / 1.097 GB, free: 8.391 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.21, allocations: 12.14 kB / 1.097 GB, free: 8.383 MB / 0.8575 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.fmu > 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