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.002047/0.002047, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002389/0.002389, allocations: 198.5 kB / 16.14 MB, free: 6.711 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.573/1.573, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.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.9/2.9, allocations: 437 MB / 0.71 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002136/0.002136, allocations: 67.89 kB / 0.8686 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9331/0.9352, allocations: 151.6 MB / 1.017 GB, free: 2.719 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual): time 0.002271/0.9375, allocations: 0.828 MB / 1.017 GB, free: 1.891 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001167/0.9387, allocations: 0.8662 MB / 1.018 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.993e-05/0.9388, allocations: 3.938 kB / 1.018 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.219e-05/0.9388, allocations: 7.938 kB / 1.018 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.000101/0.939, allocations: 11.92 kB / 1.018 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001742/0.9391, allocations: 35.95 kB / 1.018 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001162/0.9393, allocations: 71.91 kB / 1.018 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.9394, allocations: 31.81 kB / 1.018 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.77e-05/0.9395, allocations: 43.84 kB / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 9.057e-05/0.9396, allocations: 43.81 kB / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.678e-05/0.9396, allocations: 4 kB / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.85e-05/0.9396, allocations: 4 kB / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.123e-05/0.9397, allocations: 19.92 kB / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.295e-05/0.9397, allocations: 35.78 kB / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001458/0.9399, allocations: 79.72 kB / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.9399, allocations: 0 / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.062e-06/0.9399, allocations: 0 / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.9399, allocations: 0 / 1.019 GB, free: 0.625 MB / 0.7637 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.0007269/0.9406, allocations: 397.3 kB / 1.019 GB, free: 196 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.9407, allocations: 8.031 kB / 1.019 GB, free: 188 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.58e-05/0.9407, allocations: 8.844 kB / 1.019 GB, free: 180 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002203/0.941, allocations: 180.2 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/0.941, allocations: 8.375 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.768e-05/0.941, allocations: 4.375 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003488/0.9414, allocations: 109.7 kB / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.9414, allocations: 0 / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.9414, allocations: 0 / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.9414, allocations: 0 / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004054/0.9418, allocations: 103.9 kB / 1.019 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006315/0.9425, allocations: 352.5 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006932/0.9432, allocations: 114.6 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001995/0.9434, allocations: 60.8 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.9434, allocations: 4 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.836e-05/0.9435, allocations: 42.48 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.9435, allocations: 0 / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0006889/0.9442, allocations: 177.5 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.311e-05/0.9442, allocations: 59.34 kB / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.9443, allocations: 121.8 kB / 1.02 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.9444, allocations: 25.7 kB / 1.02 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.819e-05/0.9444, allocations: 96.05 kB / 1.02 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.163e-05/0.9445, allocations: 19.72 kB / 1.02 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.592e-05/0.9445, allocations: 29.7 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.9447, allocations: 318.8 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001939/0.9449, allocations: 47.95 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001811/0.9451, allocations: 51.89 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003736/0.9455, allocations: 96.7 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.9455, allocations: 4 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004351/0.9459, allocations: 129.5 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.946, allocations: 4 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.946, allocations: 0 / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.946, allocations: 0 / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001758/0.9462, allocations: 27.97 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.9462, allocations: 7.984 kB / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001292/0.9463, allocations: 15.92 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.9463, allocations: 4 kB / 1.021 GB, free: 13.83 MB / 0.7794 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.0001103/0.9465, allocations: 117.8 kB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.237e-05/0.9465, allocations: 3.906 kB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.626e-05/0.9465, allocations: 16.36 kB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.9466, allocations: 3.984 kB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.9466, allocations: 0 / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.9466, allocations: 7.938 kB / 1.021 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002408/0.9468, allocations: 201.6 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.9468, allocations: 0 / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001689/0.947, allocations: 27.97 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.947, allocations: 0 / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.947, allocations: 3.938 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.947, allocations: 0 / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.947, allocations: 0 / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004896/0.9475, allocations: 239.2 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.269e-05/0.9476, allocations: 85.02 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.9476, allocations: 0 / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001603/0.9478, allocations: 19.97 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.88e-05/0.9479, allocations: 15.98 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.9479, allocations: 7.922 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.643e-05/0.948, allocations: 103.3 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.948, allocations: 0 / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002385/0.9482, allocations: 15.94 kB / 1.022 GB, free: 12.88 MB / 0.7794 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.0001266/0.9484, allocations: 99.78 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000463/0.9488, allocations: 112.5 kB / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.9488, allocations: 3.938 kB / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002174/0.9491, allocations: 59.94 kB / 1.022 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003411/0.9494, allocations: 10.48 kB / 1.022 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004848/0.9499, allocations: 188 kB / 1.022 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003465/0.9503, allocations: 0.6964 MB / 1.023 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.102e-05/0.9504, allocations: 15.98 kB / 1.023 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.747e-05/0.9504, allocations: 15.44 kB / 1.023 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.9504, allocations: 0 / 1.023 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of Templates: time 0.004251/0.9547, allocations: 1.348 MB / 1.025 GB, free: 10.28 MB / 0.7794 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/jenkins/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