Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001542/0.001542, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001998/0.001998, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.546/1.546, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.063/3.064, allocations: 472.6 MB / 0.7451 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002281/0.002281, allocations: 69.61 kB / 0.9121 GB, free: 33.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4002/0.4025, allocations: 159.9 MB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.003492/0.406, allocations: 0.6994 MB / 1.069 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001618/0.4077, allocations: 0.8411 MB / 1.07 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.925e-05/0.4078, allocations: 8 kB / 1.07 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.683e-05/0.4079, allocations: 3.938 kB / 1.07 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001164/0.408, allocations: 7.922 kB / 1.07 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002309/0.4083, allocations: 19.97 kB / 1.07 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000125/0.4084, allocations: 43.86 kB / 1.07 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000165/0.4086, allocations: 11.98 kB / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.4087, allocations: 27.91 kB / 1.07 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.689e-05/0.4088, allocations: 23.92 kB / 1.07 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.98e-05/0.4088, allocations: 4 kB / 1.07 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.761e-05/0.4089, allocations: 4 kB / 1.07 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.062e-05/0.4089, allocations: 11.98 kB / 1.07 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.734e-05/0.409, allocations: 19.86 kB / 1.07 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001285/0.4091, allocations: 51.8 kB / 1.07 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.4091, allocations: 0 / 1.07 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.214e-06/0.4091, allocations: 0 / 1.07 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.4091, allocations: 0 / 1.07 GB, free: 8.594 MB / 0.8262 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.0006628/0.4098, allocations: 355.7 kB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.4099, allocations: 12.03 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.837e-05/0.4099, allocations: 4.844 kB / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001965/0.4101, allocations: 176.3 kB / 1.07 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.4101, allocations: 4.375 kB / 1.07 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.846e-05/0.4102, allocations: 384 / 1.07 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003165/0.4105, allocations: 69.78 kB / 1.071 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.4105, allocations: 0 / 1.071 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.4105, allocations: 0 / 1.071 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.4105, allocations: 0 / 1.071 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000225/0.4108, allocations: 59.89 kB / 1.071 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006774/0.4115, allocations: 296.6 kB / 1.071 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002106/0.4117, allocations: 62.55 kB / 1.071 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/0.4118, allocations: 32.91 kB / 1.071 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.494e-05/0.4119, allocations: 7.938 kB / 1.071 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.4119, allocations: 34.5 kB / 1.071 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.4119, allocations: 0 / 1.071 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0004772/0.4124, allocations: 105.6 kB / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.922e-05/0.4124, allocations: 55.41 kB / 1.071 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.4126, allocations: 105.8 kB / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/0.4126, allocations: 25.7 kB / 1.071 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.384e-05/0.4127, allocations: 96.03 kB / 1.071 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.127e-05/0.4127, allocations: 3.906 kB / 1.071 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.482e-05/0.4128, allocations: 17.72 kB / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000173/0.413, allocations: 326.8 kB / 1.072 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001158/0.4131, allocations: 23.98 kB / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.195e-05/0.4132, allocations: 27.91 kB / 1.072 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001854/0.4134, allocations: 48.81 kB / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4134, allocations: 0 / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002496/0.4136, allocations: 89.83 kB / 1.072 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.4137, allocations: 4 kB / 1.072 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.4137, allocations: 8 kB / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.276e-05/0.4137, allocations: 8.031 kB / 1.072 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.4138, allocations: 7.984 kB / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.4139, allocations: 4 kB / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.66e-05/0.4139, allocations: 7.984 kB / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.414, allocations: 0 / 1.072 GB, free: 6.332 MB / 0.8262 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.0001755/0.4141, allocations: 123 kB / 1.072 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.987e-05/0.4142, allocations: 0 / 1.072 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.055e-05/0.4142, allocations: 11.91 kB / 1.072 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.4142, allocations: 0 / 1.072 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.4142, allocations: 0 / 1.072 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.4142, allocations: 0 / 1.072 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002121/0.4145, allocations: 185.5 kB / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4145, allocations: 0 / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.975e-05/0.4146, allocations: 15.92 kB / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.645e-06/0.4146, allocations: 0 / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.679e-06/0.4146, allocations: 3.938 kB / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.4146, allocations: 0 / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.4146, allocations: 7.984 kB / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003263/0.4149, allocations: 179.4 kB / 1.072 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.023e-05/0.415, allocations: 89.03 kB / 1.073 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.415, allocations: 0 / 1.073 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.4151, allocations: 7.984 kB / 1.073 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.218e-05/0.4152, allocations: 8 kB / 1.073 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.4153, allocations: 7.984 kB / 1.073 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.865e-05/0.4153, allocations: 95.64 kB / 1.073 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4153, allocations: 0 / 1.073 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002288/0.4156, allocations: 8 kB / 1.073 GB, free: 5.504 MB / 0.8262 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.0001565/0.4157, allocations: 99.72 kB / 1.073 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002868/0.416, allocations: 59.94 kB / 1.073 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.416, allocations: 4 kB / 1.073 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001163/0.4161, allocations: 31.91 kB / 1.073 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003554/0.4165, allocations: 8 kB / 1.073 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004939/0.417, allocations: 137.4 kB / 1.073 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004227/0.4175, allocations: 0.6846 MB / 1.074 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.368e-05/0.4175, allocations: 4 kB / 1.074 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.62e-05/0.4176, allocations: 11.44 kB / 1.074 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of SimCode: time 5.81e-07/0.4176, allocations: 0 / 1.074 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of Templates: time 0.004019/0.4216, allocations: 0.8937 MB / 1.075 GB, free: 3.523 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches