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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.00112/0.00112, allocations: 111.5 kB / 16.37 MB, free: 5.539 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.001074/0.001074, allocations: 192 kB / 17.31 MB, free: 5.18 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.371/1.371, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.537/2.537, allocations: 437.1 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 68.39 kB / 0.8707 GB, free: 1.426 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3362/0.3375, allocations: 151.6 MB / 1.019 GB, free: 9.828 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual): time 0.002136/0.3397, allocations: 0.7809 MB / 1.02 GB, free: 9.039 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001118/0.3408, allocations: 0.8623 MB / 1.02 GB, free: 8.164 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.796e-05/0.3409, allocations: 0 / 1.02 GB, free: 8.164 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.092e-05/0.341, allocations: 3.938 kB / 1.02 GB, free: 8.16 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.926e-05/0.3411, allocations: 15.88 kB / 1.02 GB, free: 8.145 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001988/0.3413, allocations: 39.94 kB / 1.02 GB, free: 8.105 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.000132/0.3414, allocations: 91.67 kB / 1.021 GB, free: 8.016 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.3416, allocations: 27.97 kB / 1.021 GB, free: 7.988 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.762e-05/0.3416, allocations: 35.91 kB / 1.021 GB, free: 7.953 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 8.41e-05/0.3417, allocations: 51.81 kB / 1.021 GB, free: 7.902 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.398e-05/0.3418, allocations: 8 kB / 1.021 GB, free: 7.895 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.625e-05/0.3418, allocations: 8 kB / 1.021 GB, free: 7.887 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 8.682e-05/0.3419, allocations: 23.86 kB / 1.021 GB, free: 7.863 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.161e-05/0.3419, allocations: 31.8 kB / 1.021 GB, free: 7.832 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001397/0.3421, allocations: 91.66 kB / 1.021 GB, free: 7.742 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.3421, allocations: 4 kB / 1.021 GB, free: 7.738 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.903e-06/0.3421, allocations: 0 / 1.021 GB, free: 7.738 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.3421, allocations: 0 / 1.021 GB, free: 7.738 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.0007943/0.3429, allocations: 395.2 kB / 1.021 GB, free: 7.305 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.343, allocations: 8.031 kB / 1.021 GB, free: 7.297 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.174e-05/0.343, allocations: 8.844 kB / 1.021 GB, free: 7.289 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001814/0.3432, allocations: 184.1 kB / 1.021 GB, free: 7.07 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.3432, allocations: 4.375 kB / 1.021 GB, free: 7.066 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.258e-05/0.3432, allocations: 8.375 kB / 1.021 GB, free: 7.059 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003038/0.3435, allocations: 109.7 kB / 1.022 GB, free: 6.945 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.3436, allocations: 0 / 1.022 GB, free: 6.945 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.3436, allocations: 4 kB / 1.022 GB, free: 6.941 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.3436, allocations: 0 / 1.022 GB, free: 6.941 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003697/0.344, allocations: 96.41 kB / 1.022 GB, free: 6.848 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006061/0.3446, allocations: 340.6 kB / 1.022 GB, free: 6.465 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007099/0.3453, allocations: 122.6 kB / 1.022 GB, free: 6.336 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001855/0.3455, allocations: 50.34 kB / 1.022 GB, free: 6.285 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.553e-05/0.3455, allocations: 11.98 kB / 1.022 GB, free: 6.273 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.3456, allocations: 34.56 kB / 1.022 GB, free: 6.23 MB / 0.795 GB Notification: Performance of pre-optimization done (n=7): time 1.243e-06/0.3456, allocations: 0 / 1.022 GB, free: 6.23 MB / 0.795 GB Notification: Performance of matching and sorting (n=7): time 0.0006413/0.3462, allocations: 181.4 kB / 1.022 GB, free: 6.047 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.3463, allocations: 55.41 kB / 1.022 GB, free: 5.98 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.3464, allocations: 121.8 kB / 1.022 GB, free: 5.852 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.3464, allocations: 29.7 kB / 1.023 GB, free: 5.816 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.523e-05/0.3465, allocations: 92.05 kB / 1.023 GB, free: 5.723 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.965e-05/0.3465, allocations: 19.73 kB / 1.023 GB, free: 5.703 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.348e-05/0.3466, allocations: 21.72 kB / 1.023 GB, free: 5.676 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.3467, allocations: 322.8 kB / 1.023 GB, free: 5.352 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001725/0.3469, allocations: 43.95 kB / 1.023 GB, free: 5.309 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001713/0.3471, allocations: 47.95 kB / 1.023 GB, free: 5.262 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003239/0.3474, allocations: 105.2 kB / 1.023 GB, free: 5.156 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.3474, allocations: 0 / 1.023 GB, free: 5.156 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004091/0.3478, allocations: 141.4 kB / 1.023 GB, free: 5.012 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.3479, allocations: 4 kB / 1.023 GB, free: 5.008 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.3479, allocations: 0 / 1.023 GB, free: 5.008 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.313e-05/0.3479, allocations: 4 kB / 1.023 GB, free: 5.004 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001779/0.3481, allocations: 19.97 kB / 1.023 GB, free: 4.984 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.3481, allocations: 0 / 1.023 GB, free: 4.984 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001243/0.3482, allocations: 23.91 kB / 1.023 GB, free: 4.961 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.3483, allocations: 7.938 kB / 1.023 GB, free: 4.953 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.000115/0.3484, allocations: 117.8 kB / 1.023 GB, free: 4.828 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.454e-05/0.3484, allocations: 11.84 kB / 1.023 GB, free: 4.816 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.245e-05/0.3485, allocations: 12.36 kB / 1.023 GB, free: 4.805 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.3485, allocations: 3.984 kB / 1.023 GB, free: 4.801 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.3485, allocations: 0 / 1.023 GB, free: 4.801 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.3485, allocations: 3.938 kB / 1.023 GB, free: 4.797 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002495/0.3488, allocations: 197.6 kB / 1.024 GB, free: 4.555 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3488, allocations: 0 / 1.024 GB, free: 4.555 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001507/0.3489, allocations: 27.97 kB / 1.024 GB, free: 4.527 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.3489, allocations: 4 kB / 1.024 GB, free: 4.523 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/0.349, allocations: 7.984 kB / 1.024 GB, free: 4.516 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.349, allocations: 0 / 1.024 GB, free: 4.516 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.349, allocations: 0 / 1.024 GB, free: 4.516 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004763/0.3494, allocations: 235.3 kB / 1.024 GB, free: 4.27 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.863e-05/0.3495, allocations: 89.02 kB / 1.024 GB, free: 4.164 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/0.3495, allocations: 0 / 1.024 GB, free: 4.164 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.3497, allocations: 15.92 kB / 1.024 GB, free: 4.148 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.3498, allocations: 23.97 kB / 1.024 GB, free: 4.125 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.426e-05/0.3498, allocations: 3.938 kB / 1.024 GB, free: 4.121 MB / 0.795 GB Notification: Performance of sorting global known variables: time 7.19e-05/0.3499, allocations: 99.27 kB / 1.024 GB, free: 4.023 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3499, allocations: 0 / 1.024 GB, free: 4.023 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002398/0.3502, allocations: 12 kB / 1.024 GB, free: 4.012 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.0002242/0.3504, allocations: 103.2 kB / 1.024 GB, free: 3.902 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0004575/0.3509, allocations: 107.9 kB / 1.024 GB, free: 3.797 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.481e-06/0.3509, allocations: 0 / 1.024 GB, free: 3.797 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001998/0.3511, allocations: 71.81 kB / 1.024 GB, free: 3.727 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/0.3514, allocations: 12.77 kB / 1.024 GB, free: 3.715 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004855/0.3519, allocations: 170.4 kB / 1.025 GB, free: 3.516 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/0.3523, allocations: 0.6885 MB / 1.025 GB, free: 2.801 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 7.004e-05/0.3524, allocations: 15.98 kB / 1.025 GB, free: 2.785 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.161e-05/0.3524, allocations: 15.42 kB / 1.025 GB, free: 2.77 MB / 0.795 GB Notification: Performance of SimCode: time 2.41e-07/0.3524, allocations: 4 kB / 1.025 GB, free: 2.766 MB / 0.795 GB Notification: Performance of Templates: time 0.004487/0.3569, allocations: 1.59 MB / 1.027 GB, free: 1.188 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=480 -s gbode -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