Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.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.LessEqual,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesEqu.u1|intLesEqu.u2|intLesEqu.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesEqu.u1|intLesEqu.u2|intLesEqu.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 91.77 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001587/0.001588, allocations: 177.5 kB / 16.92 MB, free: 6.652 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.424/1.424, allocations: 223.3 MB / 241 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.769/2.769, allocations: 462.7 MB / 0.7371 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003609/0.0003609, allocations: 13.75 kB / 0.9034 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.3089, allocations: 159.6 MB / 1.059 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual): time 0.001053/0.31, allocations: 0.4953 MB / 1.06 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001111/0.3111, allocations: 0.8585 MB / 1.061 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.37e-05/0.3112, allocations: 7.938 kB / 1.061 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.527e-05/0.3112, allocations: 7.875 kB / 1.061 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001027/0.3113, allocations: 7.922 kB / 1.061 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001802/0.3115, allocations: 35.97 kB / 1.061 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001179/0.3116, allocations: 83.73 kB / 1.061 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.3118, allocations: 27.97 kB / 1.061 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.552e-05/0.3119, allocations: 27.86 kB / 1.061 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.312, allocations: 43.81 kB / 1.061 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.33e-05/0.312, allocations: 4 kB / 1.061 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.543e-05/0.312, allocations: 4 kB / 1.061 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.906e-05/0.3121, allocations: 11.92 kB / 1.061 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.944e-05/0.3121, allocations: 57.5 kB / 1.061 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.483e-05/0.3122, allocations: 59.84 kB / 1.061 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3122, allocations: 0 / 1.061 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.984e-06/0.3123, allocations: 0 / 1.061 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.3123, allocations: 4 kB / 1.061 GB, free: 3.238 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006294/0.3129, allocations: 387.5 kB / 1.061 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.313, allocations: 16.02 kB / 1.061 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.255e-05/0.313, allocations: 8.844 kB / 1.061 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001531/0.3132, allocations: 172.3 kB / 1.062 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.3132, allocations: 12.38 kB / 1.062 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.757e-05/0.3132, allocations: 4.375 kB / 1.062 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003276/0.3135, allocations: 117.7 kB / 1.062 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.3136, allocations: 0 / 1.062 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.3136, allocations: 0 / 1.062 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.3136, allocations: 4 kB / 1.062 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004056/0.314, allocations: 123.9 kB / 1.062 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005442/0.3146, allocations: 348.6 kB / 1.062 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006484/0.3152, allocations: 126.5 kB / 1.062 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002133/0.3154, allocations: 68.88 kB / 1.062 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.3155, allocations: 7.938 kB / 1.062 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.3155, allocations: 30.56 kB / 1.062 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.3155, allocations: 0 / 1.062 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0007264/0.3162, allocations: 217.5 kB / 1.063 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.423e-05/0.3163, allocations: 51.41 kB / 1.063 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.96e-05/0.3164, allocations: 125.8 kB / 1.063 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.3164, allocations: 25.7 kB / 1.063 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.416e-05/0.3165, allocations: 104 kB / 1.063 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.597e-05/0.3165, allocations: 19.66 kB / 1.063 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.388e-05/0.3165, allocations: 13.72 kB / 1.063 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.3167, allocations: 326.8 kB / 1.063 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002016/0.3169, allocations: 55.95 kB / 1.063 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001932/0.3171, allocations: 67.83 kB / 1.063 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003838/0.3175, allocations: 112.8 kB / 1.063 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3175, allocations: 0 / 1.063 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000444/0.3179, allocations: 157.6 kB / 1.064 GB, free: 376 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.318, allocations: 4 kB / 1.064 GB, free: 372 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.318, allocations: 0 / 1.064 GB, free: 372 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.318, allocations: 4 kB / 1.064 GB, free: 368 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/0.3182, allocations: 23.97 kB / 1.064 GB, free: 344 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.3182, allocations: 7.938 kB / 1.064 GB, free: 336 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001353/0.3183, allocations: 31.81 kB / 1.064 GB, free: 304 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.3183, allocations: 4 kB / 1.064 GB, free: 300 kB / 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: 3 (reaToInt1.y,reaToInt.y,intLesEqu.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.863e-05/0.3184, allocations: 113.8 kB / 1.064 GB, free: 176 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.261e-05/0.3185, allocations: 8 kB / 1.064 GB, free: 168 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.076e-05/0.3185, allocations: 8.375 kB / 1.064 GB, free: 160 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.3185, allocations: 4 kB / 1.064 GB, free: 156 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3185, allocations: 4 kB / 1.064 GB, free: 152 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.3185, allocations: 7.922 kB / 1.064 GB, free: 144 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002215/0.3188, allocations: 197.5 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.3188, allocations: 0 / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001612/0.319, allocations: 27.97 kB / 1.064 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.319, allocations: 4 kB / 1.064 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.721e-05/0.319, allocations: 3.984 kB / 1.064 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.319, allocations: 0 / 1.064 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.319, allocations: 4 kB / 1.064 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005014/0.3195, allocations: 263.3 kB / 1.064 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.818e-05/0.3196, allocations: 81.02 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.979e-05/0.3196, allocations: 4 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001565/0.3198, allocations: 15.98 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.556e-05/0.3198, allocations: 19.97 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.3199, allocations: 11.94 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.971e-05/0.3199, allocations: 95.2 kB / 1.065 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3199, allocations: 4 kB / 1.065 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002352/0.3202, allocations: 16 kB / 1.065 GB, free: 15.32 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (intLesEqu.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001209/0.3203, allocations: 101.9 kB / 1.065 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004467/0.3207, allocations: 128.4 kB / 1.065 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3208, allocations: 0 / 1.065 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002232/0.321, allocations: 72.11 kB / 1.065 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003067/0.3213, allocations: 11.98 kB / 1.065 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004489/0.3218, allocations: 219.1 kB / 1.065 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002312/0.322, allocations: 0.6965 MB / 1.066 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.381e-05/0.3221, allocations: 15.42 kB / 1.066 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of SimCode: time 1.714e-06/0.3221, allocations: 0 / 1.066 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of Templates: time 0.002799/0.3249, allocations: 1.23 MB / 1.067 GB, free: 12.8 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches