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.001654/0.001654, allocations: 106.2 kB / 16.36 MB, free: 6.289 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.001414/0.001414, allocations: 192.5 kB / 17.29 MB, free: 5.863 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.431/1.431, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.723/2.723, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.00137, allocations: 72.73 kB / 0.8773 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3448/0.3462, allocations: 153 MB / 1.027 GB, free: 2.016 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual): time 0.002129/0.3484, allocations: 0.7909 MB / 1.027 GB, free: 1.227 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001004/0.3494, allocations: 0.8623 MB / 1.028 GB, free: 360 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.209e-05/0.3495, allocations: 4 kB / 1.028 GB, free: 356 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.444e-05/0.3495, allocations: 3.938 kB / 1.028 GB, free: 352 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.237e-05/0.3496, allocations: 15.86 kB / 1.028 GB, free: 336 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001719/0.3498, allocations: 35.97 kB / 1.028 GB, free: 300 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001187/0.3499, allocations: 87.8 kB / 1.028 GB, free: 212 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.3501, allocations: 20 kB / 1.029 GB, free: 192 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.605e-05/0.3501, allocations: 39.84 kB / 1.029 GB, free: 152 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 8.336e-05/0.3502, allocations: 51.81 kB / 1.029 GB, free: 100 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.411e-05/0.3503, allocations: 12 kB / 1.029 GB, free: 88 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.601e-05/0.3503, allocations: 8 kB / 1.029 GB, free: 80 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.801e-05/0.3503, allocations: 15.92 kB / 1.029 GB, free: 64 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.244e-05/0.3504, allocations: 43.77 kB / 1.029 GB, free: 20 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001427/0.3505, allocations: 87.67 kB / 1.029 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3505, allocations: 0 / 1.029 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.084e-06/0.3505, allocations: 0 / 1.029 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.3506, allocations: 0 / 1.029 GB, free: 15.93 MB / 0.8106 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.0006195/0.3512, allocations: 395.2 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.3512, allocations: 16.02 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.876e-05/0.3513, allocations: 8.844 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.3514, allocations: 172.2 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.3514, allocations: 4.375 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.737e-05/0.3515, allocations: 8.375 kB / 1.029 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003057/0.3518, allocations: 105.7 kB / 1.029 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.3518, allocations: 0 / 1.029 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.3518, allocations: 15.88 kB / 1.029 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.3518, allocations: 0 / 1.029 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003426/0.3522, allocations: 99.89 kB / 1.03 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005392/0.3527, allocations: 344.6 kB / 1.03 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005938/0.3533, allocations: 118.6 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001771/0.3535, allocations: 56.8 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.3535, allocations: 0 / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.3536, allocations: 34.56 kB / 1.03 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.3536, allocations: 4 kB / 1.03 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0006169/0.3542, allocations: 181.4 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.3543, allocations: 51.41 kB / 1.03 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.9e-05/0.3544, allocations: 121.8 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.3544, allocations: 29.7 kB / 1.03 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.84e-05/0.3545, allocations: 96.03 kB / 1.031 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.797e-05/0.3545, allocations: 23.73 kB / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.727e-05/0.3545, allocations: 21.7 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.3547, allocations: 322.8 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001669/0.3548, allocations: 43.95 kB / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001558/0.355, allocations: 47.95 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003016/0.3553, allocations: 97.23 kB / 1.031 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.3553, allocations: 0 / 1.031 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003954/0.3557, allocations: 137.4 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.3557, allocations: 11.98 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.3557, allocations: 0 / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.3558, allocations: 0 / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.3559, allocations: 23.97 kB / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.3559, allocations: 0 / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.3561, allocations: 19.92 kB / 1.031 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.3561, allocations: 0 / 1.031 GB, free: 13.15 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.946e-05/0.3562, allocations: 125.7 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.825e-05/0.3562, allocations: 11.89 kB / 1.031 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.026e-05/0.3562, allocations: 8.375 kB / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.3563, allocations: 7.984 kB / 1.031 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.3563, allocations: 0 / 1.031 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.453e-06/0.3563, allocations: 7.875 kB / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002124/0.3565, allocations: 201.5 kB / 1.032 GB, free: 12.74 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3565, allocations: 0 / 1.032 GB, free: 12.74 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001431/0.3567, allocations: 23.97 kB / 1.032 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3567, allocations: 4 kB / 1.032 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.3567, allocations: 4 kB / 1.032 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3567, allocations: 0 / 1.032 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3567, allocations: 0 / 1.032 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004209/0.3571, allocations: 239.2 kB / 1.032 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.372e-05/0.3572, allocations: 85.02 kB / 1.032 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.3572, allocations: 4 kB / 1.032 GB, free: 12.35 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/0.3574, allocations: 15.97 kB / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.92e-05/0.3574, allocations: 19.98 kB / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-05/0.3575, allocations: 15.86 kB / 1.032 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.213e-05/0.3575, allocations: 95.27 kB / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3575, allocations: 0 / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002301/0.3578, allocations: 12 kB / 1.032 GB, free: 12.2 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.0001243/0.3579, allocations: 107.2 kB / 1.032 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003927/0.3583, allocations: 95.91 kB / 1.032 GB, free: 11.99 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.3583, allocations: 4 kB / 1.032 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001889/0.3585, allocations: 71.86 kB / 1.032 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003272/0.3588, allocations: 12.89 kB / 1.032 GB, free: 11.9 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004519/0.3593, allocations: 170.2 kB / 1.033 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002494/0.3596, allocations: 0.6924 MB / 1.033 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 6.266e-05/0.3596, allocations: 8 kB / 1.033 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.919e-05/0.3597, allocations: 19.42 kB / 1.033 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of SimCode: time 2.51e-07/0.3597, allocations: 0 / 1.033 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of Templates: time 0.004131/0.3638, allocations: 1.583 MB / 1.035 GB, free: 9.391 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 cvode -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