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.005531/0.005531, allocations: 101.6 kB / 15.88 MB, free: 5.867 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.001285/0.001285, allocations: 196.4 kB / 16.79 MB, free: 5.809 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.39/1.39, allocations: 222.9 MB / 240.5 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.007/3.007, allocations: 461.9 MB / 0.7348 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 65.7 kB / 0.8991 GB, free: 36.87 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3104/0.3117, allocations: 157.4 MB / 1.053 GB, free: 8.32 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual): time 0.00242/0.3142, allocations: 0.8304 MB / 1.054 GB, free: 7.484 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001102/0.3153, allocations: 0.8624 MB / 1.054 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.187e-05/0.3154, allocations: 4 kB / 1.054 GB, free: 6.605 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.672e-05/0.3154, allocations: 7.922 kB / 1.054 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000101/0.3156, allocations: 3.938 kB / 1.054 GB, free: 6.594 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001857/0.3158, allocations: 43.95 kB / 1.054 GB, free: 6.551 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000137/0.3159, allocations: 83.67 kB / 1.055 GB, free: 6.469 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.3161, allocations: 20 kB / 1.055 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.798e-05/0.3162, allocations: 35.89 kB / 1.055 GB, free: 6.414 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.124e-05/0.3163, allocations: 39.83 kB / 1.055 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.506e-05/0.3163, allocations: 8 kB / 1.055 GB, free: 6.367 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.049e-05/0.3163, allocations: 8 kB / 1.055 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.031e-05/0.3163, allocations: 19.91 kB / 1.055 GB, free: 6.34 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.335e-05/0.3164, allocations: 35.78 kB / 1.055 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001009/0.3165, allocations: 59.88 kB / 1.055 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3165, allocations: 0 / 1.055 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3165, allocations: 3.938 kB / 1.055 GB, free: 6.242 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.095e-06/0.3165, allocations: 0 / 1.055 GB, free: 6.242 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.0006702/0.3172, allocations: 391.5 kB / 1.055 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.3173, allocations: 16.02 kB / 1.055 GB, free: 5.797 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.353e-05/0.3173, allocations: 8.844 kB / 1.055 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001501/0.3175, allocations: 184.2 kB / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.3175, allocations: 4.375 kB / 1.055 GB, free: 5.566 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.3175, allocations: 4.375 kB / 1.055 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003275/0.3179, allocations: 109.7 kB / 1.055 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.3179, allocations: 0 / 1.055 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.3179, allocations: 4 kB / 1.055 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.3179, allocations: 4 kB / 1.055 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003848/0.3183, allocations: 103.8 kB / 1.056 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005921/0.3189, allocations: 344.6 kB / 1.056 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006587/0.3196, allocations: 118.5 kB / 1.056 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000188/0.3198, allocations: 52.88 kB / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.3198, allocations: 4 kB / 1.056 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.3198, allocations: 38.56 kB / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.3199, allocations: 0 / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0006714/0.3205, allocations: 169.5 kB / 1.056 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/0.3206, allocations: 59.34 kB / 1.056 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.3207, allocations: 125.8 kB / 1.056 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.3207, allocations: 29.64 kB / 1.056 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.493e-05/0.3208, allocations: 96.03 kB / 1.057 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.041e-05/0.3208, allocations: 23.73 kB / 1.057 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.486e-05/0.3209, allocations: 21.7 kB / 1.057 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.321, allocations: 322.8 kB / 1.057 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001848/0.3212, allocations: 47.95 kB / 1.057 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001689/0.3214, allocations: 43.95 kB / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003365/0.3217, allocations: 92.77 kB / 1.057 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3217, allocations: 0 / 1.057 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004097/0.3221, allocations: 145.5 kB / 1.057 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.3222, allocations: 4 kB / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.3222, allocations: 0 / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.3222, allocations: 0 / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001745/0.3224, allocations: 27.91 kB / 1.057 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.3224, allocations: 0 / 1.057 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001303/0.3225, allocations: 23.92 kB / 1.057 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.3226, allocations: 0 / 1.057 GB, free: 3.453 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: 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 0.0001027/0.3227, allocations: 113.8 kB / 1.057 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.671e-05/0.3227, allocations: 11.89 kB / 1.057 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.787e-05/0.3227, allocations: 8.375 kB / 1.057 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.3228, allocations: 7.938 kB / 1.057 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.3228, allocations: 0 / 1.057 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.3228, allocations: 3.938 kB / 1.057 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002124/0.323, allocations: 201.5 kB / 1.058 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.323, allocations: 8 kB / 1.058 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.3232, allocations: 19.97 kB / 1.058 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.3232, allocations: 0 / 1.058 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.3232, allocations: 7.938 kB / 1.058 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.3232, allocations: 4 kB / 1.058 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.3232, allocations: 3.938 kB / 1.058 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004615/0.3237, allocations: 239.8 kB / 1.058 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.849e-05/0.3237, allocations: 81.02 kB / 1.058 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.332e-05/0.3238, allocations: 4 kB / 1.058 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000152/0.3239, allocations: 11.97 kB / 1.058 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.706e-05/0.324, allocations: 23.97 kB / 1.058 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.324, allocations: 7.938 kB / 1.058 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.299e-05/0.3241, allocations: 91.27 kB / 1.058 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3241, allocations: 4 kB / 1.058 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002489/0.3243, allocations: 16 kB / 1.058 GB, free: 2.508 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: 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.0001275/0.3245, allocations: 99.25 kB / 1.058 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004131/0.3249, allocations: 111.9 kB / 1.058 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3249, allocations: 0 / 1.058 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002062/0.3251, allocations: 59.94 kB / 1.058 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000351/0.3255, allocations: 15.34 kB / 1.058 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004957/0.326, allocations: 221.6 kB / 1.059 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002968/0.3263, allocations: 0.6926 MB / 1.059 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.258e-05/0.3264, allocations: 19.42 kB / 1.059 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of SimCode: time 2.91e-07/0.3264, allocations: 0 / 1.059 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of Templates: time 0.002881/0.3293, allocations: 1.229 MB / 1.06 GB, free: 8 kB / 0.8106 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