Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007627/0.007627, allocations: 100 kB / 15.73 MB, free: 6.043 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.001367/0.001367, allocations: 190.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.61/1.61, 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 11.0.1-master/package.mo): time 3.102/3.102, allocations: 461.9 MB / 0.7347 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 63.91 kB / 1.054 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4068/0.4082, allocations: 157.4 MB / 1.208 GB, free: 9.633 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.002488/0.4107, allocations: 0.7112 MB / 1.208 GB, free: 8.922 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001643/0.4124, allocations: 0.8312 MB / 1.209 GB, free: 8.078 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.945e-05/0.4125, allocations: 0 / 1.209 GB, free: 8.078 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.991e-05/0.4126, allocations: 3.938 kB / 1.209 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001147/0.4127, allocations: 7.938 kB / 1.209 GB, free: 8.066 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002485/0.413, allocations: 31.95 kB / 1.209 GB, free: 8.035 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001391/0.4132, allocations: 39.86 kB / 1.209 GB, free: 7.996 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001811/0.4133, allocations: 19.98 kB / 1.209 GB, free: 7.977 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001263/0.4135, allocations: 15.98 kB / 1.209 GB, free: 7.961 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.469e-05/0.4136, allocations: 27.84 kB / 1.209 GB, free: 7.934 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.582e-05/0.4136, allocations: 4 kB / 1.209 GB, free: 7.93 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.588e-05/0.4136, allocations: 8 kB / 1.209 GB, free: 7.922 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.203e-05/0.4137, allocations: 11.98 kB / 1.209 GB, free: 7.91 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.645e-05/0.4137, allocations: 19.86 kB / 1.209 GB, free: 7.891 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001508/0.4139, allocations: 43.86 kB / 1.209 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.4139, allocations: 3.938 kB / 1.209 GB, free: 7.844 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.777e-06/0.4139, allocations: 0 / 1.209 GB, free: 7.844 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.4139, allocations: 0 / 1.209 GB, free: 7.844 MB / 0.9669 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.0006815/0.4146, allocations: 356.8 kB / 1.21 GB, free: 7.449 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.512e-05/0.4147, allocations: 8.625 kB / 1.21 GB, free: 7.441 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.275e-05/0.4147, allocations: 20.83 kB / 1.21 GB, free: 7.422 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001916/0.4149, allocations: 164.4 kB / 1.21 GB, free: 7.223 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.415, allocations: 4.375 kB / 1.21 GB, free: 7.219 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/0.415, allocations: 384 / 1.21 GB, free: 7.219 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002552/0.4153, allocations: 69.59 kB / 1.21 GB, free: 7.145 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.4153, allocations: 0 / 1.21 GB, free: 7.145 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.4153, allocations: 0 / 1.21 GB, free: 7.145 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.4153, allocations: 0 / 1.21 GB, free: 7.145 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000224/0.4155, allocations: 63.83 kB / 1.21 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005546/0.4161, allocations: 300.6 kB / 1.21 GB, free: 6.738 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002455/0.4164, allocations: 58.55 kB / 1.21 GB, free: 6.672 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.4165, allocations: 28.91 kB / 1.21 GB, free: 6.641 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.4165, allocations: 7.938 kB / 1.21 GB, free: 6.633 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.4165, allocations: 38.5 kB / 1.211 GB, free: 6.586 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.293e-06/0.4166, allocations: 0 / 1.211 GB, free: 6.586 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0006428/0.4172, allocations: 105.6 kB / 1.211 GB, free: 6.477 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.642e-05/0.4173, allocations: 51.41 kB / 1.211 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.4174, allocations: 109.8 kB / 1.211 GB, free: 6.297 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.872e-05/0.4175, allocations: 29.7 kB / 1.211 GB, free: 6.262 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000248/0.4177, allocations: 88.14 kB / 1.211 GB, free: 6.172 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.792e-05/0.4178, allocations: 7.891 kB / 1.211 GB, free: 6.164 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.431e-05/0.4179, allocations: 17.72 kB / 1.211 GB, free: 6.141 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002041/0.4181, allocations: 322.8 kB / 1.211 GB, free: 5.816 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.4182, allocations: 23.98 kB / 1.211 GB, free: 5.793 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.4183, allocations: 27.91 kB / 1.211 GB, free: 5.766 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001897/0.4185, allocations: 52.81 kB / 1.211 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4185, allocations: 0 / 1.211 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002467/0.4188, allocations: 85.56 kB / 1.211 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.4188, allocations: 4 kB / 1.211 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.4188, allocations: 0 / 1.211 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/0.4188, allocations: 4 kB / 1.211 GB, free: 5.613 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.419, allocations: 19.97 kB / 1.211 GB, free: 5.594 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.419, allocations: 4 kB / 1.211 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.365e-05/0.4191, allocations: 4 kB / 1.211 GB, free: 5.586 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.4191, allocations: 320 / 1.211 GB, free: 5.586 MB / 0.9669 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,intLesEquThr.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.0001324/0.4192, allocations: 126 kB / 1.212 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.075e-05/0.4193, allocations: 0 / 1.212 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.337e-05/0.4193, allocations: 7.891 kB / 1.212 GB, free: 5.438 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.4193, allocations: 4 kB / 1.212 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.4193, allocations: 0 / 1.212 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.4193, allocations: 4 kB / 1.212 GB, free: 5.43 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002436/0.4196, allocations: 181.5 kB / 1.212 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.4196, allocations: 0 / 1.212 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.825e-05/0.4197, allocations: 11.98 kB / 1.212 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.817e-06/0.4197, allocations: 4 kB / 1.212 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.4197, allocations: 3.938 kB / 1.212 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.4197, allocations: 0 / 1.212 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.4197, allocations: 0 / 1.212 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000322/0.42, allocations: 187.3 kB / 1.212 GB, free: 4.984 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.228e-05/0.4201, allocations: 77.11 kB / 1.212 GB, free: 4.891 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.4201, allocations: 11.88 kB / 1.212 GB, free: 4.879 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.94e-05/0.4202, allocations: 7.984 kB / 1.212 GB, free: 4.871 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.332e-05/0.4203, allocations: 11.98 kB / 1.212 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.4203, allocations: 0 / 1.212 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.476e-05/0.4204, allocations: 95.25 kB / 1.212 GB, free: 4.766 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4204, allocations: 4 kB / 1.212 GB, free: 4.762 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000232/0.4207, allocations: 7.938 kB / 1.212 GB, free: 4.754 MB / 0.9669 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 (intLesEquThr.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.0001971/0.4209, allocations: 103.2 kB / 1.212 GB, free: 4.645 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002924/0.4212, allocations: 51.94 kB / 1.212 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/0.4212, allocations: 0 / 1.212 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001182/0.4213, allocations: 31.92 kB / 1.212 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003702/0.4217, allocations: 19.98 kB / 1.212 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004746/0.4222, allocations: 133.4 kB / 1.212 GB, free: 4.391 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003088/0.4225, allocations: 0.6807 MB / 1.213 GB, free: 3.684 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.794e-05/0.4225, allocations: 7.984 kB / 1.213 GB, free: 3.676 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.653e-05/0.4226, allocations: 19.44 kB / 1.213 GB, free: 3.656 MB / 0.9669 GB Notification: Performance of SimCode: time 5.51e-07/0.4226, allocations: 0 / 1.213 GB, free: 3.656 MB / 0.9669 GB Notification: Performance of Templates: time 0.004018/0.4266, allocations: 0.9043 MB / 1.214 GB, free: 2.754 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches