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.009323/0.009323, allocations: 98.3 kB / 15.73 MB, free: 6.055 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.001947/0.001947, allocations: 192.6 kB / 16.67 MB, free: 5.977 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.634/1.634, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.018/3.018, allocations: 472.6 MB / 0.7453 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001508, allocations: 64.12 kB / 1.069 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4922/0.4938, allocations: 159.9 MB / 1.226 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.003195/0.4971, allocations: 0.6998 MB / 1.226 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001488/0.4986, allocations: 0.8273 MB / 1.227 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.293e-05/0.4987, allocations: 0 / 1.227 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.731e-05/0.4987, allocations: 11.86 kB / 1.227 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001139/0.4989, allocations: 3.938 kB / 1.227 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002312/0.4992, allocations: 23.98 kB / 1.227 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001323/0.4993, allocations: 43.84 kB / 1.227 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001516/0.4995, allocations: 27.97 kB / 1.227 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001266/0.4996, allocations: 15.94 kB / 1.227 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.4997, allocations: 23.91 kB / 1.227 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.647e-05/0.4998, allocations: 4 kB / 1.227 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.714e-05/0.4998, allocations: 4 kB / 1.227 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.202e-05/0.4998, allocations: 15.97 kB / 1.227 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.312e-05/0.4999, allocations: 19.81 kB / 1.227 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001717/0.5001, allocations: 43.86 kB / 1.227 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.5001, allocations: 0 / 1.227 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.276e-06/0.5001, allocations: 0 / 1.227 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.538e-06/0.5001, allocations: 4 kB / 1.227 GB, free: 7.457 MB / 0.9825 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.0008458/0.501, allocations: 359.3 kB / 1.228 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 7.259e-05/0.501, allocations: 12.03 kB / 1.228 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.852e-05/0.5011, allocations: 8.891 kB / 1.228 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000193/0.5013, allocations: 176.3 kB / 1.228 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.644e-05/0.5014, allocations: 384 / 1.228 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.42e-05/0.5014, allocations: 4.375 kB / 1.228 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002647/0.5017, allocations: 73.59 kB / 1.228 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.5017, allocations: 3.938 kB / 1.228 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/0.5017, allocations: 4 kB / 1.228 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.5017, allocations: 3.938 kB / 1.228 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002545/0.502, allocations: 51.95 kB / 1.228 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006103/0.5026, allocations: 288.8 kB / 1.228 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002478/0.5029, allocations: 70.52 kB / 1.228 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001238/0.503, allocations: 28.88 kB / 1.228 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.172e-05/0.503, allocations: 0 / 1.228 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.466e-05/0.5031, allocations: 30.56 kB / 1.228 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.243e-06/0.5031, allocations: 0 / 1.228 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0005045/0.5036, allocations: 109.6 kB / 1.229 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.5037, allocations: 51.41 kB / 1.229 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.5038, allocations: 113.8 kB / 1.229 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.5038, allocations: 25.7 kB / 1.229 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.746e-05/0.5039, allocations: 92.11 kB / 1.229 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.791e-05/0.5039, allocations: 15.92 kB / 1.229 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.257e-05/0.504, allocations: 17.72 kB / 1.229 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.5041, allocations: 326.8 kB / 1.229 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.5043, allocations: 19.98 kB / 1.229 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.401e-05/0.5044, allocations: 23.97 kB / 1.229 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001899/0.5046, allocations: 56.75 kB / 1.229 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.5046, allocations: 0 / 1.229 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000286/0.5049, allocations: 89.61 kB / 1.229 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.5049, allocations: 4 kB / 1.229 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.5049, allocations: 320 / 1.229 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.2e-05/0.5049, allocations: 0 / 1.229 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001529/0.5051, allocations: 19.91 kB / 1.229 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.5051, allocations: 0 / 1.229 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.181e-05/0.5052, allocations: 8 kB / 1.229 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.536e-05/0.5052, allocations: 7.969 kB / 1.229 GB, free: 5.18 MB / 0.9825 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.0001359/0.5054, allocations: 122.3 kB / 1.229 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.215e-05/0.5054, allocations: 336 / 1.229 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.227e-05/0.5055, allocations: 3.906 kB / 1.229 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.5055, allocations: 3.984 kB / 1.229 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.778e-05/0.5055, allocations: 4 kB / 1.229 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.5055, allocations: 3.938 kB / 1.229 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000234/0.5058, allocations: 181.5 kB / 1.23 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.5058, allocations: 0 / 1.23 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.438e-05/0.5059, allocations: 11.98 kB / 1.23 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.5059, allocations: 0 / 1.23 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.826e-05/0.5059, allocations: 8 kB / 1.23 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.5059, allocations: 0 / 1.23 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.5059, allocations: 0 / 1.23 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000342/0.5063, allocations: 183.4 kB / 1.23 GB, free: 4.582 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.543e-05/0.5064, allocations: 81.06 kB / 1.23 GB, free: 4.484 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.5064, allocations: 0 / 1.23 GB, free: 4.484 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.5065, allocations: 19.98 kB / 1.23 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.341e-05/0.5066, allocations: 11.98 kB / 1.23 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.5066, allocations: 0 / 1.23 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.345e-05/0.5067, allocations: 87.27 kB / 1.23 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.1e-07/0.5067, allocations: 4 kB / 1.23 GB, free: 4.363 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002578/0.507, allocations: 11.88 kB / 1.23 GB, free: 4.352 MB / 0.9825 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.000208/0.5072, allocations: 103.2 kB / 1.23 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003062/0.5075, allocations: 55.94 kB / 1.23 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.5075, allocations: 3.938 kB / 1.23 GB, free: 4.184 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.5076, allocations: 31.97 kB / 1.23 GB, free: 4.152 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003916/0.508, allocations: 8 kB / 1.23 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005474/0.5086, allocations: 129.3 kB / 1.23 GB, free: 3.992 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004564/0.5091, allocations: 0.6846 MB / 1.231 GB, free: 3.281 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.973e-05/0.5091, allocations: 8 kB / 1.231 GB, free: 3.273 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.164e-05/0.5092, allocations: 15.38 kB / 1.231 GB, free: 3.258 MB / 0.9825 GB Notification: Performance of SimCode: time 3.61e-07/0.5092, allocations: 0 / 1.231 GB, free: 3.258 MB / 0.9825 GB Notification: Performance of Templates: time 0.004553/0.5138, allocations: 0.8913 MB / 1.232 GB, free: 2.371 MB / 0.9825 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