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.001467/0.001467, allocations: 114.9 kB / 16.42 MB, free: 6.508 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.001432/0.001432, allocations: 183.8 kB / 17.34 MB, free: 5.758 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.415/1.415, allocations: 222.9 MB / 241.1 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.711/2.711, allocations: 472.7 MB / 0.746 GB, free: 412 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 71.88 kB / 1.07 GB, free: 9.504 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.074/1.075, allocations: 159.9 MB / 1.226 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.002242/1.078, allocations: 0.6941 MB / 1.227 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001117/1.079, allocations: 0.8429 MB / 1.228 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.166e-05/1.079, allocations: 0 / 1.228 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.625e-05/1.079, allocations: 3.938 kB / 1.228 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 9.093e-05/1.079, allocations: 7.938 kB / 1.228 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001632/1.079, allocations: 23.95 kB / 1.228 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001077/1.079, allocations: 51.84 kB / 1.228 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/1.08, allocations: 16 kB / 1.228 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 7.599e-05/1.08, allocations: 11.98 kB / 1.228 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.202e-05/1.08, allocations: 35.83 kB / 1.228 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.744e-05/1.08, allocations: 4 kB / 1.228 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.431e-05/1.08, allocations: 8 kB / 1.228 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.145e-05/1.08, allocations: 8 kB / 1.228 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.744e-05/1.08, allocations: 23.8 kB / 1.228 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001345/1.08, allocations: 51.78 kB / 1.228 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/1.08, allocations: 0 / 1.228 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.064e-06/1.08, allocations: 0 / 1.228 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.127e-06/1.08, allocations: 0 / 1.228 GB, free: 11.68 MB / 0.9512 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.0005638/1.081, allocations: 363.8 kB / 1.228 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/1.081, allocations: 8.031 kB / 1.228 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.597e-05/1.081, allocations: 12.89 kB / 1.228 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/1.081, allocations: 160.4 kB / 1.229 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/1.081, allocations: 8.359 kB / 1.229 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/1.081, allocations: 384 / 1.229 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002283/1.081, allocations: 69.59 kB / 1.229 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.457e-06/1.081, allocations: 0 / 1.229 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/1.081, allocations: 4 kB / 1.229 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.85e-06/1.081, allocations: 0 / 1.229 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002154/1.081, allocations: 59.88 kB / 1.229 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005032/1.082, allocations: 296.8 kB / 1.229 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001956/1.082, allocations: 66.47 kB / 1.229 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001107/1.082, allocations: 28.92 kB / 1.229 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/1.082, allocations: 4 kB / 1.229 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/1.082, allocations: 38.48 kB / 1.229 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 1.864e-06/1.082, allocations: 0 / 1.229 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.0004318/1.083, allocations: 105.6 kB / 1.229 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/1.083, allocations: 51.41 kB / 1.229 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.945e-05/1.083, allocations: 105.8 kB / 1.229 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/1.083, allocations: 29.7 kB / 1.229 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.043e-05/1.083, allocations: 96.03 kB / 1.23 GB, free: 10.01 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.318e-05/1.083, allocations: 7.953 kB / 1.23 GB, free: 10 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.321e-05/1.083, allocations: 17.7 kB / 1.23 GB, free: 9.98 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001354/1.083, allocations: 322.8 kB / 1.23 GB, free: 9.656 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/1.083, allocations: 23.97 kB / 1.23 GB, free: 9.633 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.674e-05/1.083, allocations: 23.92 kB / 1.23 GB, free: 9.609 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001749/1.084, allocations: 52.81 kB / 1.23 GB, free: 9.555 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/1.084, allocations: 0 / 1.23 GB, free: 9.555 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002331/1.084, allocations: 89.59 kB / 1.23 GB, free: 9.461 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/1.084, allocations: 4 kB / 1.23 GB, free: 9.457 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/1.084, allocations: 4 kB / 1.23 GB, free: 9.453 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/1.084, allocations: 0 / 1.23 GB, free: 9.453 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/1.084, allocations: 15.98 kB / 1.23 GB, free: 9.438 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/1.084, allocations: 0 / 1.23 GB, free: 9.438 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.594e-05/1.084, allocations: 7.984 kB / 1.23 GB, free: 9.43 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/1.084, allocations: 0 / 1.23 GB, free: 9.43 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 8.856e-05/1.084, allocations: 126.2 kB / 1.23 GB, free: 9.297 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.94e-05/1.084, allocations: 4.328 kB / 1.23 GB, free: 9.293 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.902e-05/1.084, allocations: 11.89 kB / 1.23 GB, free: 9.273 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/1.084, allocations: 0 / 1.23 GB, free: 9.273 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/1.084, allocations: 3.984 kB / 1.23 GB, free: 9.27 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.989e-05/1.084, allocations: 85.06 kB / 1.23 GB, free: 9.168 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/1.084, allocations: 7.938 kB / 1.23 GB, free: 9.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/1.084, allocations: 7.984 kB / 1.23 GB, free: 9.152 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.168e-05/1.084, allocations: 15.92 kB / 1.23 GB, free: 9.137 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000321/1.085, allocations: 164.9 kB / 1.23 GB, free: 8.969 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003112/1.085, allocations: 262.7 kB / 1.231 GB, free: 8.695 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001153/1.085, allocations: 27.97 kB / 1.231 GB, free: 8.668 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.774e-05/1.085, allocations: 87.22 kB / 1.231 GB, free: 8.582 MB / 0.9512 GB Notification: Performance of Backend: time 5.91e-07/1.085, allocations: 0 / 1.231 GB, free: 8.582 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004479/1.086, allocations: 114.4 kB / 1.231 GB, free: 8.465 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0005423/1.086, allocations: 0.5725 MB / 1.232 GB, free: 7.844 MB / 0.9512 GB Notification: Performance of Templates: time 0.003466/1.09, allocations: 0.9917 MB / 1.232 GB, free: 6.859 MB / 0.9512 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/jenkins1/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