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.001511/0.001511, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002428/0.002428, allocations: 195.5 kB / 16.14 MB, free: 6.711 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.463/1.463, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.795/2.795, allocations: 461.9 MB / 0.7342 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 62.31 kB / 0.8984 GB, free: 37.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.382/0.3832, allocations: 157.4 MB / 1.052 GB, free: 8.852 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.002296/0.3856, allocations: 0.7487 MB / 1.053 GB, free: 8.098 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001165/0.3868, allocations: 0.8468 MB / 1.054 GB, free: 7.238 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.892e-05/0.3868, allocations: 0 / 1.054 GB, free: 7.238 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.296e-05/0.3869, allocations: 0 / 1.054 GB, free: 7.238 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.286e-05/0.387, allocations: 11.86 kB / 1.054 GB, free: 7.227 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001611/0.3872, allocations: 19.98 kB / 1.054 GB, free: 7.207 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.687e-05/0.3873, allocations: 43.91 kB / 1.054 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.3874, allocations: 12 kB / 1.054 GB, free: 7.152 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.852e-05/0.3875, allocations: 23.91 kB / 1.054 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.202e-05/0.3876, allocations: 23.91 kB / 1.054 GB, free: 7.105 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.331e-05/0.3876, allocations: 0 / 1.054 GB, free: 7.105 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.381e-05/0.3876, allocations: 4 kB / 1.054 GB, free: 7.102 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.69e-05/0.3877, allocations: 11.94 kB / 1.054 GB, free: 7.09 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.059e-05/0.3877, allocations: 19.86 kB / 1.054 GB, free: 7.07 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000118/0.3878, allocations: 43.84 kB / 1.054 GB, free: 7.027 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.3878, allocations: 4 kB / 1.054 GB, free: 7.023 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.163e-06/0.3879, allocations: 0 / 1.054 GB, free: 7.023 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.618e-06/0.3879, allocations: 0 / 1.054 GB, free: 7.023 MB / 0.8106 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.0005761/0.3884, allocations: 355.6 kB / 1.054 GB, free: 6.629 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.3885, allocations: 16.02 kB / 1.054 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.784e-05/0.3885, allocations: 0.9375 kB / 1.054 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000166/0.3887, allocations: 176.2 kB / 1.054 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.336e-05/0.3888, allocations: 4.375 kB / 1.054 GB, free: 6.398 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.874e-05/0.3888, allocations: 8.312 kB / 1.054 GB, free: 6.391 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002469/0.389, allocations: 69.78 kB / 1.054 GB, free: 6.316 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.389, allocations: 4 kB / 1.054 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.3891, allocations: 0 / 1.054 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.3891, allocations: 0 / 1.054 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002158/0.3893, allocations: 55.94 kB / 1.055 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004761/0.3898, allocations: 292.6 kB / 1.055 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002342/0.39, allocations: 66.58 kB / 1.055 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/0.3902, allocations: 32.88 kB / 1.055 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.3902, allocations: 0 / 1.055 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.3902, allocations: 30.56 kB / 1.055 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.3902, allocations: 0 / 1.055 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0004626/0.3907, allocations: 113.6 kB / 1.055 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.512e-05/0.3907, allocations: 51.41 kB / 1.055 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.289e-05/0.3908, allocations: 109.8 kB / 1.055 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.3909, allocations: 25.7 kB / 1.055 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.471e-05/0.391, allocations: 88.12 kB / 1.055 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.64e-05/0.391, allocations: 11.81 kB / 1.055 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.154e-05/0.3911, allocations: 17.72 kB / 1.055 GB, free: 5.32 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.3912, allocations: 322.8 kB / 1.056 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.3913, allocations: 27.98 kB / 1.056 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/0.3914, allocations: 23.97 kB / 1.056 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002063/0.3916, allocations: 52.81 kB / 1.056 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.3916, allocations: 0 / 1.056 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002615/0.3919, allocations: 89.58 kB / 1.056 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.3919, allocations: 4 kB / 1.056 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.3919, allocations: 0 / 1.056 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.392, allocations: 0 / 1.056 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.3921, allocations: 15.98 kB / 1.056 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.3921, allocations: 0 / 1.056 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.864e-05/0.3922, allocations: 7.984 kB / 1.056 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.3922, allocations: 7.938 kB / 1.056 GB, free: 4.762 MB / 0.8106 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.0001041/0.3923, allocations: 115.3 kB / 1.056 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.348e-05/0.3924, allocations: 16.17 kB / 1.056 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.635e-05/0.3924, allocations: 3.906 kB / 1.056 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.3924, allocations: 3.984 kB / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.3924, allocations: 0 / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.3924, allocations: 0 / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000189/0.3926, allocations: 181.5 kB / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.3926, allocations: 0 / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.542e-05/0.3927, allocations: 19.92 kB / 1.056 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.3927, allocations: 0 / 1.056 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.3927, allocations: 4 kB / 1.056 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.3928, allocations: 0 / 1.056 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3928, allocations: 4 kB / 1.056 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003156/0.3931, allocations: 179.4 kB / 1.056 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.425e-05/0.3931, allocations: 85 kB / 1.056 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.3932, allocations: 0 / 1.056 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.3933, allocations: 8 kB / 1.056 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.804e-05/0.3933, allocations: 11.98 kB / 1.056 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.3934, allocations: 7.984 kB / 1.056 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.553e-05/0.3934, allocations: 83.59 kB / 1.057 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3934, allocations: 0 / 1.057 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002289/0.3936, allocations: 8 kB / 1.057 GB, free: 3.949 MB / 0.8106 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.000145/0.3938, allocations: 103.1 kB / 1.057 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002861/0.3941, allocations: 63.94 kB / 1.057 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.3941, allocations: 0 / 1.057 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001325/0.3942, allocations: 31.97 kB / 1.057 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000326/0.3946, allocations: 1.203 kB / 1.057 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003959/0.395, allocations: 159.2 kB / 1.057 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002943/0.3953, allocations: 0.6809 MB / 1.058 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.83e-05/0.3953, allocations: 4 kB / 1.058 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.399e-05/0.3954, allocations: 11.42 kB / 1.058 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of SimCode: time 4.71e-07/0.3954, allocations: 0 / 1.058 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of Templates: time 0.003183/0.3986, allocations: 0.776 MB / 1.058 GB, free: 2.07 MB / 0.8106 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