Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001827/0.001827, allocations: 106.3 kB / 16.27 MB, free: 5.969 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.001932/0.001932, allocations: 189.2 kB / 17.19 MB, free: 5.594 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.417/1.417, allocations: 222.9 MB / 240.9 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.579/2.579, allocations: 437.1 MB / 0.7111 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001917, allocations: 68.92 kB / 0.8699 GB, free: 2.184 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3059, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual): time 0.002091/0.3081, allocations: 0.785 MB / 1.019 GB, free: 9.82 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001063/0.3092, allocations: 0.8623 MB / 1.02 GB, free: 8.945 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.139e-05/0.3092, allocations: 0 / 1.02 GB, free: 8.945 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.535e-05/0.3093, allocations: 7.922 kB / 1.02 GB, free: 8.938 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.186e-05/0.3093, allocations: 7.875 kB / 1.02 GB, free: 8.93 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001516/0.3095, allocations: 47.89 kB / 1.02 GB, free: 8.883 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001149/0.3096, allocations: 87.78 kB / 1.02 GB, free: 8.797 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.3097, allocations: 23.98 kB / 1.02 GB, free: 8.773 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.665e-05/0.3098, allocations: 39.84 kB / 1.02 GB, free: 8.734 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 9.779e-05/0.3099, allocations: 51.75 kB / 1.02 GB, free: 8.684 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.569e-05/0.31, allocations: 12 kB / 1.02 GB, free: 8.672 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.897e-05/0.31, allocations: 8 kB / 1.02 GB, free: 8.664 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.054e-05/0.31, allocations: 19.92 kB / 1.02 GB, free: 8.645 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.817e-05/0.3101, allocations: 39.77 kB / 1.02 GB, free: 8.605 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001227/0.3102, allocations: 83.73 kB / 1.02 GB, free: 8.523 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.3102, allocations: 0 / 1.02 GB, free: 8.523 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3102, allocations: 0 / 1.02 GB, free: 8.523 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.3102, allocations: 0 / 1.02 GB, free: 8.523 MB / 0.795 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.0006486/0.3109, allocations: 399.5 kB / 1.02 GB, free: 8.086 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.3109, allocations: 8.031 kB / 1.02 GB, free: 8.078 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.095e-05/0.311, allocations: 8.844 kB / 1.02 GB, free: 8.07 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/0.3112, allocations: 176.2 kB / 1.021 GB, free: 7.859 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.3112, allocations: 4.375 kB / 1.021 GB, free: 7.855 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/0.3112, allocations: 4.375 kB / 1.021 GB, free: 7.852 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003265/0.3115, allocations: 118.2 kB / 1.021 GB, free: 7.73 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/0.3116, allocations: 0 / 1.021 GB, free: 7.73 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.3116, allocations: 0 / 1.021 GB, free: 7.73 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.3116, allocations: 4 kB / 1.021 GB, free: 7.727 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003863/0.312, allocations: 95.89 kB / 1.021 GB, free: 7.633 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005665/0.3125, allocations: 352.6 kB / 1.021 GB, free: 7.238 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006734/0.3132, allocations: 118.6 kB / 1.021 GB, free: 7.113 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001979/0.3134, allocations: 48.81 kB / 1.021 GB, free: 7.062 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.3135, allocations: 8 kB / 1.021 GB, free: 7.055 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.3135, allocations: 34.56 kB / 1.021 GB, free: 7.012 MB / 0.795 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.3135, allocations: 0 / 1.021 GB, free: 7.012 MB / 0.795 GB Notification: Performance of matching and sorting (n=7): time 0.0007092/0.3142, allocations: 177.3 kB / 1.022 GB, free: 6.832 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.808e-05/0.3143, allocations: 59.41 kB / 1.022 GB, free: 6.762 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.3144, allocations: 129.8 kB / 1.022 GB, free: 6.625 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.3145, allocations: 25.7 kB / 1.022 GB, free: 6.594 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.995e-05/0.3145, allocations: 97.56 kB / 1.022 GB, free: 6.496 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.038e-05/0.3146, allocations: 19.73 kB / 1.022 GB, free: 6.477 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.662e-05/0.3146, allocations: 25.7 kB / 1.022 GB, free: 6.445 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001893/0.3148, allocations: 318.8 kB / 1.022 GB, free: 6.125 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001946/0.315, allocations: 47.95 kB / 1.022 GB, free: 6.078 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001772/0.3152, allocations: 43.95 kB / 1.022 GB, free: 6.035 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003569/0.3156, allocations: 92.77 kB / 1.022 GB, free: 5.941 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.3156, allocations: 0 / 1.022 GB, free: 5.941 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00043/0.316, allocations: 145.4 kB / 1.022 GB, free: 5.793 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.3161, allocations: 4 kB / 1.022 GB, free: 5.789 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.3161, allocations: 0 / 1.022 GB, free: 5.789 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.3161, allocations: 0 / 1.022 GB, free: 5.789 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001683/0.3163, allocations: 23.97 kB / 1.022 GB, free: 5.766 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.982e-06/0.3163, allocations: 0.5469 kB / 1.022 GB, free: 5.766 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.3164, allocations: 19.92 kB / 1.023 GB, free: 5.746 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.631e-05/0.3164, allocations: 8 kB / 1.023 GB, free: 5.738 MB / 0.795 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.0001082/0.3165, allocations: 117.8 kB / 1.023 GB, free: 5.613 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.152e-05/0.3166, allocations: 3.906 kB / 1.023 GB, free: 5.609 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.136e-05/0.3166, allocations: 12.38 kB / 1.023 GB, free: 5.594 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.3166, allocations: 3.938 kB / 1.023 GB, free: 5.59 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.3166, allocations: 0 / 1.023 GB, free: 5.59 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.3166, allocations: 3.938 kB / 1.023 GB, free: 5.586 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002903/0.3169, allocations: 209.5 kB / 1.023 GB, free: 5.332 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3169, allocations: 4 kB / 1.023 GB, free: 5.328 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001599/0.3171, allocations: 27.95 kB / 1.023 GB, free: 5.301 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.3171, allocations: 0 / 1.023 GB, free: 5.301 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.3171, allocations: 0 / 1.023 GB, free: 5.301 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3171, allocations: 0 / 1.023 GB, free: 5.301 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3171, allocations: 0 / 1.023 GB, free: 5.301 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005055/0.3176, allocations: 243.3 kB / 1.023 GB, free: 5.047 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/0.3178, allocations: 88.95 kB / 1.023 GB, free: 4.941 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.3178, allocations: 0 / 1.023 GB, free: 4.941 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001629/0.318, allocations: 15.97 kB / 1.023 GB, free: 4.926 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.232e-05/0.3181, allocations: 23.92 kB / 1.023 GB, free: 4.902 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.3181, allocations: 7.922 kB / 1.023 GB, free: 4.895 MB / 0.795 GB Notification: Performance of sorting global known variables: time 6.956e-05/0.3182, allocations: 99.27 kB / 1.023 GB, free: 4.797 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3182, allocations: 0 / 1.023 GB, free: 4.797 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002428/0.3184, allocations: 16 kB / 1.023 GB, free: 4.781 MB / 0.795 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.0001447/0.3186, allocations: 99.19 kB / 1.023 GB, free: 4.676 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.000456/0.319, allocations: 103.9 kB / 1.024 GB, free: 4.574 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.319, allocations: 0 / 1.024 GB, free: 4.574 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002147/0.3193, allocations: 71.86 kB / 1.024 GB, free: 4.504 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.3196, allocations: 7.172 kB / 1.024 GB, free: 4.5 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005113/0.3201, allocations: 200.1 kB / 1.024 GB, free: 4.266 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.3205, allocations: 0.6963 MB / 1.024 GB, free: 3.543 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.681e-05/0.3205, allocations: 19.42 kB / 1.025 GB, free: 3.523 MB / 0.795 GB Notification: Performance of SimCode: time 2e-07/0.3206, allocations: 0 / 1.025 GB, free: 3.523 MB / 0.795 GB Notification: Performance of Templates: time 0.003157/0.3237, allocations: 1.243 MB / 1.026 GB, free: 2.293 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches