Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.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.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreEquThr.t|intGreEquThr.u|intGreEquThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreEquThr.t|intGreEquThr.u|intGreEquThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001685/0.001685, allocations: 113.7 kB / 16.42 MB, free: 6.457 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.001671/0.001671, allocations: 185.5 kB / 17.35 MB, free: 5.734 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.576/1.576, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.857/2.857, allocations: 472.7 MB / 0.746 GB, free: 472 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001577, allocations: 67.91 kB / 1.07 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.017/1.019, allocations: 159.9 MB / 1.226 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.00237/1.021, allocations: 0.6932 MB / 1.227 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001108/1.023, allocations: 0.8429 MB / 1.228 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.726e-05/1.023, allocations: 4 kB / 1.228 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.024e-05/1.023, allocations: 0 / 1.228 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.677e-05/1.023, allocations: 3.938 kB / 1.228 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001684/1.023, allocations: 23.91 kB / 1.228 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 9.941e-05/1.023, allocations: 51.84 kB / 1.228 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/1.023, allocations: 15.98 kB / 1.228 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 8.516e-05/1.023, allocations: 19.98 kB / 1.228 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.788e-05/1.023, allocations: 31.84 kB / 1.228 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.159e-05/1.023, allocations: 4 kB / 1.228 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.308e-05/1.023, allocations: 4 kB / 1.228 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.039e-05/1.023, allocations: 7.984 kB / 1.228 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.753e-05/1.024, allocations: 19.88 kB / 1.228 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001153/1.024, allocations: 43.84 kB / 1.228 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/1.024, allocations: 0 / 1.228 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.432e-06/1.024, allocations: 0 / 1.228 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.601e-06/1.024, allocations: 4 kB / 1.228 GB, free: 11.75 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.0005228/1.024, allocations: 367.8 kB / 1.228 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/1.024, allocations: 8.031 kB / 1.228 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.715e-05/1.024, allocations: 8.891 kB / 1.228 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/1.024, allocations: 164.4 kB / 1.229 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/1.024, allocations: 4.359 kB / 1.229 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/1.024, allocations: 4.375 kB / 1.229 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001909/1.025, allocations: 69.53 kB / 1.229 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/1.025, allocations: 0 / 1.229 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/1.025, allocations: 8 kB / 1.229 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/1.025, allocations: 4 kB / 1.229 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002116/1.025, allocations: 43.95 kB / 1.229 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005046/1.025, allocations: 304.6 kB / 1.229 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001914/1.026, allocations: 62.55 kB / 1.229 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/1.026, allocations: 32.91 kB / 1.229 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/1.026, allocations: 0 / 1.229 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/1.026, allocations: 34.56 kB / 1.229 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 1.433e-06/1.026, allocations: 3.938 kB / 1.229 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.0004339/1.026, allocations: 105.6 kB / 1.229 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/1.026, allocations: 55.41 kB / 1.229 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.742e-05/1.026, allocations: 109.8 kB / 1.229 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/1.026, allocations: 25.7 kB / 1.229 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.428e-05/1.027, allocations: 96.03 kB / 1.23 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.08e-05/1.027, allocations: 7.953 kB / 1.23 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.704e-05/1.027, allocations: 17.7 kB / 1.23 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001419/1.027, allocations: 322.8 kB / 1.23 GB, free: 9.715 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/1.027, allocations: 27.97 kB / 1.23 GB, free: 9.688 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.873e-05/1.027, allocations: 23.97 kB / 1.23 GB, free: 9.664 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000177/1.027, allocations: 48.77 kB / 1.23 GB, free: 9.613 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/1.027, allocations: 0 / 1.23 GB, free: 9.613 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002392/1.027, allocations: 89.88 kB / 1.23 GB, free: 9.52 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/1.027, allocations: 12 kB / 1.23 GB, free: 9.508 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/1.027, allocations: 0 / 1.23 GB, free: 9.508 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/1.027, allocations: 48 / 1.23 GB, free: 9.508 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/1.028, allocations: 15.97 kB / 1.23 GB, free: 9.492 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.587e-06/1.028, allocations: 0 / 1.23 GB, free: 9.492 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.379e-05/1.028, allocations: 7.984 kB / 1.23 GB, free: 9.484 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/1.028, allocations: 0 / 1.23 GB, free: 9.484 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,intGreEquThr.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.999e-05/1.028, allocations: 118.3 kB / 1.23 GB, free: 9.359 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.682e-05/1.028, allocations: 0 / 1.23 GB, free: 9.359 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.933e-05/1.028, allocations: 23.83 kB / 1.23 GB, free: 9.328 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/1.028, allocations: 0 / 1.23 GB, free: 9.328 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/1.028, allocations: 0 / 1.23 GB, free: 9.328 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.938e-05/1.028, allocations: 81.06 kB / 1.23 GB, free: 9.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/1.028, allocations: 3.938 kB / 1.23 GB, free: 9.227 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/1.028, allocations: 15.92 kB / 1.23 GB, free: 9.211 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.055e-05/1.028, allocations: 11.98 kB / 1.23 GB, free: 9.199 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003388/1.028, allocations: 168.9 kB / 1.23 GB, free: 9.027 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003221/1.029, allocations: 254.7 kB / 1.231 GB, free: 8.762 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001076/1.029, allocations: 31.91 kB / 1.231 GB, free: 8.73 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.7e-05/1.029, allocations: 91.22 kB / 1.231 GB, free: 8.641 MB / 0.9512 GB Notification: Performance of Backend: time 2.4e-07/1.029, allocations: 0 / 1.231 GB, free: 8.641 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000464/1.029, allocations: 111.6 kB / 1.231 GB, free: 8.527 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0005361/1.03, allocations: 0.5764 MB / 1.232 GB, free: 7.902 MB / 0.9512 GB Notification: Performance of Templates: time 0.003257/1.033, allocations: 0.9962 MB / 1.232 GB, free: 6.918 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches