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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001695/0.001695, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002324/0.002325, allocations: 194.3 kB / 16.14 MB, free: 6.652 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.428/1.428, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.837/2.837, allocations: 461.9 MB / 0.7342 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 65.92 kB / 0.8984 GB, free: 37.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3782/0.3795, allocations: 157.4 MB / 1.052 GB, free: 8.801 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual): time 0.002099/0.3817, allocations: 0.8405 MB / 1.053 GB, free: 7.957 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008965/0.3826, allocations: 0.8701 MB / 1.054 GB, free: 7.074 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.71e-05/0.3827, allocations: 0 / 1.054 GB, free: 7.074 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.867e-05/0.3827, allocations: 0 / 1.054 GB, free: 7.074 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.242e-05/0.3828, allocations: 7.922 kB / 1.054 GB, free: 7.066 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001598/0.383, allocations: 39.92 kB / 1.054 GB, free: 7.027 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.3831, allocations: 83.78 kB / 1.054 GB, free: 6.945 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.3832, allocations: 23.92 kB / 1.054 GB, free: 6.922 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.011e-05/0.3833, allocations: 35.84 kB / 1.054 GB, free: 6.887 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.785e-05/0.3834, allocations: 55.75 kB / 1.054 GB, free: 6.832 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.436e-05/0.3834, allocations: 8 kB / 1.054 GB, free: 6.824 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.612e-05/0.3834, allocations: 4 kB / 1.054 GB, free: 6.82 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.639e-05/0.3835, allocations: 15.92 kB / 1.054 GB, free: 6.805 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.678e-05/0.3835, allocations: 39.78 kB / 1.054 GB, free: 6.766 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001091/0.3836, allocations: 79.72 kB / 1.054 GB, free: 6.688 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3836, allocations: 0 / 1.054 GB, free: 6.688 MB / 0.8106 GB Notification: Performance of FrontEnd: time 5.81e-07/0.3836, allocations: 0 / 1.054 GB, free: 6.688 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.3837, allocations: 0 / 1.054 GB, free: 6.688 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.0006565/0.3843, allocations: 396.7 kB / 1.055 GB, free: 6.254 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.3844, allocations: 8.031 kB / 1.055 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.908e-05/0.3844, allocations: 8.844 kB / 1.055 GB, free: 6.238 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001438/0.3846, allocations: 180.2 kB / 1.055 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.3846, allocations: 8.375 kB / 1.055 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.538e-05/0.3846, allocations: 4.375 kB / 1.055 GB, free: 6.012 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003006/0.3849, allocations: 109.7 kB / 1.055 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.3849, allocations: 7.938 kB / 1.055 GB, free: 5.891 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.3849, allocations: 4 kB / 1.055 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.385, allocations: 4 kB / 1.055 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003568/0.3853, allocations: 95.89 kB / 1.055 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005559/0.3859, allocations: 344.6 kB / 1.055 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006344/0.3865, allocations: 114.6 kB / 1.055 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001921/0.3867, allocations: 56.8 kB / 1.055 GB, free: 5.223 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.3868, allocations: 11.98 kB / 1.055 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.3868, allocations: 30.56 kB / 1.055 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.253e-06/0.3868, allocations: 0 / 1.055 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0006719/0.3875, allocations: 181.6 kB / 1.056 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/0.3875, allocations: 59.41 kB / 1.056 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.3876, allocations: 125.8 kB / 1.056 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.3876, allocations: 29.7 kB / 1.056 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.065e-05/0.3877, allocations: 88.05 kB / 1.056 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.014e-05/0.3877, allocations: 23.73 kB / 1.056 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.705e-05/0.3878, allocations: 21.72 kB / 1.056 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.3879, allocations: 322.8 kB / 1.056 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001834/0.3881, allocations: 51.95 kB / 1.056 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001686/0.3883, allocations: 52 kB / 1.056 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003428/0.3886, allocations: 92.77 kB / 1.056 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.3886, allocations: 0 / 1.056 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003912/0.389, allocations: 141.5 kB / 1.057 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.3891, allocations: 4 kB / 1.057 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.3891, allocations: 0 / 1.057 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.3891, allocations: 0 / 1.057 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.3893, allocations: 23.97 kB / 1.057 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.3893, allocations: 0 / 1.057 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/0.3894, allocations: 23.91 kB / 1.057 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.3894, allocations: 4 kB / 1.057 GB, free: 3.891 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 0.0001116/0.3895, allocations: 113.8 kB / 1.057 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.197e-05/0.3896, allocations: 7.906 kB / 1.057 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.339e-05/0.3896, allocations: 16.36 kB / 1.057 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.3896, allocations: 3.938 kB / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.3896, allocations: 0 / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.3896, allocations: 3.938 kB / 1.057 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002103/0.3898, allocations: 201.5 kB / 1.057 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3899, allocations: 4 kB / 1.057 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000154/0.39, allocations: 23.97 kB / 1.057 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.39, allocations: 3.984 kB / 1.057 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.39, allocations: 0 / 1.057 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.103e-06/0.39, allocations: 0 / 1.057 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3901, allocations: 3.938 kB / 1.057 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004599/0.3905, allocations: 235.3 kB / 1.057 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.108e-05/0.3906, allocations: 92.95 kB / 1.057 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.058e-05/0.3906, allocations: 0 / 1.057 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.3908, allocations: 11.98 kB / 1.057 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.912e-05/0.3908, allocations: 23.91 kB / 1.057 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.3909, allocations: 11.92 kB / 1.057 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.44e-05/0.3909, allocations: 95.27 kB / 1.057 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3909, allocations: 4 kB / 1.057 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002257/0.3912, allocations: 12 kB / 1.057 GB, free: 2.945 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.0001264/0.3913, allocations: 103.2 kB / 1.058 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003944/0.3917, allocations: 95.91 kB / 1.058 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.3917, allocations: 0 / 1.058 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002346/0.3919, allocations: 71.88 kB / 1.058 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004071/0.3924, allocations: 9.406 kB / 1.058 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004408/0.3928, allocations: 199.9 kB / 1.058 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002347/0.3931, allocations: 0.6887 MB / 1.059 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 7.445e-05/0.3931, allocations: 12 kB / 1.059 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.782e-05/0.3932, allocations: 15.42 kB / 1.059 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of SimCode: time 1.543e-06/0.3932, allocations: 0 / 1.059 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of Templates: time 0.003609/0.3968, allocations: 1.353 MB / 1.06 GB, free: 364 kB / 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 -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/jenkins/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