Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 113.3 kB / 17.13 MB, free: 5.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 204 kB / 20.09 MB, free: 2.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.484/1.484, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.863/2.863, allocations: 0.49 GB / 0.7923 GB, free: 1.332 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesEqu.u1|intLesEqu.u2|intLesEqu.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesEqu.u1|intLesEqu.u2|intLesEqu.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 67.91 kB / 1.15 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9578/0.9598, allocations: 176.1 MB / 1.322 GB, free: 25.04 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual): time 0.001644/0.9614, allocations: 0.7812 MB / 1.323 GB, free: 24.54 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0007369/0.9622, allocations: 0.8974 MB / 1.324 GB, free: 23.86 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.111e-05/0.9622, allocations: 2.969 kB / 1.324 GB, free: 23.86 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.144e-05/0.9622, allocations: 11.58 kB / 1.324 GB, free: 23.85 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.926e-05/0.9623, allocations: 7.875 kB / 1.324 GB, free: 23.84 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001344/0.9624, allocations: 38.5 kB / 1.324 GB, free: 23.82 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.532e-05/0.9625, allocations: 90.58 kB / 1.324 GB, free: 23.78 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.757e-05/0.9626, allocations: 17.77 kB / 1.324 GB, free: 23.77 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.514e-05/0.9627, allocations: 41.97 kB / 1.324 GB, free: 23.75 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.702e-05/0.9628, allocations: 50.84 kB / 1.324 GB, free: 23.73 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.9628, allocations: 7.125 kB / 1.324 GB, free: 23.73 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.441e-05/0.9628, allocations: 8.562 kB / 1.324 GB, free: 23.73 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.027e-05/0.9628, allocations: 17.83 kB / 1.324 GB, free: 23.71 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.328e-05/0.9628, allocations: 40.53 kB / 1.324 GB, free: 23.69 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001005/0.9629, allocations: 89.75 kB / 1.324 GB, free: 23.65 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.9629, allocations: 0 / 1.324 GB, free: 23.65 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.573e-06/0.963, allocations: 0 / 1.324 GB, free: 23.65 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.963, allocations: 0 / 1.324 GB, free: 23.65 MB / 1.061 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.0005247/0.9635, allocations: 399.5 kB / 1.324 GB, free: 23.27 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.039e-05/0.9635, allocations: 14.73 kB / 1.324 GB, free: 23.27 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.05e-05/0.9636, allocations: 7.359 kB / 1.324 GB, free: 23.26 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.892e-05/0.9636, allocations: 185.4 kB / 1.325 GB, free: 23.05 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.9637, allocations: 3.312 kB / 1.325 GB, free: 23.05 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.552e-05/0.9637, allocations: 7.25 kB / 1.325 GB, free: 23.05 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002824/0.964, allocations: 107.1 kB / 1.325 GB, free: 22.99 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.964, allocations: 6.812 kB / 1.325 GB, free: 22.99 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.964, allocations: 0 / 1.325 GB, free: 22.99 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.964, allocations: 0 / 1.325 GB, free: 22.99 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000364/0.9644, allocations: 102.7 kB / 1.325 GB, free: 22.96 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004148/0.9648, allocations: 342.2 kB / 1.325 GB, free: 22.66 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006112/0.9654, allocations: 116.4 kB / 1.325 GB, free: 22.61 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001841/0.9656, allocations: 55.03 kB / 1.325 GB, free: 22.59 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.9656, allocations: 0 / 1.325 GB, free: 22.59 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.273e-05/0.9656, allocations: 37.38 kB / 1.325 GB, free: 22.55 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 7.42e-07/0.9656, allocations: 0 / 1.325 GB, free: 22.55 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0006431/0.9662, allocations: 180.2 kB / 1.326 GB, free: 22.48 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.422e-05/0.9663, allocations: 51.41 kB / 1.326 GB, free: 22.42 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.803e-05/0.9663, allocations: 129.2 kB / 1.326 GB, free: 22.3 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.9663, allocations: 29.7 kB / 1.326 GB, free: 22.27 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.934e-05/0.9664, allocations: 102.2 kB / 1.326 GB, free: 22.17 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.308e-05/0.9664, allocations: 22.59 kB / 1.326 GB, free: 22.15 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.257e-05/0.9664, allocations: 22.94 kB / 1.326 GB, free: 22.13 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.1e-05/0.9665, allocations: 316.7 kB / 1.326 GB, free: 21.82 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001815/0.9667, allocations: 46.09 kB / 1.326 GB, free: 21.81 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001703/0.9668, allocations: 51.17 kB / 1.326 GB, free: 21.8 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003339/0.9672, allocations: 91.61 kB / 1.326 GB, free: 21.77 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.9672, allocations: 0 / 1.326 GB, free: 21.77 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003864/0.9676, allocations: 143.2 kB / 1.326 GB, free: 21.71 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.9676, allocations: 11.38 kB / 1.326 GB, free: 21.71 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.9676, allocations: 0 / 1.326 GB, free: 21.71 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.9676, allocations: 0 / 1.326 GB, free: 21.71 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/0.9677, allocations: 20.25 kB / 1.326 GB, free: 21.71 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.9677, allocations: 2.781 kB / 1.326 GB, free: 21.71 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001185/0.9679, allocations: 30.42 kB / 1.327 GB, free: 21.69 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.966e-06/0.9679, allocations: 0 / 1.327 GB, free: 21.69 MB / 1.061 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 5.487e-05/0.9679, allocations: 118.9 kB / 1.327 GB, free: 21.57 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.982e-05/0.968, allocations: 2.625 kB / 1.327 GB, free: 21.57 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.682e-05/0.968, allocations: 18.27 kB / 1.327 GB, free: 21.55 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.968, allocations: 0 / 1.327 GB, free: 21.55 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.968, allocations: 0 / 1.327 GB, free: 21.55 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.968, allocations: 3.938 kB / 1.327 GB, free: 21.55 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001469/0.9681, allocations: 205.1 kB / 1.327 GB, free: 21.34 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.9681, allocations: 0 / 1.327 GB, free: 21.34 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001495/0.9683, allocations: 28.92 kB / 1.327 GB, free: 21.33 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.9683, allocations: 0 / 1.327 GB, free: 21.33 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.9683, allocations: 2.719 kB / 1.327 GB, free: 21.33 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.9683, allocations: 0 / 1.327 GB, free: 21.33 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.9683, allocations: 7.312 kB / 1.327 GB, free: 21.33 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003994/0.9687, allocations: 232.9 kB / 1.327 GB, free: 21.17 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.957e-05/0.9687, allocations: 79.83 kB / 1.327 GB, free: 21.07 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/0.9687, allocations: 6.562 kB / 1.327 GB, free: 21.07 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001438/0.9689, allocations: 12.53 kB / 1.327 GB, free: 21.07 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.501e-05/0.969, allocations: 26.86 kB / 1.327 GB, free: 21.06 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-06/0.969, allocations: 2.656 kB / 1.327 GB, free: 21.06 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.146e-05/0.969, allocations: 91.25 kB / 1.327 GB, free: 20.98 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.969, allocations: 0 / 1.327 GB, free: 20.98 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000233/0.9692, allocations: 25.08 kB / 1.327 GB, free: 20.97 MB / 1.061 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 8.339e-05/0.9693, allocations: 100.1 kB / 1.327 GB, free: 20.88 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004042/0.9697, allocations: 101.8 kB / 1.328 GB, free: 20.86 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.9697, allocations: 4 kB / 1.328 GB, free: 20.86 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001989/0.9699, allocations: 58.83 kB / 1.328 GB, free: 20.84 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002943/0.9702, allocations: 20.44 kB / 1.328 GB, free: 20.83 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003825/0.9706, allocations: 199.3 kB / 1.328 GB, free: 20.65 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001015/0.9707, allocations: 0.6895 MB / 1.328 GB, free: 19.96 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.535e-05/0.9708, allocations: 16.53 kB / 1.328 GB, free: 19.95 MB / 1.061 GB Notification: Performance of SimCode: time 3.2e-07/0.9708, allocations: 0 / 1.328 GB, free: 19.95 MB / 1.061 GB Notification: Performance of Templates: time 0.002967/0.9737, allocations: 1.248 MB / 1.33 GB, free: 19.86 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.362189167004544]