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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.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.001296/0.001296, allocations: 114.4 kB / 16.37 MB, free: 6.016 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.001375/0.001375, allocations: 194.8 kB / 17.3 MB, free: 5.613 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.435/1.435, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.8/2.8, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 63.69 kB / 0.8774 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4021/0.4041, allocations: 153 MB / 1.027 GB, free: 2.039 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.003304/0.4075, allocations: 0.7054 MB / 1.027 GB, free: 1.336 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001376/0.4089, allocations: 0.8389 MB / 1.028 GB, free: 496 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.269e-05/0.409, allocations: 0 / 1.028 GB, free: 496 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 5.474e-05/0.4092, allocations: 3.938 kB / 1.028 GB, free: 492 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001075/0.4093, allocations: 15.91 kB / 1.028 GB, free: 476 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002022/0.4095, allocations: 15.98 kB / 1.028 GB, free: 460 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001194/0.4096, allocations: 47.91 kB / 1.028 GB, free: 412 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001495/0.4098, allocations: 16 kB / 1.028 GB, free: 396 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.4099, allocations: 23.91 kB / 1.028 GB, free: 372 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 8.693e-05/0.41, allocations: 23.91 kB / 1.028 GB, free: 348 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.446e-05/0.41, allocations: 11.88 kB / 1.028 GB, free: 336 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.492e-05/0.41, allocations: 4 kB / 1.028 GB, free: 332 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.547e-05/0.4101, allocations: 11.94 kB / 1.028 GB, free: 320 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.687e-05/0.4101, allocations: 19.92 kB / 1.028 GB, free: 300 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001291/0.4103, allocations: 47.78 kB / 1.028 GB, free: 252 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.4103, allocations: 4 kB / 1.028 GB, free: 248 kB / 0.795 GB Notification: Performance of FrontEnd: time 3.276e-06/0.4103, allocations: 0 / 1.028 GB, free: 248 kB / 0.795 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.4103, allocations: 0 / 1.028 GB, free: 248 kB / 0.795 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.0007334/0.411, allocations: 355.4 kB / 1.029 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.4111, allocations: 8.031 kB / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.798e-05/0.4111, allocations: 8.844 kB / 1.029 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001619/0.4113, allocations: 164.4 kB / 1.029 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.4113, allocations: 384 / 1.029 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/0.4114, allocations: 4.375 kB / 1.029 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002125/0.4116, allocations: 73.72 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.4116, allocations: 0 / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.4116, allocations: 8 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.4116, allocations: 4 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000199/0.4118, allocations: 47.94 kB / 1.029 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004654/0.4123, allocations: 296.7 kB / 1.029 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001962/0.4125, allocations: 70.47 kB / 1.029 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.787e-05/0.4126, allocations: 24.92 kB / 1.03 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.4127, allocations: 4 kB / 1.03 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.367e-05/0.4127, allocations: 30.56 kB / 1.03 GB, free: 15 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.183e-06/0.4127, allocations: 0 / 1.03 GB, free: 15 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0004156/0.4131, allocations: 113.6 kB / 1.03 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.56e-05/0.4132, allocations: 51.41 kB / 1.03 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.4133, allocations: 109.8 kB / 1.03 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.4133, allocations: 25.7 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.545e-05/0.4134, allocations: 92.05 kB / 1.03 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.264e-05/0.4134, allocations: 7.906 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.51e-05/0.4135, allocations: 21.7 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.4136, allocations: 322.8 kB / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.899e-05/0.4137, allocations: 27.91 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.194e-05/0.4138, allocations: 19.98 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001717/0.414, allocations: 49.09 kB / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.414, allocations: 0 / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002304/0.4142, allocations: 93.62 kB / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.4143, allocations: 4 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.4143, allocations: 7.938 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.4143, allocations: 0 / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.4144, allocations: 15.92 kB / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.4144, allocations: 0 / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.926e-05/0.4145, allocations: 7.984 kB / 1.03 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.665e-06/0.4145, allocations: 0 / 1.03 GB, free: 13.99 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 8.575e-05/0.4146, allocations: 121.8 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.562e-05/0.4147, allocations: 3.906 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.859e-05/0.4147, allocations: 11.91 kB / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.4147, allocations: 0 / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/0.4147, allocations: 3.984 kB / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.4147, allocations: 0 / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001831/0.4149, allocations: 177.5 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4149, allocations: 0 / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.239e-05/0.415, allocations: 11.98 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.415, allocations: 4 kB / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.415, allocations: 3.984 kB / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.415, allocations: 0 / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.415, allocations: 0 / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002684/0.4153, allocations: 187.3 kB / 1.031 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.692e-05/0.4154, allocations: 81.11 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.4154, allocations: 4 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.788e-05/0.4155, allocations: 11.98 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.37e-05/0.4156, allocations: 11.98 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.229e-06/0.4156, allocations: 0 / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.152e-05/0.4156, allocations: 91.66 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4156, allocations: 0 / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002154/0.4159, allocations: 4 kB / 1.031 GB, free: 13.18 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.0001375/0.416, allocations: 111.2 kB / 1.031 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002542/0.4163, allocations: 59.89 kB / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.4163, allocations: 3.938 kB / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.4164, allocations: 27.97 kB / 1.031 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003039/0.4167, allocations: 8 kB / 1.031 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003843/0.4171, allocations: 129.6 kB / 1.031 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002898/0.4174, allocations: 0.6884 MB / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.072e-05/0.4174, allocations: 4 kB / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.402e-05/0.4175, allocations: 19.42 kB / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of SimCode: time 2.6e-07/0.4175, allocations: 0 / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of Templates: time 0.003378/0.4209, allocations: 0.8856 MB / 1.033 GB, free: 11.19 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 -s cvode -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/jenkins1/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