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.001061/0.001061, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008911/0.008911, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.53/1.53, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3/3, allocations: 462.7 MB / 0.7364 GB, free: 240 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003887/0.0003885, allocations: 9.969 kB / 0.9028 GB, free: 36.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4007/0.4011, allocations: 159.6 MB / 1.059 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001301/0.4024, allocations: 439.5 kB / 1.059 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001199/0.4037, allocations: 0.8312 MB / 1.06 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.872e-05/0.4038, allocations: 0 / 1.06 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.34e-05/0.4038, allocations: 3.938 kB / 1.06 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000109/0.4039, allocations: 4 kB / 1.06 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001752/0.4041, allocations: 23.92 kB / 1.06 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.535e-05/0.4042, allocations: 43.92 kB / 1.06 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.4043, allocations: 15.98 kB / 1.06 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.648e-05/0.4044, allocations: 19.84 kB / 1.06 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.878e-05/0.4045, allocations: 19.92 kB / 1.06 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.4046, allocations: 0 / 1.06 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.096e-05/0.4046, allocations: 4 kB / 1.06 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.075e-05/0.4046, allocations: 7.984 kB / 1.06 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.63e-05/0.4047, allocations: 41.58 kB / 1.06 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.964e-05/0.4048, allocations: 43.84 kB / 1.06 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.4048, allocations: 0 / 1.06 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.894e-06/0.4048, allocations: 0 / 1.06 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.4048, allocations: 0 / 1.06 GB, free: 3.906 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.00059/0.4054, allocations: 363.6 kB / 1.06 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.4055, allocations: 8.031 kB / 1.06 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.083e-05/0.4055, allocations: 0.9375 kB / 1.06 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.4057, allocations: 176.3 kB / 1.061 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.4057, allocations: 4.375 kB / 1.061 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.568e-05/0.4057, allocations: 4.375 kB / 1.061 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002696/0.406, allocations: 77.72 kB / 1.061 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.406, allocations: 3.938 kB / 1.061 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.406, allocations: 4 kB / 1.061 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.301e-06/0.4061, allocations: 0 / 1.061 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002411/0.4063, allocations: 63.94 kB / 1.061 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005421/0.4069, allocations: 292.8 kB / 1.061 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002262/0.4071, allocations: 74.52 kB / 1.061 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001228/0.4072, allocations: 32.88 kB / 1.061 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.515e-05/0.4073, allocations: 7.938 kB / 1.061 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.4073, allocations: 38.56 kB / 1.061 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.744e-06/0.4073, allocations: 0 / 1.061 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0004796/0.4078, allocations: 121.5 kB / 1.061 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.927e-05/0.4079, allocations: 55.34 kB / 1.061 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.408, allocations: 113.8 kB / 1.062 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001419/0.4081, allocations: 25.7 kB / 1.062 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.005e-05/0.4082, allocations: 84.14 kB / 1.062 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.946e-05/0.4082, allocations: 15.8 kB / 1.062 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.082e-05/0.4083, allocations: 9.719 kB / 1.062 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.4084, allocations: 318.8 kB / 1.062 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/0.4085, allocations: 35.97 kB / 1.062 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.4087, allocations: 23.98 kB / 1.062 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002214/0.4089, allocations: 64.81 kB / 1.062 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.4089, allocations: 0 / 1.062 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002681/0.4092, allocations: 93.92 kB / 1.062 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.605e-05/0.4092, allocations: 11.94 kB / 1.062 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.4092, allocations: 4 kB / 1.062 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/0.4093, allocations: 4.031 kB / 1.062 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/0.4094, allocations: 11.98 kB / 1.062 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.4094, allocations: 0 / 1.062 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.953e-05/0.4095, allocations: 11.98 kB / 1.062 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.4095, allocations: 4 kB / 1.062 GB, free: 1.566 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 9.116e-05/0.4096, allocations: 113.8 kB / 1.062 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.116e-05/0.4097, allocations: 11.91 kB / 1.062 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.794e-05/0.4097, allocations: 7.906 kB / 1.062 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.4097, allocations: 0 / 1.062 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.4097, allocations: 3.984 kB / 1.062 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.4097, allocations: 0 / 1.062 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002488/0.41, allocations: 177.6 kB / 1.062 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.41, allocations: 0 / 1.062 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.61e-05/0.4101, allocations: 15.98 kB / 1.063 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.4101, allocations: 0 / 1.063 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.4101, allocations: 11.92 kB / 1.063 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.4101, allocations: 0 / 1.063 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.4101, allocations: 3.938 kB / 1.063 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003568/0.4105, allocations: 195.4 kB / 1.063 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001411/0.4107, allocations: 85.02 kB / 1.063 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.4107, allocations: 0 / 1.063 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.4108, allocations: 15.98 kB / 1.063 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.769e-05/0.4109, allocations: 7.984 kB / 1.063 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.4109, allocations: 0 / 1.063 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.211e-05/0.4109, allocations: 91.58 kB / 1.063 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4109, allocations: 0 / 1.063 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002234/0.4112, allocations: 4 kB / 1.063 GB, free: 0.7383 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.0001725/0.4113, allocations: 111.2 kB / 1.063 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002937/0.4116, allocations: 67.89 kB / 1.063 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.4117, allocations: 0 / 1.063 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001296/0.4118, allocations: 39.97 kB / 1.063 GB, free: 0.5156 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/0.4121, allocations: 4 kB / 1.063 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003969/0.4125, allocations: 140.7 kB / 1.063 GB, free: 356 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/0.4128, allocations: 0.6848 MB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.701e-05/0.4129, allocations: 4 kB / 1.064 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.832e-05/0.4129, allocations: 7.438 kB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.4129, allocations: 0 / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of Templates: time 0.003509/0.4165, allocations: 0.7694 MB / 1.065 GB, free: 14.86 MB / 0.8262 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