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.00158/0.00158, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001752/0.001752, allocations: 222.4 kB / 23 MB, free: 4.914 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.49/1.49, allocations: 230.6 MB / 256.8 MB, free: 7.816 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 3.196/3.196, allocations: 0.4892 GB / 0.7951 GB, free: 35.68 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.002124/0.002124, allocations: 73.95 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3283, allocations: 176.1 MB / 1.326 GB, free: 1.887 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual): time 0.002018/0.3303, allocations: 0.7553 MB / 1.327 GB, free: 1.137 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001181/0.3315, allocations: 0.8861 MB / 1.328 GB, free: 244 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.136e-05/0.3316, allocations: 4 kB / 1.328 GB, free: 240 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.062e-05/0.3316, allocations: 11.86 kB / 1.328 GB, free: 228 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.476e-05/0.3317, allocations: 7.875 kB / 1.328 GB, free: 220 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000182/0.3319, allocations: 39.94 kB / 1.328 GB, free: 180 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001361/0.332, allocations: 87.77 kB / 1.328 GB, free: 92 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.3321, allocations: 19.98 kB / 1.328 GB, free: 72 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.558e-05/0.3322, allocations: 35.86 kB / 1.328 GB, free: 36 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.3323, allocations: 43.81 kB / 1.328 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.703e-05/0.3323, allocations: 8 kB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 2.063e-05/0.3324, allocations: 8 kB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.668e-05/0.3324, allocations: 19.98 kB / 1.328 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.015e-05/0.3324, allocations: 39.78 kB / 1.328 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001528/0.3326, allocations: 87.59 kB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3326, allocations: 0 / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3326, allocations: 0 / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.3326, allocations: 0 / 1.328 GB, free: 15.83 MB / 1.029 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.0007165/0.3333, allocations: 326 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.3334, allocations: 8.031 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.311e-05/0.3334, allocations: 8.891 kB / 1.329 GB, free: 15.47 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001853/0.3336, allocations: 122.4 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.47e-05/0.3336, allocations: 8.375 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.755e-05/0.3336, allocations: 4.375 kB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003608/0.334, allocations: 113.5 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.334, allocations: 3.938 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.334, allocations: 4 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-06/0.334, allocations: 0 / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003893/0.3344, allocations: 95.91 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006017/0.335, allocations: 272.4 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006365/0.3357, allocations: 118.4 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001928/0.3359, allocations: 52.88 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.3359, allocations: 0 / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/0.3359, allocations: 46.55 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 8.81e-07/0.3359, allocations: 0 / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0007025/0.3366, allocations: 181.4 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/0.3367, allocations: 51.41 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.3368, allocations: 125.8 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.3368, allocations: 29.7 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.778e-05/0.3369, allocations: 92.09 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.313e-05/0.3369, allocations: 27.81 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.156e-05/0.337, allocations: 21.7 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.3371, allocations: 322.8 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000191/0.3373, allocations: 43.95 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001771/0.3375, allocations: 43.95 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003588/0.3379, allocations: 96.77 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3379, allocations: 0 / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004211/0.3383, allocations: 137.5 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.3383, allocations: 4 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.3383, allocations: 0 / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.3383, allocations: 4 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/0.3385, allocations: 23.97 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.3385, allocations: 0 / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001245/0.3386, allocations: 23.92 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.3386, allocations: 7.938 kB / 1.331 GB, free: 13.29 MB / 1.029 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.0001107/0.3388, allocations: 114.4 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.733e-05/0.3388, allocations: 0 / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.411e-05/0.3388, allocations: 16.36 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3388, allocations: 7.938 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.3388, allocations: 0 / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.3388, allocations: 0 / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000194/0.339, allocations: 141.2 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.339, allocations: 0 / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001577/0.3392, allocations: 27.91 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.3392, allocations: 0 / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/0.3392, allocations: 4 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.3392, allocations: 3.938 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3392, allocations: 0 / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005017/0.3397, allocations: 239.3 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.765e-05/0.3397, allocations: 11.92 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.3397, allocations: 0 / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/0.3399, allocations: 15.97 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.199e-05/0.34, allocations: 19.97 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.34, allocations: 4 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.519e-05/0.34, allocations: 95.27 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.34, allocations: 4 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002339/0.3403, allocations: 15.95 kB / 1.331 GB, free: 12.52 MB / 1.029 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.0001286/0.3404, allocations: 107.1 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004527/0.3409, allocations: 111.9 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.3409, allocations: 0 / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002062/0.3411, allocations: 60.67 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003428/0.3414, allocations: 8.766 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004908/0.3419, allocations: 196.1 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.428e-05/0.342, allocations: 75.33 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.569e-05/0.3421, allocations: 15.42 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of SimCode: time 3.3e-07/0.3421, allocations: 4 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of Templates: time 0.003002/0.3451, allocations: 1.268 MB / 1.333 GB, free: 10.63 MB / 1.029 GB " [Timeout remaining time 300] 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.043325647711754]