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.001316/0.001316, allocations: 106.9 kB / 16.37 MB, free: 6.473 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.001293/0.001293, allocations: 195.8 kB / 17.31 MB, free: 5.82 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.473/1.473, 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 11.0.0-master/package.mo): time 2.622/2.622, allocations: 442.6 MB / 0.7165 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001326, allocations: 68.31 kB / 0.8774 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3316, allocations: 153 MB / 1.027 GB, free: 2.082 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual): time 0.002104/0.3338, allocations: 0.7892 MB / 1.028 GB, free: 1.297 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009627/0.3347, allocations: 0.8662 MB / 1.028 GB, free: 428 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.643e-05/0.3348, allocations: 0 / 1.028 GB, free: 428 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.098e-05/0.3348, allocations: 7.875 kB / 1.028 GB, free: 420 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.271e-05/0.3349, allocations: 7.922 kB / 1.028 GB, free: 412 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001563/0.3351, allocations: 43.89 kB / 1.028 GB, free: 368 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001094/0.3352, allocations: 87.81 kB / 1.028 GB, free: 280 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.3353, allocations: 20 kB / 1.029 GB, free: 260 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.57e-05/0.3354, allocations: 47.83 kB / 1.029 GB, free: 212 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 8.071e-05/0.3355, allocations: 43.83 kB / 1.029 GB, free: 168 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.327e-05/0.3355, allocations: 8 kB / 1.029 GB, free: 160 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.717e-05/0.3355, allocations: 8 kB / 1.029 GB, free: 152 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.501e-05/0.3356, allocations: 19.91 kB / 1.029 GB, free: 132 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.858e-05/0.3356, allocations: 39.78 kB / 1.029 GB, free: 92 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001126/0.3357, allocations: 83.73 kB / 1.029 GB, free: 8 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.3357, allocations: 3.938 kB / 1.029 GB, free: 4 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.382e-06/0.3358, allocations: 0 / 1.029 GB, free: 4 kB / 0.795 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.3358, allocations: 4 kB / 1.029 GB, free: 0 / 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.0006082/0.3364, allocations: 395.2 kB / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 2.932e-05/0.3364, allocations: 8.031 kB / 1.029 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.117e-05/0.3365, allocations: 8.844 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.3366, allocations: 180.2 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.3366, allocations: 4.375 kB / 1.029 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.56e-05/0.3366, allocations: 8.375 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002713/0.3369, allocations: 105.7 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.3369, allocations: 4 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.3369, allocations: 0 / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.206e-06/0.3369, allocations: 0 / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003442/0.3373, allocations: 99.52 kB / 1.03 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000475/0.3378, allocations: 352.6 kB / 1.03 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005855/0.3384, allocations: 118.6 kB / 1.03 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001823/0.3386, allocations: 56.75 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.3386, allocations: 0 / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.3386, allocations: 42.5 kB / 1.03 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 9.41e-07/0.3386, allocations: 0 / 1.03 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.000604/0.3392, allocations: 177.5 kB / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.847e-05/0.3393, allocations: 51.41 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.342e-05/0.3394, allocations: 125.8 kB / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.3394, allocations: 29.7 kB / 1.03 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.464e-05/0.3394, allocations: 92.03 kB / 1.031 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/0.3395, allocations: 19.75 kB / 1.031 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.521e-05/0.3395, allocations: 29.64 kB / 1.031 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.759e-05/0.3396, allocations: 318.8 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001765/0.3398, allocations: 51.89 kB / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001573/0.34, allocations: 43.95 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003375/0.3403, allocations: 93.23 kB / 1.031 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.3403, allocations: 0 / 1.031 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003916/0.3407, allocations: 149.5 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.3407, allocations: 4 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.475e-06/0.3408, allocations: 0 / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.244e-06/0.3408, allocations: 0 / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001634/0.3409, allocations: 27.91 kB / 1.031 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.316e-06/0.3409, allocations: 0 / 1.031 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.3411, allocations: 19.92 kB / 1.031 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.3411, allocations: 8 kB / 1.031 GB, free: 13.21 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 8.03e-05/0.3412, allocations: 117.8 kB / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.94e-05/0.3412, allocations: 7.906 kB / 1.031 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.366e-05/0.3412, allocations: 12.38 kB / 1.031 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.3412, allocations: 3.984 kB / 1.031 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.3413, allocations: 0 / 1.031 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3413, allocations: 3.938 kB / 1.031 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001876/0.3415, allocations: 209.5 kB / 1.032 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.3415, allocations: 0 / 1.032 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001557/0.3416, allocations: 19.97 kB / 1.032 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.696e-06/0.3416, allocations: 4 kB / 1.032 GB, free: 12.78 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.3417, allocations: 0 / 1.032 GB, free: 12.78 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3417, allocations: 0 / 1.032 GB, free: 12.78 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3417, allocations: 0 / 1.032 GB, free: 12.78 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004124/0.3421, allocations: 243.2 kB / 1.032 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.246e-05/0.3421, allocations: 81.02 kB / 1.032 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.3422, allocations: 4 kB / 1.032 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/0.3423, allocations: 15.97 kB / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.785e-05/0.3424, allocations: 15.98 kB / 1.032 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.3424, allocations: 11.92 kB / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.802e-05/0.3425, allocations: 103.2 kB / 1.032 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3425, allocations: 3.938 kB / 1.032 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002259/0.3427, allocations: 12 kB / 1.032 GB, free: 12.27 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.0001101/0.3428, allocations: 99.25 kB / 1.032 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000404/0.3432, allocations: 111.8 kB / 1.032 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3432, allocations: 4 kB / 1.032 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001954/0.3434, allocations: 63.94 kB / 1.032 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002864/0.3437, allocations: 4.125 kB / 1.032 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004553/0.3442, allocations: 174.2 kB / 1.033 GB, free: 11.78 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002284/0.3444, allocations: 0.7001 MB / 1.033 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 6.073e-05/0.3445, allocations: 4 kB / 1.033 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.553e-05/0.3446, allocations: 19.42 kB / 1.033 GB, free: 11.03 MB / 0.8106 GB Notification: Performance of SimCode: time 5.51e-07/0.3446, allocations: 4 kB / 1.033 GB, free: 11.03 MB / 0.8106 GB Notification: Performance of Templates: time 0.003843/0.3484, allocations: 1.576 MB / 1.035 GB, free: 9.461 MB / 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 -s gbode -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