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.001707/0.001707, allocations: 107.8 kB / 16.46 MB, free: 6.512 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.001778/0.001778, allocations: 208.3 kB / 19.43 MB, free: 3.648 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.938/1.938, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.436/3.436, allocations: 0.4899 GB / 0.7915 GB, free: 33.44 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.00207/0.00207, allocations: 68.72 kB / 1.149 GB, free: 26.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3628/0.3648, allocations: 176.1 MB / 1.321 GB, free: 2.812 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual): time 0.002129/0.367, allocations: 0.7941 MB / 1.322 GB, free: 2.02 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001297/0.3682, allocations: 0.8938 MB / 1.323 GB, free: 1.113 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.708e-05/0.3683, allocations: 0 / 1.323 GB, free: 1.113 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.087e-05/0.3684, allocations: 7.875 kB / 1.323 GB, free: 1.105 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001/0.3685, allocations: 11.92 kB / 1.323 GB, free: 1.094 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001793/0.3686, allocations: 35.89 kB / 1.323 GB, free: 1.059 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001539/0.3688, allocations: 83.88 kB / 1.323 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.3689, allocations: 23.98 kB / 1.323 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.255e-05/0.369, allocations: 39.8 kB / 1.323 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 9.46e-05/0.3691, allocations: 51.81 kB / 1.323 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.714e-05/0.3691, allocations: 8 kB / 1.323 GB, free: 0.8555 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.706e-05/0.3692, allocations: 8 kB / 1.323 GB, free: 0.8477 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.09e-05/0.3692, allocations: 19.91 kB / 1.323 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.249e-05/0.3692, allocations: 39.78 kB / 1.323 GB, free: 0.7891 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001647/0.3694, allocations: 87.66 kB / 1.323 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.3694, allocations: 0 / 1.323 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.422e-06/0.3694, allocations: 0 / 1.323 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.3694, allocations: 0 / 1.323 GB, free: 0.7031 MB / 1.014 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.0008253/0.3703, allocations: 403.1 kB / 1.324 GB, free: 268 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.3703, allocations: 15.98 kB / 1.324 GB, free: 252 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.645e-05/0.3703, allocations: 8.891 kB / 1.324 GB, free: 244 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001975/0.3705, allocations: 172.3 kB / 1.324 GB, free: 32 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.3706, allocations: 4.375 kB / 1.324 GB, free: 28 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/0.3706, allocations: 4.375 kB / 1.324 GB, free: 24 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003497/0.3709, allocations: 113.5 kB / 1.324 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.3709, allocations: 7.922 kB / 1.324 GB, free: 15.9 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.371, allocations: 0 / 1.324 GB, free: 15.9 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.371, allocations: 8 kB / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004428/0.3714, allocations: 99.84 kB / 1.324 GB, free: 15.79 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006448/0.3721, allocations: 344.6 kB / 1.324 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006781/0.3727, allocations: 122.5 kB / 1.325 GB, free: 15.28 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002036/0.3729, allocations: 48.81 kB / 1.325 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.373, allocations: 4 kB / 1.325 GB, free: 15.22 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.373, allocations: 30.56 kB / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.373, allocations: 0 / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0007378/0.3737, allocations: 185.5 kB / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.341e-05/0.3738, allocations: 55.41 kB / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.3739, allocations: 121.8 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/0.3739, allocations: 29.7 kB / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.055e-05/0.374, allocations: 100 kB / 1.325 GB, free: 14.66 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.629e-05/0.374, allocations: 31.72 kB / 1.325 GB, free: 14.63 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.687e-05/0.3741, allocations: 21.7 kB / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.3743, allocations: 322.8 kB / 1.325 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001993/0.3745, allocations: 47.95 kB / 1.325 GB, free: 14.23 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001937/0.3747, allocations: 43.95 kB / 1.326 GB, free: 14.19 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003832/0.375, allocations: 88.78 kB / 1.326 GB, free: 14.1 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.375, allocations: 0 / 1.326 GB, free: 14.1 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004597/0.3755, allocations: 133.6 kB / 1.326 GB, free: 13.96 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.3755, allocations: 8 kB / 1.326 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.3755, allocations: 0.5469 kB / 1.326 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.3755, allocations: 0 / 1.326 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001779/0.3757, allocations: 27.91 kB / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.3757, allocations: 0 / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001312/0.3759, allocations: 23.88 kB / 1.326 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.3759, allocations: 7.922 kB / 1.326 GB, free: 13.9 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.0001174/0.376, allocations: 113.8 kB / 1.326 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.32e-05/0.376, allocations: 4 kB / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.471e-05/0.3761, allocations: 12.38 kB / 1.326 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.3761, allocations: 4 kB / 1.326 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.3761, allocations: 0 / 1.326 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.3761, allocations: 3.938 kB / 1.326 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002687/0.3763, allocations: 201.5 kB / 1.326 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.3764, allocations: 8 kB / 1.326 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/0.3765, allocations: 19.97 kB / 1.326 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.3765, allocations: 0 / 1.326 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.3765, allocations: 4 kB / 1.326 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3765, allocations: 0 / 1.326 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3765, allocations: 0 / 1.326 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005141/0.377, allocations: 243.3 kB / 1.326 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.395e-05/0.3771, allocations: 85.03 kB / 1.326 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.602e-05/0.3771, allocations: 12 kB / 1.326 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001517/0.3773, allocations: 7.984 kB / 1.327 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.772e-05/0.3774, allocations: 27.91 kB / 1.327 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.3774, allocations: 4 kB / 1.327 GB, free: 13.07 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.269e-05/0.3774, allocations: 91.27 kB / 1.327 GB, free: 12.98 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3774, allocations: 4 kB / 1.327 GB, free: 12.97 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002429/0.3777, allocations: 19.95 kB / 1.327 GB, free: 12.95 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.0001367/0.3778, allocations: 99.25 kB / 1.327 GB, free: 12.85 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004956/0.3783, allocations: 107.8 kB / 1.327 GB, free: 12.74 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3783, allocations: 0 / 1.327 GB, free: 12.74 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002336/0.3786, allocations: 59.94 kB / 1.327 GB, free: 12.68 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000414/0.379, allocations: 13.66 kB / 1.327 GB, free: 12.67 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006343/0.3796, allocations: 178.1 kB / 1.327 GB, free: 12.46 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004313/0.38, allocations: 0.6885 MB / 1.328 GB, free: 11.75 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.543e-05/0.3801, allocations: 12 kB / 1.328 GB, free: 11.74 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.145e-05/0.3802, allocations: 19.42 kB / 1.328 GB, free: 11.72 MB / 1.029 GB Notification: Performance of SimCode: time 4.51e-07/0.3802, allocations: 0 / 1.328 GB, free: 11.72 MB / 1.029 GB Notification: Performance of Templates: time 0.005214/0.3854, allocations: 1.591 MB / 1.329 GB, free: 10.14 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/jenkins/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: 9.936130594927818]