Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001184/0.001184, allocations: 109.4 kB / 16.37 MB, free: 6.477 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.001308/0.001308, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.385/1.385, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.357/2.357, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 60.7 kB / 0.814 GB, free: 32.75 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.2818, allocations: 140.4 MB / 0.9511 GB, free: 8.105 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual): time 0.002143/0.2841, allocations: 0.7805 MB / 0.9519 GB, free: 7.32 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009128/0.285, allocations: 0.8721 MB / 0.9527 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.918e-05/0.285, allocations: 0 / 0.9527 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.928e-05/0.2851, allocations: 3.938 kB / 0.9527 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.617e-05/0.2852, allocations: 15.86 kB / 0.9528 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001486/0.2853, allocations: 31.95 kB / 0.9528 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.2854, allocations: 87.81 kB / 0.9529 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.2855, allocations: 24 kB / 0.9529 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.722e-05/0.2856, allocations: 39.83 kB / 0.9529 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.089e-05/0.2857, allocations: 47.83 kB / 0.953 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.352e-05/0.2858, allocations: 8 kB / 0.953 GB, free: 6.184 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.708e-05/0.2858, allocations: 8 kB / 0.953 GB, free: 6.176 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.177e-05/0.2858, allocations: 23.91 kB / 0.953 GB, free: 6.152 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.458e-05/0.2859, allocations: 43.72 kB / 0.9531 GB, free: 6.109 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001394/0.286, allocations: 83.73 kB / 0.9531 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.165e-06/0.286, allocations: 4 kB / 0.9531 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.462e-06/0.286, allocations: 0 / 0.9531 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.286, allocations: 0 / 0.9531 GB, free: 6.023 MB / 0.7325 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.0005982/0.2866, allocations: 399.1 kB / 0.9535 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.2867, allocations: 8.031 kB / 0.9535 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.595e-05/0.2867, allocations: 8.844 kB / 0.9535 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.2869, allocations: 176.2 kB / 0.9537 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.2869, allocations: 12.31 kB / 0.9537 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.569e-05/0.2869, allocations: 4.375 kB / 0.9537 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002865/0.2872, allocations: 105.7 kB / 0.9538 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.2872, allocations: 0 / 0.9538 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.2872, allocations: 4 kB / 0.9538 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.2873, allocations: 3.938 kB / 0.9538 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003371/0.2876, allocations: 99.89 kB / 0.9539 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005262/0.2881, allocations: 348.6 kB / 0.9543 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006028/0.2887, allocations: 122.6 kB / 0.9544 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001843/0.2889, allocations: 48.81 kB / 0.9544 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.289, allocations: 7.938 kB / 0.9544 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.289, allocations: 30.56 kB / 0.9545 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.432e-06/0.289, allocations: 0 / 0.9545 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0006351/0.2896, allocations: 189.4 kB / 0.9546 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.287e-05/0.2897, allocations: 55.41 kB / 0.9547 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.2898, allocations: 125.8 kB / 0.9548 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.2898, allocations: 29.7 kB / 0.9548 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.619e-05/0.2899, allocations: 99.98 kB / 0.9549 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.308e-05/0.2899, allocations: 15.75 kB / 0.955 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.675e-05/0.29, allocations: 29.7 kB / 0.955 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.2901, allocations: 318.8 kB / 0.9553 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/0.2903, allocations: 43.95 kB / 0.9553 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001537/0.2904, allocations: 43.95 kB / 0.9554 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003217/0.2908, allocations: 100.7 kB / 0.9555 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.2908, allocations: 0 / 0.9555 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003631/0.2912, allocations: 137.5 kB / 0.9556 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.2912, allocations: 5.875 kB / 0.9556 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.2912, allocations: 0 / 0.9556 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.2912, allocations: 12 kB / 0.9556 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001567/0.2914, allocations: 19.97 kB / 0.9556 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.2914, allocations: 0 / 0.9556 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001185/0.2915, allocations: 15.92 kB / 0.9556 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.2915, allocations: 7.984 kB / 0.9557 GB, free: 3.227 MB / 0.7325 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.781e-05/0.2916, allocations: 123.7 kB / 0.9558 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.132e-05/0.2916, allocations: 15.84 kB / 0.9558 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.537e-05/0.2917, allocations: 12.38 kB / 0.9558 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.2917, allocations: 0 / 0.9558 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.2917, allocations: 0 / 0.9558 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.2917, allocations: 3.938 kB / 0.9558 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001964/0.2919, allocations: 205.5 kB / 0.956 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2919, allocations: 0 / 0.956 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001475/0.2921, allocations: 23.97 kB / 0.956 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.2921, allocations: 0 / 0.956 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.2921, allocations: 0 / 0.956 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2921, allocations: 0 / 0.956 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.2921, allocations: 4 kB / 0.956 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004571/0.2926, allocations: 235.2 kB / 0.9563 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.354e-05/0.2926, allocations: 89.02 kB / 0.9563 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.2927, allocations: 0 / 0.9563 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.2928, allocations: 19.97 kB / 0.9564 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.052e-05/0.2929, allocations: 19.98 kB / 0.9564 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.2929, allocations: 7.922 kB / 0.9564 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.44e-05/0.293, allocations: 99.2 kB / 0.9565 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.293, allocations: 0 / 0.9565 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002373/0.2932, allocations: 16 kB / 0.9565 GB, free: 2.277 MB / 0.7325 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.0001493/0.2934, allocations: 95.25 kB / 0.9566 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004374/0.2938, allocations: 111.9 kB / 0.9567 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.2939, allocations: 4 kB / 0.9567 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002078/0.2941, allocations: 64.66 kB / 0.9568 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/0.2944, allocations: 6.234 kB / 0.9568 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005124/0.2949, allocations: 181.2 kB / 0.9569 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003406/0.2953, allocations: 0.6922 MB / 0.9576 GB, free: 1.066 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.735e-05/0.2954, allocations: 12 kB / 0.9576 GB, free: 1.055 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.453e-05/0.2954, allocations: 19.42 kB / 0.9576 GB, free: 1.035 MB / 0.7325 GB Notification: Performance of SimCode: time 3.21e-07/0.2954, allocations: 0 / 0.9576 GB, free: 1.035 MB / 0.7325 GB Notification: Performance of Templates: time 0.004274/0.2997, allocations: 1.583 MB / 0.9592 GB, free: 15.46 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches